Splunk Search

Why can't I plot timechart to investigate seasonality in index data?

POR160893
Builder

Hi,

I am running the following query to check seasonality in my index:
index="ABC
| timechart count by _time | timechart

Error in 'timechart' command: Repeated group-by field '_time'.
The search job has failed due to an error. You may be able view the job in the Job Inspector.However, I am receiving the following error and I do not understand it at all:

Can you please help?
Many thanks!

Labels (2)
Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @POR160893,

timechart has insede the command the grouping by _time so you don't need to explicitate it, in addition you cannot use timechart command without any function:

index="ABC
| timechart count

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...