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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...