Dashboards & Visualizations

set earliest default time in epoch format.

goyals05
Explorer

Hi,

I am setting default time as relative time in time picker.

<input type="time" token="time_token" searchWhenChanged="true">
      <label>Reports Time Picker</label>
      <default>
        <earliest>-3h@h</earliest>
        <latest>now</latest>
      </default>
    </input>

Is it possible to set epoch time of -3hr rather than -3h@h?

1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

kamlesh_vaghela
SplunkTrust
SplunkTrust

HI @goyals05,

Please check @niketnilay's answer to below question.

https://answers.splunk.com/answers/563884/converting-relative-time-into-epoch-for-the-time-r.html

Thanks

goyals05
Explorer

Nice work arond. cheers 🙂

Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...