@@ -35,7 +35,7 @@ public void testEventDataset() throws Exception {
35
35
IngestDocument ingestDocument = createIngestDocument ("logs-generic-default" );
36
36
ingestDocument .setFieldValue ("event.dataset" , "foo" );
37
37
38
- RerouteProcessor processor = createRerouteProcessor (List .of ("{{event.dataset}}" ), List .of ());
38
+ RerouteProcessor processor = createRerouteProcessor (List .of ("{{event.dataset }}" ), List .of ());
39
39
processor .execute (ingestDocument );
40
40
assertDataSetFields (ingestDocument , "logs" , "foo" , "default" );
41
41
assertThat (ingestDocument .getFieldValue ("event.dataset" , String .class ), equalTo ("foo" ));
@@ -45,7 +45,7 @@ public void testEventDatasetDottedFieldName() throws Exception {
45
45
IngestDocument ingestDocument = createIngestDocument ("logs-generic-default" );
46
46
ingestDocument .getCtxMap ().put ("event.dataset" , "foo" );
47
47
48
- RerouteProcessor processor = createRerouteProcessor (List .of ("{{event.dataset}}" ), List .of ());
48
+ RerouteProcessor processor = createRerouteProcessor (List .of ("{{ event.dataset}}" ), List .of ());
49
49
processor .execute (ingestDocument );
50
50
assertDataSetFields (ingestDocument , "logs" , "foo" , "default" );
51
51
assertThat (ingestDocument .getCtxMap ().get ("event.dataset" ), equalTo ("foo" ));
@@ -56,7 +56,7 @@ public void testNoDataset() throws Exception {
56
56
IngestDocument ingestDocument = createIngestDocument ("logs-generic-default" );
57
57
ingestDocument .setFieldValue ("ds" , "foo" );
58
58
59
- RerouteProcessor processor = createRerouteProcessor (List .of ("{{ds }}" ), List .of ());
59
+ RerouteProcessor processor = createRerouteProcessor (List .of ("{{ ds }}" ), List .of ());
60
60
processor .execute (ingestDocument );
61
61
assertDataSetFields (ingestDocument , "logs" , "foo" , "default" );
62
62
assertFalse (ingestDocument .hasField ("event.dataset" ));
0 commit comments