Refine your search:

0
1

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

asked 28 Oct '10, 19:45

MasterOogway's gravatar image

MasterOogway
1218
accept rate: 0%


One Answer:

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

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

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

./splunk cmd btool inputs list
link

answered 28 Oct '10, 20:13

araitz's gravatar image

araitz ♦♦
7.2k2516
accept rate: 38%

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

(28 Oct '10, 21:30) MasterOogway
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×303
×109
×100

Asked: 28 Oct '10, 19:45

Seen: 583 times

Last updated: 28 Oct '10, 20:13

Copyright © 2005-2012 Splunk, Inc. All rights reserved.