Refine your search:

Does not make it clear here:

Can Splunk index Windows Event Log(evt,evtx) files? on Splunk Answers

Does this absolutely have to be a windows forwarder?

asked 10 Jul '12, 09:05

r999's gravatar image

r999
201116
accept rate: 0%

edited 10 Jul '12, 09:05


One Answer:

Unfortunately yes - event files are actually binary and Splunk needs to utilize native Windows APIs to extract information from these files, you need to run Splunk on windows.

@Kate

link

answered 10 Jul '12, 12:08

Kate_Lawrence-Gupta's gravatar image

Kate_Lawrenc...
289124
accept rate: 7%

additional details: 07-10-2012 11:36:11.180 -0700 INFO TailingProcessor - Ignoring file '/home/Chubbybunny/tmp/Sec_EVT.evt' due to: binary

(10 Jul '12, 12:19) Chubbybunny

i just tried on a windows universal forwader, forwading to a linux indexer.

the forwarder has read the file and sent to indexer but it has indexed in its binary format:

4:53:58.000 AM

x00x1x00x4x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00x00+x2!x00x4x000x00t'0@x00x00x00x00......... etc!

Does the indexer have to be windows too!!!?

(11 Jul '12, 09:31) r999

well the universal forwarder will just forwarder data and NOT parse it (i.e. run it through the props/transforms actions) so it will not have the api available to parse and the linux indexer will not have the api either...so.

I'd recommend a heavy forwarder (or basically a full splunk instance with the web turned off) on the windows host in this case so that you can parse the data at read time and then forward it over already cooked to the linux indexer.

(11 Jul '12, 09:56) Kate_Lawrenc...

thanks. i have tried with full splunk. still the same. do i need to configure anything special in inputs, props or transforms.conf to make sure it cooks the data first... i only have inputs.conf.

do i need to do something different in inputs.conf?
[monitor://$SPLUNK_HOMEevtmon recursive = false sourcetype = sevtx index = indevtx

i tried [WinEventLog://$SPLUNK_HOMEevtmon but nothing gets forwarded

(11 Jul '12, 14:02) r999

@bob999: try configuring your Windows forwarder to use an input like so.

[monitor://c:\import_exported_EVT\] 
host_segment = 3 
recursive = true 
queue = winparsing 
crcSalt = <source>
(11 Jul '12, 14:18) Chubbybunny

No this didnt work either. there must be some config to tell it to cook the data? the queue = winparsing didint work.

(12 Jul '12, 01:04) r999

Hmm...OK maybe we could tackle this in a different way.

The next things I'd try doing is going back to the universal forwarder on the windows boxens, and then a windows(there seem to be differing comments on whether it will work on linux) indexer with the http://splunk-base.splunk.com/apps/22315/splunk-app-for-windows app loaded? This might be able to read those EVT files correctly?

It definitely sounds like an API related issue that the forwarder can't parse the files so the indexer is likely rejecting it as binary input. Maybe with the app on the indexer will do the trick.

(16 Jul '12, 07:55) Kate_Lawrenc...
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:

×447
×7

Asked: 10 Jul '12, 09:05

Seen: 634 times

Last updated: 16 Jul '12, 07:55

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