Splunk Search

How can I make transpose work for all more than 5 days of data?

ashidhingra
Path Finder

My actual query as all this data.

ashidhingra_0-1658338219120.png

 


but after i use transpose 

| sort by _time desc
| eval mytime=strftime(_time, "%B %d %Y")
| fields - _* | transpose header_field=mytime

I only see the result for first 5 columns 

ashidhingra_1-1658338252531.png

 



How can i make transpose work for all more than 5days of data

Also is there a way to generically format the color. Because the date changes. 

0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Try this

| transpose 0 header_field=mytime

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Try this

| transpose 0 header_field=mytime
0 Karma

ashidhingra
Path Finder

Thanks @ITWhisperer  you are the best!!

is there a way to generically format the color as the date changes everyday/

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...