Getting Data In

Issue with timestamps creating extra events

bnichols024
New Member

Certain events in these logs have dates in certain tags below such as <BeginDateTime> and <EndDateTime> . They are creating additional events when they should only be one. Same thing on JMS Timestamp on event 2 pictured below. What would the correct regex be to only make events when the timestamp is first like in 1, 5-9. Thank you.

bnichols024_0-1604350604708.pngbnichols024_0-1604350604708.png

 

Labels (2)
Tags (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The props.conf settings are not correct for that sourcetype.  Please share the current settings and also specify where events should begin and end.

---
If this reply helps you, Karma would be appreciated.
0 Karma

bnichols024
New Member

I don't have a props.conf file currently configured. That's what I'm asking for help with. I want events to break like they normally would before timestamps, but to not include the time stamps you see in events 2, 3, and 4 in the image. Only timestamps that start a line.

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!

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 ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...