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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...