内蔵ダッシュボード

Splunk Observability Cloud の内蔵ダッシュボードを使用してサービスを監視し、パターンや外れ値を特定します。ダッシュボードを複製またはエクスポートする方法について説明します。

Splunk Observability Cloudは、お客様の環境で使用されているテクノロジーおよびサービスを即座に可視化する内蔵ダッシュボードを提供します。

組み込みダッシュボードとダッシュボードに含まれるチャートは読み取り専用です。これらは、サポートされている統合のいずれかを展開すると、組織内に自動的に作成されます。内蔵ダッシュボードを表示するには、次の方法があります。

  • Splunk Observability Cloud のメインメニューで、[Dashboards] を選択し、次に [Built-in] を選択します。

  • Infrastructure Monitoring のナビゲータの詳細ビューに移動します。

内蔵ダッシュボードは、母集団と個々のノードを監視するように最適化されています。Splunk Observability Cloud は、各テクノロジーやサービスに対して、集計、パーセンタイル、Top N 分析関数を使用し、パターンの確認や外れ値の特定ができるようにします。また、個別のメトリクスを提供して、単一ノードの機能に関するインサイトが得られるようにします。

内蔵ダッシュボードを複製する

内蔵ダッシュボードは読み取り専用であるため、フィルタや時間範囲をダッシュボードに直接保存したり、ダッシュボード上のチャートに変更を加えたりすることはできません。元のダッシュボードを複製し、複製したダッシュボードを変更する必要があります。

ナビゲーターで複製

ナビゲーターで内蔵ダッシュボードを複製するには、以下の手順に従います:

  1. Splunk Observability Cloud のメインメニューで、[Infrastructure] を選択し、次に [Overview] を選択します。

  2. 複製したいダッシュボードを含むナビゲータを選択します。

  3. [Dashboard] セクションで、[Dashboard actions] メニューを選択します。

    この画像は、ナビゲーター内のダッシュボードアクションメニュー(|more| )を示しています。
  4. Save dashboard as… を選択します。

  5. [Dashboard name] フィールドで、複製したダッシュボードの名前を指定します。同じ名前のダッシュボードが複数存在することを避けるため、元のダッシュボードとは異なる名前を使用します。

  6. Dashboard permissions のドロップダウンメニューから、複製したダッシュボードの権限設定を構成します。

  7. Dashboard group メニューから、複製したダッシュボードを保存するダッシュボードグループを見つけて選択します。

「ダッシュボード」ページから

[Dashboards] ページから内蔵ダッシュボードを複製するには、以下の手順に従います。

  1. Splunk Observability Cloud のメインメニューで、[Dashboards] を選択し、次に [Built-in] を選択します。

  2. [Built-in dashboard groups] セクションで、複製したいダッシュボードを含むダッシュボードグループを展開します。

  3. 複製したいダッシュボードを選択します。

  4. [Dashboard actions] メニューを選択します。

    この画像は、ダッシュボード内のアクションメニュー(|more| )を示しています。
  5. Save dashboard as… を選択します。

  6. [Dashboard name] フィールドで、複製したダッシュボードの名前を指定します。同じ名前のダッシュボードが複数存在することを避けるため、元のダッシュボードとは異なる名前を使用します。

  7. Dashboard permissions のドロップダウンメニューから、複製したダッシュボードの権限設定を構成します。

  8. Dashboard group メニューから、複製したダッシュボードを保存するダッシュボードグループを見つけて選択します。

注: 複製したダッシュボードを既存のカスタムダッシュボードグループまたはユーザーダッシュボードグループに保存することも、新規ダッシュボードグループを作成することもできます。新しいグループを作成すると、そのグループがカスタムダッシュボードグループとして追加されます。

ダッシュボードの権限の詳細については、「Splunk Infrastructure Monitoring の読み取り権限および書き込み権限」を参照してください。

内蔵ダッシュボードをエクスポートする

ナビゲーターで複製

ナビゲーターでダッシュボードをエクスポートするには、以下の手順に従います:

  1. Splunk Observability Cloud のメインメニューで、[Infrastructure] を選択します。

  2. エクスポートしたいダッシュボードを含むナビゲータを選択します。

  3. [Dashboard] セクションで、[Dashboard actions] メニューを選択します。

    この画像は、ナビゲーター内のダッシュボードアクションメニュー(|more| )を示しています。
  4. [Export] を選択します。

  5. [Download] をクリックします。

「ダッシュボード」ページから

[Dashboards] ページから内蔵ダッシュボードを複製するには、以下の手順に従います。

  1. Splunk Observability Cloud のメインメニューで、[Dashboards] を選択し、次に [Built-in] を選択します。

  2. [Built-in dashboard groups] セクションで、エクスポートしたいダッシュボードを含むダッシュボードグループを展開します。

  3. エクスポートしたいダッシュボードを選択します。

  4. [Dashboard actions] メニューを選択します。

    この画像は、ダッシュボード内のアクションメニュー(|more| )を示しています。
  5. [Export] を選択します。

  6. [Download] を選択します。

内蔵ダッシュボード内のチャートを複製して変更する

内蔵ダッシュボード内のチャートを複製するには、以下の手順に従います:

  1. 内蔵ダッシュボードで複製したいチャートの名前を選択します。チャートビルダービューでチャートが開きます。

  2. チャートビルダービューで必要な変更を加えます。

  3. [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.

  1. Add a token to the logs chart SPL query.

    Use this syntax, with the SPL field on the left and the dashboard filter key between dollar signs on the right:

    SPL
    fieldName=$filterKey$

    The field name and filter key can differ. For example, use hostname=$host$ when the SPL field is hostname and the dashboard filter key is host.

  2. Add a dashboard filter with a key that matches the token name.

    Token names are case-sensitive. The filter must be on the same dashboard as the logs chart.

  3. Open the dashboard and select one or more filter values.

    The chart applies the selected values when it runs. The values are not saved in the query as fixed values.

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.