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!

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 ...