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!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...