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:

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

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


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

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!