Getting Data In

One Server; Two Apps; Conflicting WinEventLog:Application settings

MasterOogway
Communicator

I have a single server "abc123" that is part of two separate server classes within a deployment server configuration file, with each server class having a different setting for allowing WinEventLog:Application to be enabled / disabled. The snippet from each class looks like this:

Finger is the Deployment Server root@finger:/opt/splunk/depot># find . -name inputs.conf | xargs grep -A1 WinEventLog:Application

./ecommerce_windows/local/inputs.conf:[WinEventLog:Application] ./ecommerce_windows/local/inputs.conf-disabled = 0

./dsi_windows/local/inputs.conf:[WinEventLog:Application] ./dsi_windows/local/inputs.conf-disabled = 1

When I look for server "abc123" with WinEventLog:Application it appears like dsi_windows App wins out by the disabled = 1 (true) setting. I can't simply enable WinEventLog:Application because the other 50 servers would start to index the same data.

Can you have two separate settings for disable / enable WinEvenLog:Application living in two separate Apps directories? How do you determine who wins out?

pstein

0 Karma
1 Solution

araitz
Splunk Employee
Splunk Employee

Yes, I believe you can. The winner is determined by order of precedence:

http://www.splunk.com/base/Documentation/latest/Admin/Wheretofindtheconfigurationfiles#Order_of_prec...

The easiest way to figure out which one is effective is to use btool:

./splunk cmd btool inputs list

View solution in original post

araitz
Splunk Employee
Splunk Employee

Yes, I believe you can. The winner is determined by order of precedence:

http://www.splunk.com/base/Documentation/latest/Admin/Wheretofindtheconfigurationfiles#Order_of_prec...

The easiest way to figure out which one is effective is to use btool:

./splunk cmd btool inputs list

MasterOogway
Communicator

Great!...so in my case dsi_windows trumps ecommerce_windows dsi_windows = 0/1 based on Alphabetic order.
ARAITZ Rocks!

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...