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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...