All Apps and Add-ons

sendresults Sparkline Support

xander517
New Member

Hi all,
In experimenting with sendresults, I noticed that a sparkline is displayed as its raw text in both the Splunk results and the email sent to the designated recipients (formatted as "##_SPARKLINE##,10,1,64..." instead of as the typical green line).

Is anyone aware of sparkline support for sendresults or know a workaround?

Thanks,
AM

Tags (2)
0 Karma
1 Solution

mockd
Path Finder

Hi,

Thank you for trying out the sendresults command!

Sparklines are currently not supported as part of the emailed results. The command is expecting the data as passed to it to be already rendered as either a string or a number.

It would be an interesting feature to get working in a future version.

View solution in original post

mockd
Path Finder

Hi,

Thank you for trying out the sendresults command!

Sparklines are currently not supported as part of the emailed results. The command is expecting the data as passed to it to be already rendered as either a string or a number.

It would be an interesting feature to get working in a future version.

rapmancz
Explorer

Hello, I am using sparklines values in email results, it was perfect like mentioned above - "##_SPARKLINE##,10,1,64..." , but after upgrade to Splunk 6.6, it changed to

"##_SPARKLINE##
10
1
64
..."

so each value is in one row, which is useless... Could it be reverted back to have all results in one line? This failure is for plain text and also html... 😞

0 Karma

mockd
Path Finder

Hi,

Thanks for raising the issue. I will look into what might have changed in 6.6 and get it corrected.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...