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:
Rank.*?\n.*?\n1\s*(\d+)
Try this.Set flag g.
g
See demo.
http://regex101.com/r/hQ1rP0/58