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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...