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

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...