-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Automatic Import] Log Format step fails due to invalid processor config generation #198340
Comments
Also mentioned in this email: https://groups.google.com/a/elastic.co/g/dev/c/2Es1xrDmvns/m/a7Skv2fKCAAJ
|
I'm seeing the same behavior for non-FIX format data as well: kvProcessor:
- kv:
field: message
field_split: " "
value_split: =
trim_key: " "
trim_value: " "
target_field: juniper_testing.srx Errors: errors:
- message:
- field [message] does not contain value_split [=]
- message:
- field [message] does not contain value_split [=]
- message:
- field [message] does not contain value_split [=] What's more, an earlier form of the KV processor was actually more accurate for the original logs: Original log sample
kvProcessor:
- kv:
field: message
field_split: " "
value_split: ->
trim_key: " "
trim_value: " "
target_field: juniper_testing.srx errors:
- message:
- field [message] does not contain value_split [->]
- message:
- field [message] does not contain value_split [->]
- message:
- field [message] does not contain value_split [->] It didn't matter in either case for the KV process since the preceding Grok process is invalid and will never produce a grokPattern: "%{MONTH:juniper_testing.srx.month}\\s+%{MONTHDAY:juniper_testing.srx.day}\\s+%{TIME:juniper_testing.srx.time}\\s+%{HOSTNAME:juniper_testing.srx.hostname}\\s+%{WORD:juniper_testing.srx.program}\\s*:\\s*%{GREEDYDATA:message}" Also worth noting these errors above were produced using Anthropic Claude 3.5 v2. If I move to Claude 3.5 v1, I still see errors but due to the Grok expression: grokPattern: "%{SYSLOGTIMESTAMP:juniper_testing.srx.timestamp} %{HOSTNAME:juniper_testing.srx.hostname} %{WORD:juniper_testing.srx.program}:%{GREEDYDATA:message}" From what I can tell, the mistake in the Grok is a single space between
|
with the following connectors:
|
Testing with the log samples from https://github.com/connamara/logstash-filter-fix_protocol. This is a format that looks like it should be supported:
we get the error:
The generated processors are:
and the errors are:
We should take a look into whether this is a correct classification and how to improve these processors.
The text was updated successfully, but these errors were encountered: