I have two logs from two different applications writing to the same index.
Log1:
[
"Processed Payload - UID: c9c9502f-f398-434f-3d2efc7853a3, AlertId : 000130114"]
Log2:
["Processed Payload - UID: c9c9502f-f398-434f-3d2efc7853a3, ClientId: 283400, TrackId: tracking-456, File: transaction.csv"]
From the UID in log2 i need to check if there are any matching alertId in log1 and if found i need to merge the data and get it in the below format.
Processed Payload - UID: c9c9502f-f398-434f-3d2efc7853a3, ClientId: 283400, TrackId: tracking-456, File: transaction.csv", AlertId:000130114
How can i do this ??
I will need this to be running as part of Kibana watcher