This script may take a while to run, especially on a busy podmaster.
Generating Syslog TopN list on node for last 3 hours.
Top 5 hosts for Day: Oct8 between 02:
Noticed this in your duplicate question about IPautomata designer
We are using new IPsoft tool which has two options.
1. Line Filter(JavaScript regex) 2. Match(JavaScript regex)For example if we need to match the alertcount(3124). First filter the line >than match the same. Like that I need to match another two alert count(5495 >and 2747). Please help me to sort it out.
If you are trying to capture the output from a host command state, or any state's OUTPUT variable, you can use the Extract Variable tab:
Name: capture_variable
Line Filter: \s+1\s+.*
Match: .*1\s+(\d+).*
Replace: $1
this will set the capture_variable equal to a multi-line string like this:
3124
5495
2747