Splunk Search

How to search in real time and append those values in dashboard?

badrinath
Path Finder

Hi all, 

whenever I get a new log I wanted to count of the number of logs for the last 5 min and then append it to a graph. but I should be able to see graph of 1whole day

Labels (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps something like this?

| timechart span=5m distinct_count(source)

 

---
If this reply helps you, Karma would be appreciated.
0 Karma

badrinath
Path Finder

actually I need to do a real time search and append the results to a graph continuously.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That's what should happen using the above.

---
If this reply helps you, Karma would be appreciated.
0 Karma

badrinath
Path Finder

that's correct  but its creating something like buckets of 10min each like 2:00 to 2:10 and then counting in that time range.

but what I need is as soon as I get data lets say at 2:14 it should count the data from 2:04 to 2:14 and then append the count to graph.

when I get new data at 2:16 again it should count from 2:06 to 2:16 and append the count to graph again.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...