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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...