Getting Data In

Using Splunk's REST API to build aggregate reports, how do we view results in CDT with the correct time format?

kpkvarma
Engager

We are using Splunk REST API (search/jobs/export) to build aggregated reports.

Splunk server is in EDT, but we want to view the results in CDT. For that, we are using time filters in CDT as earliest_time="2016-06-21T09:00:00-05:00" latest_time="2016-06-21T09:59:59-05:00". The searches are running as per time range, but in the result, _time is populating in EDT with a different format like 2016-06-21 10:00:00.000 EDT

Is there a way to get this _time as per time zone of applied time ranges or any other way to populate _time in a regular Splunk time format like 2016-06-20T13:00:59.878-04:00?

0 Karma

jkat54
SplunkTrust
SplunkTrust

Log into the web user interface as the user you are using to pull the reports, and set the user's timezone to CDT.

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...