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

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

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...