How does elasticsearch ingest work in SO #2401
Replies: 2 comments 2 replies
-
I second this. It would really be nice to know how input is hitting ingest files and basic examples of processing. I actually had to redesign all my logging, so logfiles are written to windows eventlog and shipped using winlogbeat. I could not figure out, how to get a basic file beat working. |
Beta Was this translation helpful? Give feedback.
2 replies
-
+1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been struggling to create custom parsing for my firewall logs (non-pfsense), and I think I've found out how an ingest pipeline should be made.
However, what I don't yet understand is how elastic knows which ingest parser to use. All of my firewall logs currently come into the syslog event.module, and I don't know what I should change for them to actually get into my own event.module "sophos_utm".
Do I need to change any other config except for dropping the ingest parser in /opt/so/saltstack/local/salt/elasticsearch/files/ingest/, or is there still something wrong with my parser?
parser for reference:
sophos_utm_ingest.txt
example log message for reference:
sophos_log_redacted.txt
EDIT:
I might have found out that my grok filter is complete garbage, but I am still wondering how elastic knows which parsers to use.
Beta Was this translation helpful? Give feedback.
All reactions