I just upgraded our QA instance of Splunk from 4.1.4 to 4.2.2 and now realize that the "Show license" command is gone. I had a shell script setup to monitor/alert us of our violations and let us know when we were free and clear of violations.
Is there an equivalent CLI option for this?
There are a number of license-related CLI commands for use with 4.2.2
http://www.splunk.com/base/Documentation/latest/Admin/LicenserCLIcommands
It seems you should be able to use splunk list license-messages
for your case.
Hope this helps!
Unfortunately these commands don't really give me what I'm looking for. What I keyed off of in 4.1 was the list of violations with the dates on them. Looks like I may need to change things around a bit. Thanks!