Knowledge Management

summary stats functions call back changed in 5.0.*

yannK
Splunk Employee
Splunk Employee

Before Splunk 5.0.0 , when I had results summarized with stats or timechart, the name of the function was converted using underscores. To call the result back I had to use the "_". This changed with 5.*, to call back you need to use the exact function call.

Example :

  • summary generated with a search like "mysummarysearch"

* | timechart span=1h sum(GB) by source

  • in 4.* to call it back I need

index=summary search_name=mysummarysearch earliest=24h | stats sum(sum_GB_) by source

  • in 5.* to call it back I need

index=summary search_name=mysummarysearch earliest=24h | stats sum(sum(GB)) by source

Tags (1)
1 Solution

yannK
Splunk Employee
Splunk Employee

I had to go over my searches and fix them, they were able to retrieve all my data

View solution in original post

yannK
Splunk Employee
Splunk Employee

I had to go over my searches and fix them, they were able to retrieve all my data

Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...