I've created several alerts with "search & reporting" splunk app. I set the alert action both "alert manager" app and "add to triggered alert" which resulted in logs that contains the alert metadata such as name and creation time.
I would like to join the raw data (search query data) with the alert metadata, however, I couldn't find even a single common field between the 2 log sources.
As a workaround I've added another action to my alert - "log event", and customize an event that contains fields that is shared among both the raw data (search query logs) and the alert metadata logs. This works, but it doesn't feel like the most elegant solution.
I wonder if anyone have encountered similar problem or have an idea how to correlate between "alert manager" metadata logs and search query logs?