I have the following chart:
City/Day | Friday | Monday | Thursday | Tuesday | Wednesday
Chicago | Yes | Yes | No | Yes | Yes
Dallas | No | Yes | No | No | No
New York | No | No | Yes | No | Yes
How do I sort or re-organize the columns such that it's not in alphabetical order. i.e.:
City/Day | Monday | Tuesday | Wednesday | Thursday | Friday
Chicago | Yes | Yes | Yes | No | Yes
Dallas | Yes | No | No | No | No
New York | No | No | Yes | Yes | No
Thank you!
To reorder fields here, use the "fields" command:
... | fields "City/Day" Monday Tuesday Wednesday Thursday Friday
I typed with the "space" and "vertical bar" character on the keyboard. If you meant in Splunk, I just used the commands below.
To reorder fields here, use the "fields" command:
... | fields "City/Day" Monday Tuesday Wednesday Thursday Friday
how did you produce the above chart?