Splunk Search

add dynamic overlays to chart

devsplunkid
New Member

Just wondering if there's a way to get a handle to the Highcharts javascript object that might have been created when generating the splunk chart? I was hoping to be able to dynamically show and hide additional overlays on a specific chart via javascript.

Tags (1)
0 Karma

devsplunkid
New Member

Was able to find the handle. For any that might be looking, the container seems to be the div[data-highcharts-chart] tag.

From custom javascript included in the SimpleXML:

var thehcobject = $('#mychartid div[data-highcharts-chart]').first().highcharts();
0 Karma

richgalloway
SplunkTrust
SplunkTrust

@devsplunkid If your problem is resolved, please accept the answer to help future readers.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

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

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...