I want to count number of events in the log file based on a serviceName and then plot them with Counts by ServiceName
Sample LogFile:
<Timestamp> Invoked Service1
<Timestamp> Invoked Service2
<Timestamp> Invoked Service3
<Timestamp> Invoked Service3
<Timestamp> Invoked Service1
<Timestamp> Invoked Service2
<Timestamp> Invoked Service1
I should get the count of invocation by service
If the field ServiceName is already extracted try this
your base search | stats count by ServiceName
OR
your base search | timechart count by ServiceName