Looking for a way to filter columns from messages into Teams using webhook ?
Hi all,
I have created a simple query for a real time alert, the alert should come to a Teams channel using webhook. The alert and the webhook has been setup correctly and I am now looking for a way to filter the messages by column in Teams ?
For example: if I have 3 columns in my message, user, servername, location, the alert message in Teams should be like user A accessed the server `servername` from `location`.
I found few examples to use in this in Slack (msg: Results.User) but wondering if this can be done in Teams?
Thank you
-
Yes, it can be done in Microsoft Teams also. You have to use customized payload with the payload variable {{Results.fieldname}}: The value is returned from the search result for the specified field name. This is useful for creating an easy-to-read webhook message based on your query results. A field name must exactly match the field from your search and must be all lowercase alphanumeric characters, underscores, and spaces.
You can use{{Results.username}} accessed the server {{Results.servername}} from {{Results.location}}
Please sign in to leave a comment.
Comments
1 comment