Splunk Search

Stats extract

nikhilmehra79
Path Finder

I have 3 values extracted from a search Value 1 ,2, and 3

I know i can use stats avg(Value1) by Value3 to get a nice table but how can i throw in Value2 also in a mix.

I wand table with Value 1, Value 2 by Value 3
eg :
Uptime, downtime by Hostname

Tags (4)
0 Karma
1 Solution

lguinn2
Legend

Try

| stats avg(Value1) avg(Value2) by Value3

or whatever you like!

View solution in original post

lguinn2
Legend

Try

| stats avg(Value1) avg(Value2) by Value3

or whatever you like!

Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...