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!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...