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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...