Splunk Search

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

maverick
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

Paolo_Prigione
Builder

Shouldn't that be

sma5(count) 

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

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...