On my search head UI I'm seeing the version number as 6.1.9 as shown in the screenshot.
But on my search head CLI I'm seeing as follows :-
cat $SPLUNK_HOME/etc/splunk.version
VERSION=4.3.7
BUILD=181874
PRODUCT=splunk
PLATFORM=Linux-x86_64
Which among these two is my splunk search head version and the other version number indicates what?
Run $splunk_home/bin/splunk -version
That will give you the running version.
Run $splunk_home/bin/splunk -version
That will give you the running version.
Further, the version shown in UI is correct. Another place you can get version details is on top right menu -> Help -> About
.
I havn't found splunk-version under $splunk_home/bin directory.
$splunk_home/bin/splunk is the command and -version is the argument ... i.e. you need a space between splunk and -version
Can you try in another browser to see the behavior? Did you performed upgrade recently? Check you $SPLUNK_HOME path variable and make sure it is pointing to correct location.
Do you have single installation of Splunk on the server? If yes, then make sure you running cmd against correct running version.