Monitoring Splunk

How come Splunkd is crashing whenever I try to install an app using the Splunk user interface?

shayhibah
Path Finder

Hi,

I would like to browse for apps and install app from the Splunk user interface.

For some reason, I get the following error on each app I tried to install:

https://pasteboard.co/HN9gNd6.jpg

I check the status of splunkd on my Splunk server and its down.

Can someone help me to solve this issue?

Thanks

DavidHourani
Super Champion

Are you getting this for all applications or some ?

0 Karma

shayhibah
Path Finder

for all applications

0 Karma

DavidHourani
Super Champion

After Splunk is disabled and you start it back up, is the app installed ? Or are you getting nothing at all ?

0 Karma

shayhibah
Path Finder

getting nothing all

0 Karma

DavidHourani
Super Champion

can you see anything in your _internal logs ? ERROR or WARN logs ?

0 Karma

darrenfuller
Contributor

Short answer:
When you install an app through the UI and the system fails to start again, you need to have the process manually (re)started on your server.

Longer answer:

[Single Search Head]
If this is a single instance or a single search head connecting to one or more Indexers / Index clusters, then someone needs to log into the host and start the Splunk process.

If the host still fails to start, review $SPLUNK_HOME/var/log/splunk/splunkd.log on startup to see what the system is complaining about. To start over, you can delete the app directory from $SPLUNK_HOME/etc/apps/[APPNAME] and restart splunk to start again.

[Search Head Cluster]
If this is a Search Head Cluster, then you can't do what you are trying to do. You cannot install apps through the "Browse for more apps" in the UI. The correct method for deploying apps to a Search Head Cluster is to put the app into $SPLUNK_HOME/etc/shcluster/apps on your Deployer node and then push the app to the search head cluster members

Good luck!

0 Karma

shayhibah
Path Finder

the process stop running as soon as I install apps.
I still do not understand why it stopped every time I install apps - this should not happen at all.
I don't think I need to restart it manually.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...