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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...