Splunk Search

How to display the average of each host for a particular search in a timechart?

pavanae
Builder

I have a search as follows

field_id="X" | eval b=len(_raw) | stats sum(b) as b | eval gb=round(b/1024/1024/1024,2) | eventstats avg(gb) as Avg

Which displays the average gb per each day for that particular search.

Now, how can I make to display average of each host for that particular search in a timechart?

0 Karma
1 Solution

gokadroid
Motivator

If host is already a field then


yourBaseSearch
| timechart max(Avg) by host

View solution in original post

0 Karma

gokadroid
Motivator

If host is already a field then


yourBaseSearch
| timechart max(Avg) by host

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...