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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...