CloudWatch Logs: Hide internal logs field (#114121)

This commit is contained in:
Kevin Yu
2025-11-19 07:00:03 -08:00
committed by GitHub
parent 40fb421556
commit a6343d7a68
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -109,7 +109,8 @@ func logsResultsToDataframes(response *cloudwatchlogs.GetQueryResultsOutput, gro
newFields[len(newFields)-1].SetConfig(
&data.FieldConfig{
Custom: map[string]any{
"hidden": true,
"hidden": true,
"hideFrom": map[string]any{"viz": true},
},
},
)
+4 -2
View File
@@ -169,7 +169,8 @@ func TestLogsResultsToDataframes(t *testing.T) {
})
hiddenLogStreamField.SetConfig(&data.FieldConfig{
Custom: map[string]any{
"hidden": true,
"hidden": true,
"hideFrom": map[string]any{"viz": true},
},
})
@@ -180,7 +181,8 @@ func TestLogsResultsToDataframes(t *testing.T) {
})
hiddenLogField.SetConfig(&data.FieldConfig{
Custom: map[string]any{
"hidden": true,
"hidden": true,
"hideFrom": map[string]any{"viz": true},
},
})