-
Notifications
You must be signed in to change notification settings - Fork 42
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
kv split data within value #12
Comments
I can't reproduce this in a test case: The only fields I see are these:
|
I can't reproduce this with Logstash 1.5.0, either: https://gist.github.com/jordansissel/01d8686b09ef31692fc6 |
I am seeing the same problem with Logstash 2.3.1. I have firewall logs containing key value pairs, where each value is contained in double quotes. If a value contains an = sign as in a URL Logstash splits the value into a key value pair. |
Because the equal sign in the KV pair always comes before a quote, I can differentiate them from the equals sign within the value, so a workaround is to replace them with a different symbol to use as the value_split. This works as long as I never get a URL which contains either an equals-quote anywhere, or the replacement symbol I used below:
|
kv parses just fine values within double quotes (and probably also with single quote). However, it parses the value as key-value if the value contains equal signs. This can be reproduced with an empty kv filter such as:
With the following item, the value in cgfattr get split further and we end up with weird keys in Elastic Search:
The text was updated successfully, but these errors were encountered: