Splunk Search

Can you add Sparkline instead of a value in tables?

dersa
Path Finder

Hi, I'm wondering if it is possible to add a sparkline instead of a value into a table? I am using the this query:

eventtype="SNMP-Data" host="172.23.1.100" | rex max_match=0 "UCD-SNMP-MIB::mem(?((AvailSwap)|(AvailReal)|(TotalReal))\.\d+\,.*)"  | table  temp  | mvexpand  temp | rex  field=temp "(?\w+)\.""(?\d+)\,""(?\d+)" | chart values(value) over id by metric | rename AvailReal as "Available Memory in kB" AvailSwap as "Available Swap in kB" TotalReal as "Total Memory in kB"

The output looks pretty much like this
alt text

It would be nice if the tables would show a graph rather than the values.

thanks in advanced
Alex

0 Karma

felipesewaybric
Contributor

you can use the sparkline in the stats

ex: stats sparkline(avg(value)) latest(value) by monitor

and if stay like bar, just change in the xml:

<param name="type">sparkline</param>
0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...