Training + Certification Discussions

Can you help me with with Module 9, Task 6 in Splunk training and certification Fundamentals 1 course?

Grimm1974
New Member

For some reason the Parenthesis on avg(Duration) won't work.

I have entered the answer "index=main sourcetype=db_audit | stats avg(Duration)" but when I enter it, I get an additional set of parenthesis

0 Karma

burwell
SplunkTrust
SplunkTrust

I don't know if this is the paren problem, but Splunk is sensitive to spaces.

For example

index=_internal avg_age=* |  stats avg(avg_age)

If I put a space after avg I get an error

index=_internal avg_age=* |  stats avg (avg_age)

Error in 'stats' command: The argument '(avg_age)' is invalid.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...