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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...