Let's say I've got a timechart of URLs I'm serving. Over an hour, let's say I served this:
server.com/MYcats.html - 22 hits
server.com/MYdogs.html - 50 hits
server.com/MYrabbits.html - 10 hits
I would like the legend of my timechart to list those colored lines in order of number of hits:
dogs
cats
rabbits
But it sorts alphabetically. Here's [a shortened version of] my search:
index=myindex page_uri=*.html | rex field=page_uri "(?(?i)MY(\d)+)" | timechart count by animal
Can someone help? I've looked through previous answers and haven't found the right thing.
Thanks
... View more