データリンクを使用して関連リソースに移動する 🔗
このトピックでは、チャートやダッシュボードでデータリンクを構成する方法と、それらのデータリンクを使用して関連リソースに移動する方法について説明します。データリンクの詳細については、データリンク を参照してください。
注釈
データ リンクを構成できるのは、書き込み権限を持っているダッシュボードとチャートのみです。たとえば、内蔵ダッシュボードやダッシュボードのミラーに対してデータリンクを構成することはできません。詳細については、Splunk Infrastructure Monitoringの読み取り権限および書き込み権限 を参照してください。
データリンクのタイプを選択する 🔗
プロパティのデータリンクには、ローカルとグローバルの2種類があります。以下のテーブルを参照して、適切なデータリンクタイプを選択してください。
Type |
Description |
---|---|
ローカル |
- Available on only on dashboard.
- Anyone with write permission for a dashboard can add data links that appear on that dashboard.
- Example: While viewing a dashboard, you can create a link from any value of
InstanceId to the built-in dashboard 「EC2 Instance」. Following the link opens the EC2 Instance dashboard filtered to the value of InstanceId you select. This link is available for any appearance of InstanceId in that dashboard; it doesn’t appear as a link on any other dashboard or in alert messages. |
グローバル |
- Available on dashboards, list charts, alert messages, Infrastructure Monitoring navigators, and Application Performance Monitoring services, traces, and spans.
- Only Splunk Observability Cloud administrators can create global links.
- Example: If you create the link described in the previous example as a global instead of local link, the link is available for every appearance of
InstanceId in Splunk Infrastructure Monitoring, including dashboards created after the link is created. |
注意
アラートメッセージに表示されるプロパティでリンクを使用したい場合は、グローバルデータリンクを作成する必要があります。
ローカルデータリンクの設定 🔗
When you view properties in a chart on a dashboard, either in the data table or on a list chart, you can configure local data links by using the Actions menu. The following steps show you how to create a new local data link:
プロパティにカーソルを合わせ、(⋯ )アイコンを選択します。
Select Configure data links to display the Data Links tab.
New Link を選択してリンク設定オプションを表示します。 New Link ボタンがない場合は、そのダッシュボードの書き込み権限がないためローカルデータリンクを作成できません。
Add a label for the link. This label is what the user sees in a property’s Actions menu, so use a concise and clear label.
リンク先の種類を選択します:
Infrastructure Monitoring Navigator: You have to select the navigator in a following step.
Infrastructure Monitoringダッシュボード:次のステップでダッシュボードを選択する必要があります。
Splunk:「プロパティ:値」のペアに対するSplunk検索。
Kibana:次のステップで、リンク用のURLテンプレートを作成する必要があります。
カスタムURL:URLアドレス可能な任意のリンク先。
In the Show On drop-down menu, select a value that indicates where you want the data link to display.
任意のメタデータ値:すべてのプロパティのすべての値からのリンク。(リンク先がダッシュボードの場合には使用できません。)
~の任意の値:あるプロパティの任意の値からのリンク。開始のプロパティはトリガーとしてあらかじめ入力されていますが、削除して別のトリガーを選択することができます。
「プロパティ:値」のペア:プロパティの特定の値からのリンク。開始の「プロパティ:値」はあらかじめ入力されていますが、削除して別のトリガーを選択することができます。
If you want the data link to display based on the Show On value and one or more additional conditions, select Add Conditions. If you define multiple conditions, you must meet all conditions for the link to display.
このリンクの表示範囲を選択します。以下から選択できます:
組織全体(管理者のみ使用可能):ローカルデータリンクではなくグローバルデータリンクを作成するには、このオプションを使用します。
グローバルデータリンクの詳細については、グローバル・データリンクを使用して、メタデータを関連リソースにリンクする を参照してください。
このダッシュボードのみ:このリンクは現在のダッシュボード上のチャートのみで使用できます。
選択したリンク先の種類に応じて、リンクの実際の宛先を設定します。
リンク先がダッシュボードの場合は、Choose Dashboard を選択し、ターゲットのダッシュボードを検索して OK を選択します。
ターゲットダッシュボードがソースダッシュボードと同じダッシュボードグループにある場合、ソースダッシュボードで適用したフィルターは宛先のダッシュボードでも維持されます。
リンクが
Any Metadata Value
またはAny Value of
のオプションを使用している場合、選択したプロパティ値は宛先のダッシュボードでもフィルターとして適用されます。リンクが
Property:Value Pair
オプションを使用している場合、宛先のダッシュボードが既にその値に特化しており、選択したプロパティ値が宛先のダッシュボード上でフィルターとして適用されないことが前提となります。例えば、トリガーがservice:analytics
である場合、ターゲットダッシュボードは、分析サービスに固有でなければならず、適切なフィルターが既に適用されていなければなりません。
宛先がSplunkインスタンスの場合は、URLフィールドにインスタンスのURLを入力します。「プロパティ:値」の情報がSplunkに渡されます。
宛先がカスタムURLまたはKibanaの場合は、URLフィールドにURLの完全なアドレスを入力します。変数を挿入して、プロパティの値によって結果のURLを変えることができます。URLフィールドを選択すると、使用可能な値が表示されます。一般的な変数と関連する構文の例は次のとおりです:
開始時間と終了時間:
&st={{start_time}}&et={{end_time}}
トリガーのプロパティ名(キー)と値:
&field={{key}}&value={{value}}
任意のプロパティの値(例えば
host
):&host={{properties.host}}
また、
start_time
およびend_time
変数の時間形式や、それらの間の最小時間窓を選択することもできます。
(オプション)宛先がカスタムURL、Splunkインスタンス、またはKibanaの場合、「プロパティマッピング」を使用してURL内のキーまたは「キー:値」ペアの名前を動的に変更できます。ダッシュボードに表示されるプロパティの名前は異なるが類似したデータを持つ宛先にリンクしたいという場合には、これを使用します。
Save を選択して、新しいリンクを作成します。
The link now appears on the Actions menu for the property.
注釈
表示範囲として「組織全体」を選択した場合、リンクは Global Data Links ページにも追加されます。
プロパティの値を選択してリンクをたどる 🔗
リンクのターゲットがInfrastructure Monitoringダッシュボードの場合、プロパティ値を選択することでリンクをたどることができます。あるプロパティに対してダッシュボードへの複数のリンクが利用可能な場合、アプリケーションは、以下の操作順序に基づいてどのリンクをたどるかを選択します。
注釈
In any dashboard, all local and global data links are available by using a property’s Actions (⋯) menu. You don’t have to select a property value to navigate to a link.
より具体性の高いデータリンクが、具体性の低いデータリンクよりも優先される 🔗
If multiple links that go to Infrastructure Monitoring dashboards are triggered by the same property, selecting the linked value goes to the destination for the trigger that is most specific to that value. In other words, a trigger on a property:value pair is more specific than a trigger on any value of a property.
例えば、リンクAが service
の任意の値によってトリガーされるローカルデータリンクであり、リンクBが service:analytics
によってトリガーされるグローバルデータリンクであるとします。
Selecting
service:analytics
in that dashboard follows Link B because the global data link is more specific than the local data link.Selecting any other value of service in that dashboard, such as
service:testing
, follows Link A.
ローカルデータリンクは、固有度が同等のグローバルデータリンクよりも優先される 🔗
If a property has equally specific local and global data links that go to Infrastructure Monitoring dashboards, selecting the property value navigates to the local link.
例えば、リンクCは service:analytics
によってトリガーされるローカルデータリンクであり宛先はダッシュボード 「X」、リンクDは同じく service:analytics
によってトリガーされるグローバルデータリンクであり宛先はダッシュボード 「Y」だとします。
Selecting
service:analytics
in that dashboard follows the local data link to Dashboard X because the local data link overrides the global data link.Selecting
service:analytics
in a different dashboard or in an alert message follows the global data link to Dashboard Y.
デフォルトのリンクは非デフォルトのリンクよりも優先される 🔗
If there are multiple, equally-specific triggers that go to Infrastructure Monitoring navigators or dashboards for a property, selecting the property value follows the link that has been specified as the default.
For example, suppose two links are triggered by any value of host
, but they have different destination navigators or dashboards. One link is designated as the default; selecting any value of host
follows the link to the default destination.
To change the default link for a trigger, expand the link for the desired default destination so you can see its settings, then open the Actions menu and select Make default.
データリンクの使用と表示 🔗
組織でデータリンクが利用可能な場合、Splunk Infrastructure Monitoringの多くの場所からデータリンクにアクセスできます。
When a property has a data link with an Infrastructure Monitoring dashboard as the target, hovering over the property displays the cursor pointer. A tooltip indicates the dashboard you can navigate to if you select the property; the dashboard group is shown in parentheses.
Alternately, you can view available data links in the Actions menu for any property. To access the Actions menu, hover over a property and select the (⋯) icon that appears. If there are data links defined for the property, the list of links is displayed when you select the (⋯) icon, and you can navigate to any of them from this menu.
注釈
To navigate to targets other than dashboards, you must use the Actions menu.
To view all the local data links for a dashboard, select Data Links from the Dashboard actions menu.
組織のすべてのグローバルデータリンクを表示するには、Navigation menu > Data Configuration に移動し、Global Data Links を選択します。または、ローカルデータリンクのリストを表示中に Global Data links を選択することもできます。
データリンクの定義について 🔗
プロパティには複数のデータリンクを定義できます。
If a link target is a Splunk Infrastructure Monitoring dashboard, you can follow the link by selecting the property value.
If a property is linked to multiple target navigators or dashboards, a few factors determine which navigators or dashboards are opened when you select the property value; see プロパティの値を選択してリンクをたどる.
組織で権限機能を利用できる場合は、ソースダッシュボードに対して書き込み権限がある場合にのみ、ローカルデータリンクの定義または削除ができます。ただし、ターゲットダッシュボードに対する書き込み権限は必要ありません。詳細については、Splunk Infrastructure Monitoringの読み取り権限および書き込み権限 を参照してください。
グローバルデータリンクを定義または削除するには、管理者である必要があります。ただし、既存のグローバルデータ リンクのリストは誰でも表示できます。
ナビゲーターやアラートメッセージなど、チャート以外の場所からリンクを作成する場合は、グローバルデータリンクしか作成できません。
このページは 2025年02月04日 に最終更新されました。