内蔵ダッシュボード
Splunk Observability Cloud の内蔵ダッシュボードを使用してサービスを監視し、パターンや外れ値を特定します。ダッシュボードを複製またはエクスポートする方法について説明します。
Splunk Observability Cloudは、お客様の環境で使用されているテクノロジーおよびサービスを即座に可視化する内蔵ダッシュボードを提供します。
組み込みダッシュボードとダッシュボードに含まれるチャートは読み取り専用です。これらは、サポートされている統合のいずれかを展開すると、組織内に自動的に作成されます。内蔵ダッシュボードを表示するには、次の方法があります。
-
Splunk Observability Cloud のメインメニューで、[Dashboards] を選択し、次に [Built-in] を選択します。
-
Infrastructure Monitoring のナビゲータの詳細ビューに移動します。
内蔵ダッシュボードは、母集団と個々のノードを監視するように最適化されています。Splunk Observability Cloud は、各テクノロジーやサービスに対して、集計、パーセンタイル、Top N 分析関数を使用し、パターンの確認や外れ値の特定ができるようにします。また、個別のメトリクスを提供して、単一ノードの機能に関するインサイトが得られるようにします。
内蔵ダッシュボードを複製する
内蔵ダッシュボードは読み取り専用であるため、フィルタや時間範囲をダッシュボードに直接保存したり、ダッシュボード上のチャートに変更を加えたりすることはできません。元のダッシュボードを複製し、複製したダッシュボードを変更する必要があります。
「ダッシュボード」ページから
[Dashboards] ページから内蔵ダッシュボードを複製するには、以下の手順に従います。
-
Splunk Observability Cloud のメインメニューで、[Dashboards] を選択し、次に [Built-in] を選択します。
-
[Built-in dashboard groups] セクションで、複製したいダッシュボードを含むダッシュボードグループを展開します。
-
複製したいダッシュボードを選択します。
-
[Dashboard actions] メニューを選択します。
-
Save dashboard as… を選択します。
-
[Dashboard name] フィールドで、複製したダッシュボードの名前を指定します。同じ名前のダッシュボードが複数存在することを避けるため、元のダッシュボードとは異なる名前を使用します。
-
Dashboard permissions のドロップダウンメニューから、複製したダッシュボードの権限設定を構成します。
-
Dashboard group メニューから、複製したダッシュボードを保存するダッシュボードグループを見つけて選択します。
ダッシュボードの権限の詳細については、「Splunk Infrastructure Monitoring の読み取り権限および書き込み権限」を参照してください。
内蔵ダッシュボードをエクスポートする
「ダッシュボード」ページから
[Dashboards] ページから内蔵ダッシュボードを複製するには、以下の手順に従います。
-
Splunk Observability Cloud のメインメニューで、[Dashboards] を選択し、次に [Built-in] を選択します。
-
[Built-in dashboard groups] セクションで、エクスポートしたいダッシュボードを含むダッシュボードグループを展開します。
-
エクスポートしたいダッシュボードを選択します。
-
[Dashboard actions] メニューを選択します。
-
[Export] を選択します。
-
[Download] を選択します。
内蔵ダッシュボード内のチャートを複製して変更する
内蔵ダッシュボード内のチャートを複製するには、以下の手順に従います:
-
内蔵ダッシュボードで複製したいチャートの名前を選択します。チャートビルダービューでチャートが開きます。
-
チャートビルダービューで必要な変更を加えます。
-
[Save as...] を選択して、複製したチャートを希望する別のダッシュボードに保存します。
内蔵ダッシュボードのフィルタリング
さらに、ディメンションまたはプロパティを使用して、内蔵ダッシュボードをフィルタリングし、環境の特定のスライスに絞り込むことができます。[Time Range] セレクタを使用して、メトリクスを表示する時間範囲を指定することもできます。「ダッシュボード内のすべてのチャートの設定を指定する」の「時間範囲」を参照してください。
Use dashboard filters in logs chart queries
Use tokens in a logs chart SPL query to apply dashboard filter values when the chart runs.
Dashboard filters can pass selected values to a logs chart query. Add a token where you want a filter value to be inserted, then add a dashboard filter with a matching key.
The chart query uses the selected filter values. For example, if a user selects checkout, service=$service$ behaves like service="checkout".
If the filter is missing or has no selected value, the token does not narrow the query. For example, host=$host$ behaves like host=*. A dashboard filter that is not referenced by a token does not affect the chart.
Query examples
Use the following patterns in a logs chart SPL query:
-
Filter one field:
index=main host=$host$ -
Filter several fields:
index=main host=$host$ service=$service$ env=$environment$ -
Use a token in a pipeline:
index=main service=$service$ | stats count by host -
Use a dotted field name:
index=main k8s.node.name=$node$. If needed, quote the field name:"host.name"=$host$. -
Use the same token more than once in a query.
A single selected value, such as checkout, makes service=$service$ behave like service="checkout". Multiple selected values make it behave like service IN ("checkout","payments","cart").
For an exclude filter, env=$env$ behaves like env!="dev" for one excluded value. For multiple excluded values, it behaves like NOT env IN ("dev","test").
If the chart does not respond to a filter, check that:
-
The token name exactly matches the dashboard filter key.
-
The token uses the format
fieldName=$filterKey$. -
The token is in the SPL query for that logs chart.
-
The filter is on the same dashboard as the chart.
-
The SPL field on the left side of the equals sign is the field you want to filter.