I have records like:
I need to create a report which will tell me how many records per second per switchID.
I tried: index="titan" | timechart per_second(switchID)
But that's not giving the results i need.
looks like I found it :
index="titan" | eval count=1 | timechart per_second(count) as transactions_per_second by SwitchID
it's slow though, can I speed it up in any way?
My best suggestion is to use summary indexing periodically. If you want it in realtime, you're going to need to optimize splunk as much as possible. I also recommend setting up index-time field extraction to help too.