In my traces
table, I’ve got messages like so:
Incoming transaction: 0504250624105104 validated
Incoming transaction: 0504250624105604 validated
Incoming transaction: 0504250624105604 validated
Incoming transaction: 0504250624105304 validated
How can I find all non distinct/duplicate messages i.e. so the above returns only the below value?
Incoming transaction: 0504250624105604 validated
2
Answers
Just do this when message only contains of your sample data. Otherwise parse it in another variable and distinct that.
See the results here.
If you ONLY want to have the duplicates, use this:
See the results here
Posting the answer as I mentioned in the comment with details.
traces
table and the column for the message text is namedmessage
.Groups the results by the
message
column and counts the occurrences of each message. This filters the results to include only those messages where the count is greater than 1, indicating duplicates.Query:
Sample data:
Result: