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
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 ...