NEZ-2268 fix:log relabel配置页面action设置默认值

This commit is contained in:
zyh
2022-10-18 17:04:40 +08:00
parent 8f9370e65f
commit f6c27d6a3b
5 changed files with 5 additions and 6 deletions

View File

@@ -1232,7 +1232,7 @@ export default {
this.editModule.configs[0].config.relabel_config.push({
source_labels: [],
target_label: '',
action: '',
action: 'replace',
regex: '(.*)',
replacement: '$1',
showAllRelabelOption: false
@@ -1258,7 +1258,7 @@ export default {
this.editModule.configs[1].config[index].relabel_config.push({
source_labels: [],
target_label: '',
action: '',
action: 'replace',
regex: '(.*)',
replacement: '$1',
showAllRelabelOption: false