Refine your search:

4
2

Windows Server 2003, Windows XP and 2000 generate evt files, where Windows Vista, 2008 Server, Windows 7 generate evtx files. Can Splunk index these files just like any other text file?

asked 16 Jan '10, 08:39

Ledio%20Ago's gravatar image

Ledio Ago ♦
6492413
accept rate: 33%

edited 20 Jan '10, 23:51

Justin%20Grant's gravatar image

Justin Grant
1.5k6739


5 Answers:

Yes. The documentation on how to do this exists here:

http://www.splunk.com/base/Documentation/latest/Admin/MonitorWindowsdata

In short, you can add these files as inputs, but be sure that these files are not being written to while splunk reads it. Also, unlike other log files, using the upload function will not work with these files. Splunk will recognize the file by the file extension .evt or .evtx. Since Splunk utilizes native Windows APIs to extract information from these files, you need to run Splunk on windows.

link

answered 20 Jan '10, 22:58

bchen's gravatar image

bchen ♦
1141
accept rate: 14%

edited 28 Apr '10, 17:23

piebob's gravatar image

piebob ♦♦
2.4k1516

the posted link is broken.

(09 Jun '11, 13:46) the_wolverine ♦

Yes, a Splunk 4 instance running on Windows can index those files. Just add a file monitoring data input and Splunk will decode the event log content. It doesn't work on *nix as far as I know, though.

link

answered 17 Jan '10, 10:45

ziegfried's gravatar image

ziegfried ♦
7.1k1315
accept rate: 52%

Well, they aren't text files at all, so the indexing is a bit different than a log file.

It's sensitive to running on windows, and for best results you want to index them on the host which produced them (for example to expand usernames and the like). For reasonable results the dlls which were involved in creating the events should be availble, which typically means indexing Vista-generated events on Vista, and so on.

The configuration necessary to index them should be just like a traditional text log, simply point a monitor input at the file. I haven't checked how the files are recognized -- by name, by content, or otherwise. Does anyone know?

link

answered 20 Jan '10, 04:09

jrodman's gravatar image

jrodman ♦
5.8k2515
accept rate: 42%

We've had several problems with this issue. Actually the Splunk docs is a bit misleading on this. The only guaranteed method to index Windows Event Logs events is to define a native input on a Splunk instance -could be a (light)forwarder too- on the same windows machine that generate the Events to index (add for instance a [WinEventLog:Application] stanza in inputs.conf).

As you can see from the last updated docs (http://www.splunk.com/base/Documentation/4.1.1/Admin/MonitorWindowsdata), indexing exported evt data has several limitations, due to the Microsoft proprietary way to generate those .evt files, which embed links to the DLLs used to generate them.

So take care when planning a Splunk deployment were there will be several evt files (or data) to index!

Marco Scala

link

answered 27 Apr '10, 12:05

marcoscala's gravatar image

marcoscala
294
accept rate: 14%

Splunk 1.4.1 x64 win32. Splunk can't index evt/evtx files due to binary...why???

link

answered 23 Aug '10, 11:56

nvoitov's gravatar image

nvoitov
1
accept rate: 0%

Please edit and clarify what version of Splunk you're talking about. Better yet, it sounds to me like you have a new question, so you should probably post new, rather than an answer to this one.

(23 Aug '10, 15:17) gkanapathy ♦
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:

×108
×3
×1

Asked: 16 Jan '10, 08:39

Seen: 4,229 times

Last updated: 09 Jun '11, 13:46

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