Hi
I have 4 hosts. Each host collects error logs. Each log consists of a Counter, like so:
2013-12-02 11:23:26,512 INFO type=COUNTER error count=1
So every time there is an error, the count=n part of the log increases.
I want to plot the amount of errors over time. I've set up a field extraction, called ErrorCount, for the number within "count=n". Using max(count), I have used the following search:
"type=COUNTER" ErrorCount=* host=lonrs10000 | timechart max(ErrorCount)
However, I have 3 further hosts, with their own counters running. How can I edit my search to include the other 3 hosts data?
E.g. for a specific day:
the count of errors on host lonrs10000 = 5
the count of errors on host lonrs20000 = 4
the count of errors on host lonrs30000 = 2
the count of errors on host lonrs40000 = 0
The total for this specific day should be 11. I am looking to get the total number of errors as a result from my search.
.
Thanks a lot,
Phil
... View more