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.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...