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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...