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!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...