All Apps and Add-ons

Custom Visualization "precedence"

TiagoTLD1
Communicator

Hi,

I am about to use the horizon_chart visualization located in on "visualizations app (VIS_APP)" i created, so I copied the structured tree to my app and defined visualizations.con and default.meta in order to use it in order apps.

It works just fine.

But if I had horizon_chart_app installed, my dashboards return an error saying they can't find horizon_chart visualization in VIS_APP. If I disable horizon_chart_app, it returns to work.

What is happening? What makes Splunk look into horizon_chart_app by default even when I tell him to look at one specific app VIS_APP?

Thanks

0 Karma

lourencoa
Engager

Hi Tiago,

I faced the same problem recently and changing the visualization's name inside of my app did the trick. All you have to do is change the name to "horizon_chart_viz", or any other name, as long as it is different from the original visualization's name:

  • Change the visualization stanza inside the "visualizations.conf" file to "[horizon_chart_viz]"
  • Change the visualizations stanza on the "default.meta" file to "[visualizations/horizon_chart_viz]"
  • Change the name of the folder containing the visualization to "horizon_chart_viz" (on /etc/apps//appserver/static/visualizations/)

And you're good to go 🙂

0 Karma

niketn
Legend

@TiagoTLD1 Horizon Chart is one of Splunk's Custom Visualization (similar to inbuilt visualizations but available as individual apps on Splunkbase). This can be either made available only to System app or All Apps from Horizon Chart > App Permission settings:

http://<SplunkDNS>/en-US/manager/permissions/launcher/apps/local/horizon_chart_app

You dont need to explicitly more the files to other folders.

There are several Custom Visualization available on Splunkbase like Timeline Custom Visualization, Punchcard Custom Visualization etc (http://docs.splunk.com/Documentation/CustomViz). In fact Splunk has made Custom Visualization API available since Splunk Enterprise 6.4 onward (current version is supported on 6.5 and 6.6) which you can code as per your needs for any visualization you need (http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomVizDevOverview).

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
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!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...