I received the new license today.
I tried both methods; upload Splunk.License file and Copy+Paste xml content.
Both failed with this error message:
Bad Request — web_1751612044.5449162.lic: failed to add because: cannot add lic w/ subgroupId=DevTest:<my.email@mycompany.com> to stack w/ subgroupId=Production
I have renewed license previously and this is not a lab test system.
Appreciate any advise.
The error typically occurs when you're trying to add a Developer/Test license to a Splunk instance that is currently using a Production license stack. Splunk enforces license stack segregation, meaning you can't mix Dev/Test licenses with Production ones.
If you're moving to a Dev/Test license (e.g., for a non-production environment), you need to remove the existing Production license first.
NOTE:- Only do this if you're sure the system should be running under a Dev/Test license. Removing a Production license from a live production system could cause compliance or functionality issues.
Splunk normally doesn't allow mixing licenses from different subgroups in the same stack. SO if your license stack is production and you use Dev license, it may not allow.
Remove all existing licenses from the stack (including expired ones).
Better restart Splunk
Then add your dev license.
Regards,
Prewin
Splunk Enthusiast | Always happy to help! If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!