Getting Data In

error: invalid vector subscript

tsunamii
Path Finder

I installed splunk forwarder on a Windows Server 2008r2 server and it is failing to forward logs. The splunkd.log from the forwarder. It has a repeating error about a pipeline exception:

08-30-2012 12:54:29.309 -0600 ERROR pipeline - Runtime exception in pipeline: parsing, processor: tcp-output-light-forwarder, error: invalid vector subscript
08-30-2012 12:54:29.309 -0600 ERROR splunklogger - Uncaught exception in pipeline execution (tcp-output-light-forwarder) - getting next event
08-30-2012 12:54:29.309 -0600 ERROR pipeline - Runtime exception in pipeline: parsing, processor: tcp-output-light-forwarder, error: invalid vector subscript

0 Karma
1 Solution

splunkIT
Splunk Employee
Splunk Employee

The splunk version is 4.3.

Turns out that there is a typo in the outputs.conf:

[tcpout]
defaultGroup=dc2splunk02
[tcpout:dc2splunk01]
server=dc2splunk02:9997

Notice "[tcpout:dc2splunk01]". it should be "[tcpout:dc2splunk02]"

Correct outputs.conf stanza should be:

[tcpout]
defaultGroup=dc2splunk02
[tcpout:dc2splunk02]
server=dc2splunk02:9997

View solution in original post

splunkIT
Splunk Employee
Splunk Employee

The splunk version is 4.3.

Turns out that there is a typo in the outputs.conf:

[tcpout]
defaultGroup=dc2splunk02
[tcpout:dc2splunk01]
server=dc2splunk02:9997

Notice "[tcpout:dc2splunk01]". it should be "[tcpout:dc2splunk02]"

Correct outputs.conf stanza should be:

[tcpout]
defaultGroup=dc2splunk02
[tcpout:dc2splunk02]
server=dc2splunk02:9997

MarioM
Motivator

which version of Splunk? i am not sure what is your issue but I would try to install a universal forwarder and make sure it has full control on the splunkforwarder folder

0 Karma
Get Updates on the Splunk Community!

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

Introducing the 2024 Splunk MVPs!

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