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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...