Refine your search:

Hi,

Had installed splunk on serverA and serverB and configured both as a forwarder to forward wineventlogs to splunk indexer.

I will like to filter out certain events(eg.540) and I tried doing this on the splunk indexer itself:

/opt/splunk/etc/system/local/props.conf
[WinEventLog:Security]
TRANSFORMS-null = setnull

/opt/splunk/etc/system/local/transforms.conf
[setnull]
REGEX = (?m)^EventCode=540
DEST_KEY = queue
FORMAT = nullQueue

Apparently it still doesn't work after doing a search the events are still shown:
host="serverA" EventCode=540

1) How do I filter out event code 540? Should it be done on the forwarder itself or splunk indexer?

2) How do I filter out event code 540, only on serverA and not serverB?

Thanks.

asked 05 Jul '10, 04:09

apro's gravatar image

apro
89212
accept rate: 20%


2 Answers:

Not sure if anything yet but tried shifting the configuration to the forwarder itself now as mine seems to be a heavy forwarder.

Found this link to be useful: Where do I configure my Splunk settings?

Seems ok but am monitoring it.If it works, it solves my problem of filtering out event codes on one server but not another as well..

link

answered 05 Jul '10, 08:42

apro's gravatar image

apro
89212
accept rate: 20%

Did this ever start working for you?

link

answered 23 Aug '10, 20:50

aaronzabell's gravatar image

aaronzabell
132
accept rate: 75%

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:

×109
×95

Asked: 05 Jul '10, 04:09

Seen: 1,271 times

Last updated: 23 Aug '10, 20:50

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