Splunk Enterprise installed on Linux.
But while login getting error "License Expired"
I believe you are using Splunk Enterprise trail license:
This is your included download trial. IMPORTANT: If you switch to another license, you cannot return to the Trial. You must install an Enterprise license or switch to Splunk Free.
To switch to Splunk Free License -> Settings -> Licensing -> Change License Group -> Choose Free License
For more details on Splunk License types : https://docs.splunk.com/Documentation/Splunk/8.0.5/Admin/TypesofSplunklicenses
Hi
if this is your sandbox environment w/o any real data you could reset trial license by remove installation with all files and then reinstalling it. More here https://community.splunk.com/t5/Getting-Data-In/Splunk-Enterprise-Trial-license-already-expired-just...
But if this is your production then you must contact to your Splunk account manager and renew your license.
r. Ismo