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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...