Splunk Search

How to generate chart with 'streamstats' and consecutive 'stats' statements

kiru2992
Path Finder

Hello Everyone!

I have to generate a time chart for a calculated average with below sample query. 

 

Sample Query: 

|streamstats ..... by id

|where....

|eval ...

|eval....

|stats  min(diff) as value1 by id

|stats  avg(value1 ) as valueA  count  as Total

 

I would like to have a time chart for the  'valueA'  with time. I tried various ways to infuse a chart but was not able. Please let me know how to create a chart for the average over time.

 

Labels (2)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...