Splunk Search

How do you get a timechart to display local time in Visualization?

tonyclifford
Engager

I have the following query:

host=PRODPLEX  NOT "C:\\WINDOWS\\system32"
| timechart span=1m sum(deltatasks)

The Events for the query show the local time, the visualization shows UTC time.

How do I get a timechart to display local time in Visualization?

0 Karma
1 Solution

whrg
Motivator

Which visualization are you using?

Perhaps you need to set the correct time zone for your user:
Click on your username at the top and then click on Preferences.

View solution in original post

whrg
Motivator

Which visualization are you using?

Perhaps you need to set the correct time zone for your user:
Click on your username at the top and then click on Preferences.

tonyclifford
Engager

I am using a line chart for visualization.
My user was using the default time zone.
The time displayed correctly once I corrected the timezone as per your instructions.
Thanks for your help.

0 Karma

burwell
SplunkTrust
SplunkTrust

@tonyclifford Did you ever solve this problem?

I am actually seeing the opposite problem: sometimes stats by _time on a summary data displays the x-axis in local time. I want UTC time.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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