Splunk Search

Changing timechart field name

benny8021
New Member

I could renamed the field of timechart. For example: Changed count to 'YYY' . But,I couldn't renamed the '_time' field,Splunk told me"Error in 'timechart' command: The specifier '_time' is invalid." Can you tell me how to change the '_time' field?

Tags (1)
0 Karma

sideview
SplunkTrust
SplunkTrust

I think you're referring to the fact that in timechart reports, the x-axis title is often "_time" unless it has been changed to something else.

Go back and use report builder again to build and save your timechart, in other words click on 'build report' or 'show report' from the search UI, then on the 'formatting' page of report builder, you'll see little links that will give you 'X-axis' and 'Y-axis' options.

Click each of those and they will allow you to change several things including the x-axis title and y-axis title. In timecharts the x-axis has a default axis title of _time but it can be changed there and when you save the report it will be persisted.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...