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).

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...