Dashboards & Visualizations

using search result output to set title of panel in simple xml

ektasiwani
Communicator

Hyee,

I have some 12 hour data in XML file and i am using that data to plot graph in splunk dashboard.
I want to set the time for which i have first available data as title.

How to get this? i don't want to create any drop down or input field or radio field to set token.
Is there any other way to set token?

Or is there any other way to achieve this.

Thanks

Tags (2)
0 Karma
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

You can add a "Single Value" panel to the dashboard, use the search for the graph as the base, and select only the time field.

<row>
    <panel>
    <single_value>
       <search base="my_search"><query>fields myTime</query></search>
    </single_value>
     <chart>
     <search id="my_search"><query>......</query></search>
     </chart>
 </panel>
 </row>

View solution in original post

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

You can add a "Single Value" panel to the dashboard, use the search for the graph as the base, and select only the time field.

<row>
    <panel>
    <single_value>
       <search base="my_search"><query>fields myTime</query></search>
    </single_value>
     <chart>
     <search id="my_search"><query>......</query></search>
     </chart>
 </panel>
 </row>
0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...