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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...