After downloading the Hunk MongoDB App we see two issues:
First the App is a .zip file (not .tgz) which can`t be uploaded in the splunk web interface.
Second we see an error The path '/en-US/en-US/app/hunk-app-for-mongodb_104/appserver/static/MongoDBApp.html' was not found
The name of the dashboard should be Documentation. However, if you cannot find it from within the UI, try and find the file Documentation.xml from the command line.
/hunk-app-for-mongodb_104/default/data/ui/views/Documentation.xml
If you modify that file from the command line, you may need to restart hunk
Hi,
While I change App context view to 'hunk-app-for-mongodb_104', I cannot find any object created by this app context.
Please kindly help me find what steps I have missed, thank you.
It looks like there is an updated version of the App that fixed the above issues
1) Extract the hunk-app-for-mongodb_104.zip into /hunk/etc/apps
The full path should look like this /hunk/etc/apps/hunk-app-for-mongodb_104
2) Restart Hunk /hunk/bin/splunk restart
3) From within the Hunk UI go to Settings » User interface » Views
Change the App context to MongoDB App
Select the Documentation dashboard
Modify the iframe path and save the dashboard
Before:
iframe src="/static/app/MongoDBApp/MongoDBApp.html"
After:
iframe /static/app/hunk-app-for-mongodb_104/MongoDBApp.html
In addition to the above I also tried to rename the App directory, and that seems to work.
1) Extract the hunk-app-for-mongodb_104.zip into /hunk/etc/apps
The full path should look like this /hunk/etc/apps/hunk-app-for-mongodb_104
2) run the command mv /hunk/etc/apps/hunk-app-for-mongodb_104 /hunk/etc/apps/MongoDBApp
3) Restart Hunk /hunk/bin/splunk restart