Splunk Search

視覚エフェクトで作成したグラフの色について - About color of graph created by visual effect

arai0729
Explorer

Splunk Enterprizeでログのサーチ結果をグラフ化しようとしています。
サーチした結果について、視覚エフェクトからグラフ化したところ、グラフの色が用意していた項目の色とずれてしまいました。
主導でグラフの色を変えられないかと考えていますが、可能でしょうか?
グラフはArea Chartを使用しています。

[Google Translate]
Splunk Enterprise is trying to graph the search result of the log.
As a result of the search, when graphing from the visual effect, the color of the graph deviated from the color of the items prepared.
I think whether it is possible to change the color of the graph led by the initiative, is it possible?
The chart uses Area Chart.

0 Karma
1 Solution

satokoji
Explorer

こんにちは。

作成したダッシュボードのXMLで下記のようなoptionタグを追記すると色を変えられます。

<option name="charting.fieldColors">
 {"<フィールド名1>": <色コード1>,"<フィールド名2>": <色コード2>,・・・}
</option>

下記ドキュメントに使用可能な色など、詳しく記載されていますのでご参考に。
https://docs.splunk.com/Documentation/Splunk/7.2.3/Viz/ChartConfigurationReference#General_chart_pro...

View solution in original post

0 Karma

satokoji
Explorer

こんにちは。

作成したダッシュボードのXMLで下記のようなoptionタグを追記すると色を変えられます。

<option name="charting.fieldColors">
 {"<フィールド名1>": <色コード1>,"<フィールド名2>": <色コード2>,・・・}
</option>

下記ドキュメントに使用可能な色など、詳しく記載されていますのでご参考に。
https://docs.splunk.com/Documentation/Splunk/7.2.3/Viz/ChartConfigurationReference#General_chart_pro...

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...