File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
modules/ingest-ecs/src/main/java/org/elasticsearch/ingest/ecs Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ public class EcsNamespacingProcessor extends AbstractProcessor {
5252 KEEP_KEYS = Set .copyOf (keepKeys );
5353 }
5454
55- private static final String AGENT_PREFIX = "agent. " ;
56- private static final String CLOUD_PREFIX = "cloud. " ;
57- private static final String HOST_PREFIX = "host. " ;
55+ private static final String AGENT_PREFIX = "agent" ;
56+ private static final String CLOUD_PREFIX = "cloud" ;
57+ private static final String HOST_PREFIX = "host" ;
5858
5959 private static final String ATTRIBUTES_KEY = "attributes" ;
6060 private static final String RESOURCE_KEY = "resource" ;
@@ -126,7 +126,6 @@ public IngestDocument execute(IngestDocument document) {
126126 return document ;
127127 }
128128
129- @ SuppressWarnings ("unchecked" )
130129 boolean isOTelDocument (Map <String , Object > source ) {
131130 Object resource = source .get (RESOURCE_KEY );
132131 if (resource instanceof Map <?, ?> resourceMap ) {
You can’t perform that action at this time.
0 commit comments