From 7b3bcd4cb65d86a5a007f07a476843c2b4a8ca14 Mon Sep 17 00:00:00 2001 From: Khushi Jain Date: Mon, 4 Nov 2024 21:28:47 +0530 Subject: [PATCH] skip mandatory fields --- libbeat/processors/actions/lowercase_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/processors/actions/lowercase_test.go b/libbeat/processors/actions/lowercase_test.go index 70e1ca60a5c..19ce376714a 100644 --- a/libbeat/processors/actions/lowercase_test.go +++ b/libbeat/processors/actions/lowercase_test.go @@ -32,7 +32,7 @@ import ( func TestNewLowerCaseProcessor(t *testing.T) { c := conf.MustNewConfigFrom( mapstr.M{ - "fields": []string{"field1", "type", "field2", "TypeInput"}, // "type" is our mandatory field + "fields": []string{"field1", "type", "field2", "type.value.key"}, // "type" is our mandatory field "ignore_missing": true, "fail_on_error": false, },