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!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...