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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...