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
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...