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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...