Splunk Search

avg many fields

jip31
Motivator

HELLO

I try to do an avg on multiple fields but i dont succeed
for one field i use this / stats avg(ReadOperationCount) BY host
but if i want to do the same for 2 fields (toto for example), how to do please????

Tags (1)
0 Karma
1 Solution

renjith_nair
Legend

Hi @jip31 ,

Are you looking for something similar to stats avg(ReadOperationCount),avg(toto),avg(abc) BY host ?

Happy Splunking!

View solution in original post

0 Karma

renjith_nair
Legend

Hi @jip31 ,

Are you looking for something similar to stats avg(ReadOperationCount),avg(toto),avg(abc) BY host ?

Happy Splunking!
0 Karma

jip31
Motivator

hi yes it works thanks!

0 Karma

renjith_nair
Legend

@jip31,glad to know. Converted the comment as answer so that you could accept it

Happy Splunking!
0 Karma
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 ...