Dashboards & Visualizations

Why does the Sparkline looks flat sometimes?

robertlynch2020
Influencer

Hi

I have a 15 minute real time search creating a sparkling and it looks great when it works.

However often it looks like this, flat and i am not sure why.
alt text

I use this for the SPLUNK_HOME page so many user can log in. So i have created a savedsearch that is Real-Time

| savedsearch HOME_LIVE_EVENTS_SPARKLINE (This is a 15 minute real time search)

This is a

index=mlc_live  | table host | chart sparkline count by host | fields - count (This is a 15 minute real time search)

Any ideas how to get it to work 100% of the time.

Rob

0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

@robertlynch2020

Just added _time .

Can you please try this?

index=mlc_live | table host _time | chart sparkline count by host | fields - count 

_time is required for sparkline.

Happy Splunking

View solution in original post

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@robertlynch2020

Just added _time .

Can you please try this?

index=mlc_live | table host _time | chart sparkline count by host | fields - count 

_time is required for sparkline.

Happy Splunking

0 Karma

robertlynch2020
Influencer

Perfect thanks 🙂

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

Great @robertlynch2020
Can you please upvote and accept this answer to close question?

0 Karma

robertlynch2020
Influencer

Sure - sorry and thanks very much

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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