Dashboards & Visualizations

Something like ResultsHeader in simple-xml

imrago
Contributor

In advanced xml I was using a lot the ResultsHeader module, amongst others it is showing nicely the "earliest" and "latest" in human readable format. How could I reproduce something like that in simple xml?

0 Karma
1 Solution

imrago
Contributor

I solved the problem based on an answer from Ayn in this question and presented it with a SingleValue component:

... | addinfo | eval selection_duration=strftime(info_min_time,"%+") . " - " . strftime(info_max_time,"%+") | table selection_duration

http://answers.splunk.com/answers/49539/variables-indicating-the-time-range-of-the-interactive-searc...

View solution in original post

0 Karma

imrago
Contributor

I solved the problem based on an answer from Ayn in this question and presented it with a SingleValue component:

... | addinfo | eval selection_duration=strftime(info_min_time,"%+") . " - " . strftime(info_max_time,"%+") | table selection_duration

http://answers.splunk.com/answers/49539/variables-indicating-the-time-range-of-the-interactive-searc...

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...