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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...