All Apps and Add-ons

Issues with Hunk MongoDB App 104

rdagan_splunk
Splunk Employee
Splunk Employee

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

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

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

0 Karma

pptrick
New Member

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.

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

It looks like there is an updated version of the App that fixed the above issues

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

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

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

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

0 Karma
Get Updates on the Splunk Community!

The Splunk Success Framework: Your Guide to Successful Splunk Implementations

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...