I'm trying to send a couple of files through Filebeat to a ELK stack. The thing is that the log syntax is not the same, so I came up with two different patterns that mach each of them separately.
I've tried different syntaxis for the "filter" part of the Logstash config file, but none of them seem to work, because I always get the _grokparsefailure flag (which, from what I've read, appears if the string does not match any of the patterns).
I've tried the patterns in the Grok Debugger, and they are working, so I guess I'm not specifying them correctly in the config file. Here's the config file with the patterns, and some examples for both.
Edit: I'm sorry, this post was published by mistake, as I didn't have access to all the files at the time, and I can't figure out how to delete it. If some admin/mod can remove it for me, it is perfectly fine.