Dashboards & Visualizations

Form to choose and compare two time ranges while excluding part of it

bluei
Explorer

Hi,

I need to create a form that would help to compare app's behaviour before and after version upgrade.

I can compare two time ranges, but have problem with the following additional requests for this form :

  • Give users ability to choose upgrade date
  • Give users ability to choose time range to compare (before and after the upgrade)
  • Exclude chosen upgrade date from the search (or it's results, at least)

Is this possible (preferably with simple XML)?

Tags (3)
0 Karma

woodcock
Esteemed Legend

If you have one control that is the standard timepicker to select the overall range for the earliest and latest bounds for the search and then another control for the moment of the upgrade and lastly a dropdown for the +/- range like this:

<input type="dropdown" token="delta_token">
  <label>Interval-Span/Bucket-Size</label>
  <choice value="300">5 minutes</choice>
  <choice value="900">15 minutes</choice>
  <choice value="1800">30 minutes</choice>
  <choice value="3600">1 hour</choice>
  <choice value="7200">2 hours</choice>
  <choice value="21600">6 hours</choice>
  <choice value="864000">1 day</choice>
  <default>15 minutes</default>
</input>

Then you would have your search include this to drop out the near-the-upgrade data:

... _time <= ($upgrade_time_token$ - $delta_token$) _time >= ($upgrade_time_token$ + $delta_token$) ...
0 Karma

bluei
Explorer

Thank you, woodcock

Ended up with the standard timepicker for choosing the desired timeframe, dropdowns to choose upgrade date, and exclusion of that date from the results.

Not as polished as it was meant to be initially, but does the job.

0 Karma

woodcock
Esteemed Legend

I am glad it worked out; you should "Answer" the question to close it out since you have a solution that works.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...