Splunk Enterprise

Powershell to Splunk issue - eventlog

Stngr
New Member

Hi there,

I've configured custom application logs to go to Splunk with .ps1 script.

The problem is - some logs are missing... After some troubleshoot I found there is something in the message property that makes it fail, as if I exclude message all events are processed (yet useless).

My guess is - there is something considered as exit character in the message that fails to be ingested. 

Have nothing set in props.conf

 

Sample message that gets processed:

Feature audited:                   Scheduled Task

Type of Change:                   Edit Scheduled Task

Changed by:                          DOMAIN\svc_landesk

Date of change:                    11/19/2020 13:56:17

Changed on machine:         SERVERVLANDE01

Item name:                            Run After Image - 11/19/2020 1:54:40 PM

Old value:                             

Feature Specific Data:

Data too big.  See equivalent event in the database.

 

Sample message that fails and doesnt show up in splunk:

Feature audited:                   Scheduled Task

Type of Change:                   Start Scheduled Task

Changed by:                          DOMAIN\svc_landesk

Date of change:                    11/19/2020 13:56:17

Changed on machine:         SERVERVLANDE01

Item name:                           

Old value:                             

Feature Specific Data:

<ExportableChange xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

Labels (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...