Skip to content

Commit b5125d5

Browse files
committed
Log
1 parent 2226323 commit b5125d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public IngestDocument execute(IngestDocument ingestDocument) throws Exception {
7575

7676
Map<String, Object> matches = grok.captures(fieldValue);
7777
if (matches == null) {
78+
logger.warn(">[{}] Grok expressions do not match field value: [{}]", tag, fieldValue);
7879
throw new IllegalArgumentException("Provided Grok expressions do not match field value: [" + fieldValue + "]");
7980
}
8081

0 commit comments

Comments
 (0)