Security

Custom visualization not showing in Splunk Web

lydiapal_splunk
Splunk Employee
Splunk Employee

Hi,
I have been followed the exact instructions on CustomVizTutorial,
but instead of using the name "radial_meter" I have used "singlevalue_custom" name where ever it appears.
I have successfully "built" the viz:

> singlevalue_custom@1.0.0 build /Applications/Splunk/share/splunk/app_templates/viz_tutorial_app/appserver/static/visualizations/singlevalue_custom
> $SPLUNK_HOME/bin/splunk cmd node ./node_modules/webpack/bin/webpack.js

Hash: de8ed89a2bc45d3aadee
Version: webpack 1.15.0
Time: 618ms
           Asset    Size  Chunks             Chunk Names
visualization.js  678 kB       0  [emitted]  main
   [0] ./src/visualization_source.js 3.04 kB {0} [built]
    + 6 hidden modules

Now at Try out the visualization , I still cannot see it in my Search app > search > visualizations.
What are the reasons why this might happen?

Many thanks!

1 Solution

lydiapal_splunk
Splunk Employee
Splunk Employee

So I finally found an answer to this:
At step https://docs.splunk.com/Documentation/Splunk/7.2.4/AdvancedDev/CustomVizTutorial#Build_the_app you should actually unzip the template in your apps folder /etc/apps instead, not the /app_templates folder, or alternatively create a new app and place it there.
The documentation is misleading..

View solution in original post

lydiapal_splunk
Splunk Employee
Splunk Employee

So I finally found an answer to this:
At step https://docs.splunk.com/Documentation/Splunk/7.2.4/AdvancedDev/CustomVizTutorial#Build_the_app you should actually unzip the template in your apps folder /etc/apps instead, not the /app_templates folder, or alternatively create a new app and place it there.
The documentation is misleading..

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 ...