Building for the Splunk Platform

How do i set initial time to date time picker from search event

nikkkc
Path Finder

Hi there,
Can someone help me to set a default time on a timepicker (dashboard view) from an search result?
Like it is possible in dropdown...

Or is it possible to set the time on a timepicker dynamically from dropdown value? I would like to give the user the oportunity to preselect the available dates before i fill up the dashboard view.
Thanks in advance
cheers Nik

Tags (1)
0 Karma

niketn
Legend

Can you please clarify timepicker (dashboard view) from an search result?
Are you trying to link two dashboards together through a drilldown? For example Search running in Dashboard 1 should drilldown to Dashboard 2 using drilldown when user clicks on either a table row or chart?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

gcusello
Esteemed Legend

Hi nikkkc,
You can pre select some dates related to roles so users can find them in the top part of the Time Picker.
To do this go in [Settings -- User Interface -- Time defaults]
Bye.
Giuseppe

0 Karma

nikkkc
Path Finder

Hi,
Thanks for your reply but time zone is not what i need. i have some indexed data on different days and a user should able to select data from 20170703 or from 20170625 and so on....

0 Karma

gcusello
Esteemed Legend

Hi nikkkc,
Sorry, I wasn't so clear!
I'm not speaking about time zones, it's possible to set some defaults for "Time ranges" that are displayed in the Presets of the Time picker.

To do this go in [Settings -- User Interface -- Time Ranges] and set e.g.:

  • two days ago earliest -2d@d latest -d@d
  • three days ago earliest -3d@d latest -2d@d
  • ...

I's also possible (but not so easy) replace Time picker with a dropdown list of dates extracted from your logs or from a lookup.

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Unify Your SecOps with Splunk Mission Control

In today’s post, I'm excited to share some recent Splunk Mission Control innovations. With Splunk Mission ...

Data Preparation Made Easy: SPL2 for Edge Processor

By now, you may have heard the exciting news that Edge Processor, the easy-to-use Splunk data preparation tool ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...