Splunk Search

How to animate data over time?

mbintz
Explorer

The word "animate" doesn't show up at all across all of answers.splunk.com so I assume the short answer is "no".

But can anyone think of a relatively easy way to generate an animation of a chart over time?

Basically, I want to do something to the effect of:

<somequery> { across start=-72h@h to end=@h in buckets of 1h } | timechart span=5m avg(someval) by something | animate

I suspect I'll need to do this in Python. So in anticipation of the answer: can I extract a visualization from a python query as a PNG?

Imjusttesting
Explorer

Hey @mbintz,

Are you able to get the animation work ?

I'm searching for something similar too

0 Karma

jplumsdaine22
Influencer

There are no prebuilt animated charts. But you can extend Splunk to take advantage of 3rd party visualisation libraries like http://www.chartjs.org/ or https://d3js.org/

There's a developer turtoial here: http://dev.splunk.com/view/SP-CAAAEQ8 and plenty of questions in Splunk Answers (try searching for "Custom Viz")

There's a bit of html but the tutorial is pretty good at walking you through it.

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 ...