I'd like to ask for help on writing a processor configuration to do the following:
filter on keyword from the event log message (example the application event log message has the word(s)/phrase - "forcibly closed")
include the event in the output file
Or
-filter on keyword
include the event in the output file plus,
run a powershell script as an extra step it has to do
Can someone give me the actual yml section script for doing this task ?
I could not find more guides for creating filtering/processing scripts for winlogbeat. Please direct me to an online article, ebook or guide to learn more and become an expert in beats/winlogbeats configuration and processing/filtering because we have a huge Windows farm.
You cannot execute a script. What did you want to accomplish with the script? We are currently considering a feature that would allow invoking a script to collect additional information that should be added to the event. This feature is discussed here: https://github.com/elastic/beats/issues/2186
You can write your own processor in Go and use it with Beats if you compile your own version of the beat.
However, I really wanted to pass all events to a file and at the same time trigger for any special event by keyword. I'm trying to send an alert once there is a mission critical problem and is evident by the presence of an event log entry.
It seems that I cannot do the filtering/triggering right up-front from the onset of the creation of the event log.
Which part of ELK will be able to do trigger an alarm (like send mail) in an event there is a keyword match ?
This is provided by Watcher which is part of X-Pack. You can setup a watch that will send an email (or take some other action) when there is a keyword match. X-pack is free to try, some features require a subscription after the trial period
I'm not sure what you mean. What feature in Windows can trigger events (actions?) based on event ID?
We don't this feature scheduled in any release yet. It is still being evaluated and considered. It is not a generic processor for execute scripts. It's for adding time-invariant metadata to events.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.