Getting Data In

Splunk Forwarder for Windows won't forward to specific index -- defaults to main

justinong
New Member

Forwarder works properly on initial install. Event logs are successfully exported into Splunk, but end up in the main index.

I modified inputs.conf and added
[default]
index = otherindex

After that, no data is transmitted. I know that the index is there as it is successfully displaying data that is coming in from our Linux hosts. I also tried simply adding index = otherindex under each type of Eventlog with the same results.

Maybe there is some kind of permission that is blocking these Windows hosts from writing to that index? (I'm not the Splunk admin so I don't know what's possible -- I'm merely deploying the client)

0 Karma

justinong
New Member

I'm going to assume there was a bug in the last version -- I downloaded the latest Forwarder and it works as expected now.

0 Karma

Drainy
Champion

Some basic tips which you'd need to clarify if you've tried first;

  1. Changing the inputs.conf requires a restart for the changes to take
    effect
  2. When you say the index is successfully showing data from Linux hosts, is this through a dashboard or by you searching index=otherindex in a search window? By default you won't probably be searching this index when you run searches unless its been added to your role.
  3. Once a forwarder has sent data it won't re-send it unless you clear its fishbucket out, but you should still receive new events - if there have been any

justinong
New Member

I haven't. I only have access to the hosts on which I'm installing the forwarder. I can however make a suggestion to the Splunk admin if we narrow things down. Is there some kind of syntax that can be set to specifically send Windows Eventlogs going to main to another index?

I forgot to mention that I've done this on a couple Windows servers and the behavior is the same on each.

0 Karma

Drainy
Champion

Have you tried setting the index= on the indexer side?

0 Karma

justinong
New Member
  1. Yep. Every time I made a change to any of the conf files I restarted the SplunkForwarder Service.

  2. By searching.

I confirmed that I can do index=existingindex and it'll show things coming in.
I also confirmed that if I do host=windowshost it'll show things coming into main pretty much constantly, and stops when I add the index = line to inputs.conf.

  1. I realize that, when I take the index = line out of inputs.conf and restart the service it starts sending back to main without issue.

It's an odd problem! I swear I'm doing everything by the docs.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...