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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...