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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...