Splunk Search

Is there a way to reverse comparison order of week over week results using timewrap?

Engager

I am using timewrap to return week over week results. I need to be able to change the order of comparison from week1, week2, week3 to show as week3, week2, week1. Is there a way to change the comparison order with timewrap?
Thanks.

0 Karma

Community Manager
Community Manager

Hi @DaveAsh

Would you be able to use the reverse command to get what you need? You can try adding it to the end of your search like so:

... | reverse

Here's the documentation on the reverse command:
http://docs.splunk.com/Documentation/Splunk/6.1.3/SearchReference/Reverse

0 Karma

Community Manager
Community Manager

Ahh I see what you mean. I'm not very familiar with the Timewrap app as I haven't used it myself, but from looking at the images of the app on apps.splunk.com, you want to change the order of the legend on the right side?

0 Karma

Engager

Thank you ppablo, While I tried reverse it doesn't do what I need. It does reverse the week, but the lay out is still the same. Lets say the colors returned from timewrap are blue-this week, yellow-last week, red-2 weeks ago, purple-3 weeks ago. I would like the results to be purple-3 weeks ago, red-2 weeks ago, yellow- last week, and blue- this week. Just changing the order of the weeks.

Does that make any better sense? Thanks.

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!