Splunk Search

Add a (sparkline) to a (table)

albyva
Communicator

Is it possible to add a sparkline to a table? Most examples list stats or charts, but nothing about tables, which makes me wonder if it's even possible.

How would you add a sparkline to the following so that my simple bandwidth search yields
a nice little graphic on the same table output?

index=generic
| eval bandwidth=round(bytes/1024)
| table bandwidth

Thanks,

0 Karma
1 Solution

somesoni2
Revered Legend

No..its not possible to add sparkline to a table. A Sparkline in iteself is a graph and requires multiple points(series of values) to be shown. Table provides only one value. That is why its used with statistical commands such as chart/stats.

View solution in original post

timmalos
Communicator
0 Karma

somesoni2
Revered Legend

No..its not possible to add sparkline to a table. A Sparkline in iteself is a graph and requires multiple points(series of values) to be shown. Table provides only one value. That is why its used with statistical commands such as chart/stats.

albyva
Communicator

Thanks Someoni2. That is what I feared. Time for a little revision.

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...