Monitoring Splunk

sometimes splunkd process dies automatically and does not start again.

asingla
Communicator

It happened twice with me now. I stop and start the splunk, splunkd and splunkweb starts but splunkd process dies immediately. I keep trying stop and start but same thing happens. I don't see any error in any of the log files. /var/log/splunk/.

After almost 20-30 minutes if I try, everything works.

Tags (1)
0 Karma

asingla
Communicator

I think the reason was I was using transformation. I need to reset the source/source-type based on data in the messages. To do that I used RegEx. It started crashing when the message load increased. Looks like it increased the indexing time and may be queue was full or something. I removed that and this didn't happen again. But the strange thing is there is nothing in the logs.

The above logic is a guess though.

0 Karma

Sqig
Path Finder

After you do a splunk stop, do a ps -ef and grep for splunk. If you see a python process running, you'll need to kill that, since that sometimes doesn't die and will prevent Splunk from coming back up again.

If this isn't the issue, seeing the actual log entries from the time it dies would help. 🙂

0 Karma

asingla
Communicator

It happened again. This times it died automatically while running. I greped on python process and found root.py script with parameter restart. I killed the splunk process and the process got killed too. I tried to start again. Same thing is happening as I mentioned in my last post. splunkd process starts and dies. I don't see anything in the log.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...