All Apps and Add-ons

Splunk Stream: Why is streamfwd failing to start on Linux?

sloshburch
Ultra Champion

streamfwd is working well on my Windows machines but not on my Amazon Linux AMI instances. Only using the 'defaultgroup' for Distributed Forwarder Management within Splunk Stream App UI. Pushing out the Stream TA with the Deployment Server.

Splunk is not running on root so I followed these instructions while logged in as the splunk process owner: http://docs.splunk.com/Documentation/StreamApp/latest/DeployStreamApp/InstallSplunkAppforStream#Set_...

Seeing stuff like this in streamfwd.log (nothing catching my eye in splunkd.log): FATAL [139868534323072] (main.cpp:1149) stream.main - Failed to start streamfwd, the process will be terminated: No <stanza> found in <configuration>

I've also tried setting streamfwd.conf as follows to capture all interfaces:

[streamfwd]
    streamfwdcapture.0.interfaceRegex = .*

Anyone experienced this or have expertise on this? Thanks ahead of time!

0 Karma
1 Solution

sloshburch
Ultra Champion

So embarrassing but I forgot to put disabled = false in the inputs. Obviously changing that fixed this...

View solution in original post

0 Karma

sloshburch
Ultra Champion

So embarrassing but I forgot to put disabled = false in the inputs. Obviously changing that fixed this...

View solution in original post

0 Karma

vshcherbakov_sp
Splunk Employee
Splunk Employee

do you have the inputs.conf configured for the Stream TA?

0 Karma

sloshburch
Ultra Champion

I do! Sorry for not being clear on that, but I thought it was implied by the fact that I am in fact getting data from the Windows machines, just not the Linux ones.

In case it helps, here's what I'm rocking so far:

[streamfwd://streamfwd]
splunk_stream_app_location = https://awesomeurlhere:coolport/en-us/custom/splunk_app_stream/
stream_forwarder_id = 
index = cool_index_here
0 Karma

vshcherbakov_sp
Splunk Employee
Splunk Employee

Sorry got sidetracked. Seems like it would be easier to troubleshoot this issue over webex. Please ping me directly or in the Stream hipchat room.

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!