|
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? |
|
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. 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? 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.
(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...
showing 5 of 7
show 2 more comments ▼
|