Dashboards & Visualizations

How to use XML tags to preset 3 tables with different 1 hour time ranges?

vtsguerrero
Contributor

Hello everybody! Sup?
Does anyone know how can I use the XML tags and if I have three tables which should be ( From 10am to 11am ) , ( From 11am to 12am ) and ( From 13am to 14am ) I mean I know there is the timePicker component but these times should be fixed per table, how do I use these tags in this case?
Thanks in Advance!!

Tags (2)
1 Solution

somesoni2
Revered Legend

If you're showing data for current day only (and these 3 panels shows data for different hours for today, then you can use something like this

For today 10 AM to 11 AM
  <earliestTime>@d+10h<earliestTime>
  <earliestTime>@d+11h<earliestTime>

For today 11 AM to 12 PM
  <earliestTime>@d+11h<earliestTime>
  <earliestTime>@d+12h<earliestTime>
....
...And So on

View solution in original post

somesoni2
Revered Legend

If you're showing data for current day only (and these 3 panels shows data for different hours for today, then you can use something like this

For today 10 AM to 11 AM
  <earliestTime>@d+10h<earliestTime>
  <earliestTime>@d+11h<earliestTime>

For today 11 AM to 12 PM
  <earliestTime>@d+11h<earliestTime>
  <earliestTime>@d+12h<earliestTime>
....
...And So on

vtsguerrero
Contributor

Thanks a lot! You really helped me! 😄

somesoni2
Revered Legend

You want to preset the hours for the current day or any day/range of days selected ?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...