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!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...