I get error in DS UI ( I want to use Web UI, not CLI) 03-23-2018 11:50:48.839 +0100 WARN DS_DC_Common - Attribute unsupported by UI: stanza=serverClass:for-master property=stateOnClient reason='2+ distinct values at this level'
It means that I should not have enabled more than 1 stateOnClient I guess if I set the same stateOnClient value on all of three classes, its OK.
If you look in the table, for the setting stateOnClient, it states:
Single per-app setting across all server classes
In the notes section, below the table, it explains:
Single per-app setting across all server classes: The **stateOnClient** and **restartSplunkd** attributes are configured under the app-level stanzas. App-level stanzas include both an appName and a serverClassName component, like this: [serverClass::app:]. See "Use serverclass.conf to define server classes".
If you are not using forwarder management, you can configure those attributes differently depending on the server class, even for the same app. For example, in [serverClass:X:app:A], you can specify stateOnClient=enabled, while in [serverClass:Y:app:A] (same app, different server class), you can specify stateOnClient=disabled. So, depending on the server class, the same app will be either enabled or disabled when it gets downloaded to the client.
However, forwarder management allows only a single definition for each app, across all server classes in which it is used. So, [serverClass:X:app:A] and [serverClass:Y:app:A] must both configure stateOnClient identically. The same condition applies to restartSplunkd.
If you notice the 2nd paragraph, it says:
If you are not using forwarder management, you can configure those attributes differently depending on the server class, even for the same app.
So you can accomplish what you want, but you have to manage it through CLI. It is not supported in the gui.