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!

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 ...