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
Ultra Champion

No. The other field 🙂

PickleRick_0-1638863254440.png

 

View solution in original post

PickleRick
Ultra Champion

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
Ultra Champion

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!

How I Instrumented a Rust Application Without Knowing Rust

As a technical writer, I often have to edit or create code snippets for Splunk's distributions of ...

Splunk Community Platform Survey

Hey Splunk Community, Starting today, the community platform may prompt you to participate in a survey. The ...

Observability Highlights | November 2022 Newsletter

 November 2022Observability CloudEnd Of Support Extension for SignalFx Smart AgentSplunk is extending the End ...