Skip to content

Commit af4d865

Browse files
committed
Change label to lowercase
1 parent d3e1e33 commit af4d865

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/CefParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ enum DataType {
163163
entry("c6a3", new ExtensionMapping("deviceCustomIPv6Address3", IPType, null)),
164164
entry("c6a3Label", new ExtensionMapping("deviceCustomIPv6Address3Label", StringType, null)),
165165
entry("c6a4", new ExtensionMapping("deviceCustomIPv6Address4", IPType, null)),
166-
entry("C6a4Label", new ExtensionMapping("deviceCustomIPv6Address4Label", StringType, null)),
166+
entry("c6a4Label", new ExtensionMapping("deviceCustomIPv6Address4Label", StringType, null)),
167167
entry("cn1", new ExtensionMapping("deviceCustomNumber1", LongType, null)),
168168
entry("cn1Label", new ExtensionMapping("deviceCustomNumber1Label", StringType, null)),
169169
entry("cn2", new ExtensionMapping("deviceCustomNumber2", LongType, null)),

modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/CefProcessorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ public void testAllFieldsInExtension() {
715715
+ "deviceCustomDate1=1622547800000 deviceCustomDate1Label=customDate1Label deviceCustomDate2=1622547900000 "
716716
+ "deviceCustomDate2Label=customDate2Label cfp1=1.23 cfp2=2.34 cfp2Label=cfp2Label cfp3=3.45 cfp4=4.56 c6a1=2001:db8::1 "
717717
+ "c6a1Label=c6a1Label c6a2=2001:db8::2 c6a2Label=c6a2Label c6a3=2001:db8::3 c6a3Label=c6a3Label c6a4=2001:db8::4 "
718-
+ "C6a4Label=c6a4Label cn1=123 cn1Label=cn1Label cn2=234 cn2Label=cn2Label cn3=345 cn3Label=cn3Label cs1=customString1 "
718+
+ "c6a4Label=c6a4Label cn1=123 cn1Label=cn1Label cn2=234 cn2Label=cn2Label cn3=345 cn3Label=cn3Label cs1=customString1 "
719719
+ "cs1Label=cs1Label cs2=customString2 cs2Label=cs2Label cs3=customString3 cs3Label=cs3Label "
720720
+ "cs4=customString4 cs4Label=cs4Label "
721721
+ "cs5=customString5 cs5Label=cs5Label cs6=customString6 cs6Label=cs6Label deviceDirection=inbound deviceDnsDomain=example.com "

0 commit comments

Comments
 (0)