Splunk Search

Error: Trendline command: invalid Trendline period for 'sma(count)'

Splunk Employee
Splunk Employee

I am running the following search in the Splunk Search GUI:

* daysago=30  |timechart count| trendline sma(count)as thecount

and I am receiving an error in red that says the trendline has an invalid trendline period for argument 'sma(count)'

Does anyone know what this means and, hopefully, how to correct?

0 Karma


Shouldn't that be


with 5 (or other) being the window used for the average?

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...