Getting Data In

Fetching and Filtering Windows Application Logs on App/Eventlog base

tfechner
Path Finder

Hi,

 

we like to fetch application logs from a windows server  which are stored Windows Event Store in windows-application.

Windows Application Event Log Name : MSSQL_xxx
 Windows Event Log Source : XYX

I found:

https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/MonitorWindowseventlogdata#Specify_glo...

But is there a possibility to filter in the input-stanza like this

[WinEventLog://Application/MSSQL_xxx]
include = XYX
renderXml=1
sourcetype=XmlWinEventLog

 

Thanks.

Labels (3)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

No. The other field 🙂

PickleRick_0-1638863254440.png

 

View solution in original post

PickleRick
SplunkTrust
SplunkTrust

Yes, you can do it. You just need the name of the Log.

You browse in your Event Viewer to the log, click RMB on it, get into properties. And there you have field called "Full Name". That's what you need to put in your WinEventLog:// stanza.

Sometimes the name matches with the name displayed in the main EventViewer tree but sometimes it doesn't.

0 Karma

tfechner
Path Finder

so you meen like this:
[WinEventLog://C:\windows\System32\Winevt\Logs\MSSXXXXX.evtx]

0 Karma

PickleRick
SplunkTrust
SplunkTrust

No. The other field 🙂

PickleRick_0-1638863254440.png

 

tfechner
Path Finder

we will try this - will take some time as holiday season is reaching

0 Karma

tfechner
Path Finder

some more infos:

The path is not in "Windws Logs" (where Application, Systen Security ist located). The path is on the top-level with "Application and Services Logs", there is a new section "MSSQL_xxx". There you find the logs I need

0 Karma
Get Updates on the Splunk Community!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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

Announcing the General Availability of Splunk Enterprise Security 8.1!

We are pleased to announce the general availability of Splunk Enterprise Security 8.1. Splunk becomes the only ...

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...