Microsoft Teams のテンプレートの作成
Splunk AppDynamicsMicrosoft Teams に HTTP リクエストアクションを送信するには、 でテンプレートを作成する必要があります。Splunk AppDynamics がイベントに応答してアクションをトリガーすると、Microsoft Teams チャネルでアクションの詳細を表示できます。
はじめる前に
- Microsoft Teams でチャネルを作成し、適切な名前を付けます。たとえば、
Splunk AppDynamics Alertsなどです 。このチャネルは、Splunk AppDynamics からアラートを受信するために使用されます。Microsoft Teams のドキュメントを参照してください。 https://support.microsoft.com/en-us/office/create-a-team-from-scratch-in-microsoft-teams-174adf5f-846b-4780-b765-de1a0a737e2b - Microsoft Teams で作成したチャネルへの受信ウェブフックを作成します。Microsoft Teams のドキュメントを参照してください。 https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=newteams%2Cdotnet
- Microsoft Teams のウェブフック URL をコピーし、後で使用するために安全に保管します。Splunk AppDynamics は、この URL を使用してアラートを Microsoft Teams に送信します。
Create a Template
- In the menu bar, click Alert & Respond.
- Click HTTP Request Templates.
- Enter a name for the template. For example, Send alerts to Microsoft Teams .
- In the Request URL section:
- Select POST as Method.
- Enter the webhook workflow URL in the Raw URLfield.
- Select UTF-8 as URL Encoding.
- In the Authentication section, select NONE as Type. If you want to enable mutual TLS authentication, select Also Turn on Mutual TLS. For more information about mutual TLS, see Configure and Enable Mutual TLS Authentication.
- In the Payload section:
- In the Settings section, select the One Request Per Event option.
- Click Save.