Getting Data In

What is the best practice for data structure of Wineventlog?

anandhalagarasa
Path Finder

We are ingesting wineventlog into Splunk Cloud from all our client servers.
And the majority of the ingested data seems to be in XML format and few hosts are reporting with normal log structure.

So I want to know whether we can ingest the data in XML format itself or can I modify it to the normal structure by adding some stanza in the input .conf file of the wineventlog app.

Which one would be considered as a best practice and a recommended one as well?

0 Karma

jacobpevans
Motivator

Greetings @anandhalagarasan,

The inputs.conf command you are looking for is:

renderXML = false or
renderXML = true under a stanza similar to this:

[WinEventLog://Application] or
[WinEventLog://Security], etc.

See more information here: https://docs.splunk.com/Documentation/WindowsAddOn/latest/User/Configuration

I can't comment on best practice. It's up to you and your environment as to which one works better for you - the important thing is to be consistent (ideally using a deployment server). We do not render XML since most of our users are more familiar with the standard way Windows displays Windows Events.

Cheers,
Jacob

If you feel this response answered your question, please do not forget to mark it as such. If it did not, but you do have the answer, feel free to answer your own post and accept that as the answer.
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi anandhalagarasan,
how do you configured your input, do you used TA_Windows?
if not, use TA_Windows, if yes, please share inputs.conf.
Bye.
Giuseppe

0 Karma

anandhalagarasa
Path Finder

Kindly help on this request.

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...