---
sourceDocument: Yokohama データと自動化
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - ja-JP

ft:publication_title :

    - Yokohama データと自動化

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Microsoft Azure Application Insights スポーク

# Microsoft Azure Application Insights スポーク {#msazure-app-insight__ms-azure-insights}

* リリースバージョン: Yokohama
* 
* 更新日 2025年01月30日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：4分

ServiceNowインスタンスからMicrosoft Azure Application Insightsアカウントのクエリ、イベント、およびメトリクスを管理します。

## ストアでアプリを要求する {#msazure-app-insight__section_sz5_jv3_z3b}

[ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) Web サイトにアクセスして利用可能なすべてのアプリを表示し、ストアにリクエストを送信する方法について確認してください。リリースされたすべてのアプリのリリースノート情報については、「[ServiceNow Storeバージョン履歴のリリースノート](https://docs.servicenow.com/bundle/store-release-notes/page/release-notes/store/sn-store-release-notes.html)」を参照してください。{#msazure-app-insight__inline-send-to-store}

## 統合ハブサブスクリプション {#msazure-app-insight__section_xld_rnr_2nb}

このスポークには Integration Hub のサブスクリプションが必要です。詳細については、「[法務スケジュール - 統合ハブの概要](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/snc-addendum-integrationhub.pdf)」を参照てください。

## スポークバージョン {#msazure-app-insight__section_k3y_flw_bsb}

Microsoft Azure Application Insights スポーク v2.0.0 が最新バージョンです。{#msazure-app-insight__cosmos-ver}

## サポート対象のバージョン {#msazure-app-insight__section_yld_rnr_2nb}

このスポークはMicrosoft Azure Application InsightsAPI バージョン v1 用にビルドされていますが、それ以降のバージョンと互換性がある可能性があります。

## スポークの要件 {#msazure-app-insight__section_bmd_rnr_2nb}

* アプリケーションを Microsoft Azure ポータルに登録し、アクセスキーとディレクトリー ID を記録します。詳細については、[Azure Application Insights REST API ドキュメント](https://dev.applicationinsights.io/documentation/overview)の「[Azure Application Insights Search API](https://dev.applicationinsights.io/documentation/Authorization/AAD-Application-Setup)」を参照してください。
* 登録済みアプリケーションにServiceNowインスタンスのリダイレクト URL を追加します。リダイレクト URL は、<kbd class="ph userinput">https://&lt;instance&gt;.service-now.com/oauth_redirect.do</kbd> のフォーマットでなければなりません。詳細については、[Microsoft Docs](https://docs.microsoft.com/en-us/) の「[Azure Time Series Insights API の認証と承認](https://docs.microsoft.com/en-us/azure/time-series-insights/time-series-insights-authentication-and-authorization)」を参照してください。
* API キーを作成し、API キーとアプリ ID の値を記録します。これらの値は、スポークアクションへの入力として必要です。詳細については、[Azure Application Insights REST API ドキュメント](https://dev.applicationinsights.io/documentation/overview) の「[API キーとアプリケーション ID の取得](https://dev.applicationinsights.io/documentation/Authorization/API-key-and-App-ID#:~:text=To%20get%20these%20two%20keys,the%20%22Read%20telemetry%22%20box.)」を参照してください。
{#msazure-app-insight__ul_g3g_rlr_fnb}

## スポークの依存関係 {#msazure-app-insight__section_dmd_rnr_2nb}

アプリのインストールで問題が発生した場合は、次の依存プラグインがインストールされていることを確認してください。

* ServiceNowIntegrationHub アクションステップ - REST (com.glide.hub.action_step.rest)
* ServiceNow 統合ハブランタイム (com.glide.hub.integration.runtime)
* ServiceNow フローデザイナー - 動的入力 (com.glide.hub.dynamic_inputs)
* 複合オブジェクト (com.glide.cobject)
* フローデザイナーアクションステップ - ペイロードビルダー (com.glide.hub.action_step.payload)
{#msazure-app-insight__ul_emd_rnr_2nb}  
注:  
これらのプラグインの一部はライセンス可能な機能であり、スポーク実装の外部で使用する場合は適切なライセンスが必要です。

## スポークのアクション {#msazure-app-insight__section_jmd_rnr_2nb}

Microsoft Azure Application Insights Spoke ではServiceNowインスタンスでイベントが発生したときにタスクを自動化するアクションが提供されます。使用可能なアクションは次のとおりです。  
{#msazure-app-insight__table_kmd_rnr_2nb__entry__3}

| カテゴリ | アクション | 説明 |
|-|-|-|
| イベント管理 | イベントを検索 | 単一のイベントのデータを取得します。 |
| イベント管理 | タイプでイベントを検索 | イベントに対する OData クエリを実行します。 |
| イベント管理 | OData メタデータを検索 | イベントデータモデルを説明する OData EDMX メタデータを取得します。 |
| メトリクス管理 | メトリックのメタデータを検索する | 利用可能なメトリクスを説明するメタデータを取得します。 |
| メトリクス管理 | メトリックを検索する | 単一のメトリクスのメトリクス値を取得します。 |
| メトリクス管理 | メトリックを検索する | 複数のメトリクスのメトリクス値を取得します。 |
| クエリ管理 | クエリを実行 | データのアナリティクスクエリを実行します。 |
| クエリ管理 | クエリを検索する | データのアナリティクスクエリを実行します。 |
[ ]

{#msazure-app-insight__table_kmd_rnr_2nb}

## 接続および資格情報エイリアスの要件 {#msazure-app-insight__section_qmd_rnr_2nb}

統合ハブ は、エイリアスを使用して、接続情報および認証情報、および OAuth 認証情報を管理します。エイリアスを使用することで、複数の環境を使用する場合に、複数の認証情報と接続情報プロファイルを構成する必要がなくなります。接続または認証情報が変更された場合、接続を使用するどのアクションも更新する必要はありません。

スポークの設定については、「 [Azure Application Insights スポークの設定](https://servicenow-prod.fluidtopics.net/7s_mbDO80u6SVufCvBPJPw#setup-msazure-app-insight "ServiceNow インスタンスに接続エイリアスを作成します。エイリアスを使用すると、ServiceNow インスタンスは Microsoft Azure Application Insights に OAuth トークンを要求し、その要求を認証できるようにします。")。

