Splunk Search

charting.fieldDashStyle error

dojiepreji
Path Finder

I have a chart that needs only one field (percentage field) to have a dotted line property.
I need to specify the percentage field to have the shortDash property using fieldDashStyles.

Here is my chart:

<chart>
        <search>
          <query>index="singers" 
| top 20 singers
| eventstats avg(count) as average 
| eventstats sum(count) as total 
| eval percentage = round((count / total) * 100, 0) 
| fields - total</query>
        </search>
                                                           .......
          <option name="charting.fieldDashStyles">{"average":"solid", "percentage":"shortDash"}</option>
                                                           .......
      </chart>

In the source view of my dashboard, an error message shows up that says, 'Unknown option name="charting.fieldDashStyle" for node="chart"'.
I'm unable to save the dashboard.

Any help would be appreciated. Thank you.

0 Karma

vnravikumar
Champion

Hi @dojiepreji What is the splunk version are you using?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...