All Apps and Add-ons

Nix App netstat.sh line breaking on some servers

glitchcowboy
Path Finder

I've got the nix app running on my search head, and 300 or so nix Forwarders sending data in. On some of the forwarders, the netstat.sh output gets broken into one event per line in a search, but the others have a single event per netstat.sh run.

This is consistent whether the OS is AIX or RHEL.

Has anyone ever seen this before?

Tags (2)
0 Karma
1 Solution

glitchcowboy
Path Finder

It took me several days to find it (with the expert leading of mlanghor).

Turns out that the unix app was disabled on the indexers, so they didn't know about the props.conf settings used to parse the netstat.sh input.

The key troubleshooting tip was:

$SPLUNK_HOME/bin/splunk cmd btool props list --debug netstat

On a test indexer I built just for troubleshooting this, it returns data about the netstat props config. On my production indexer, I got a blank stare (no output).

View solution in original post

glitchcowboy
Path Finder

It took me several days to find it (with the expert leading of mlanghor).

Turns out that the unix app was disabled on the indexers, so they didn't know about the props.conf settings used to parse the netstat.sh input.

The key troubleshooting tip was:

$SPLUNK_HOME/bin/splunk cmd btool props list --debug netstat

On a test indexer I built just for troubleshooting this, it returns data about the netstat props config. On my production indexer, I got a blank stare (no output).

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...