Splunk Search

charting.fieldDashStyle error

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

Champion

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

0 Karma