Logstash installation on a linux server error

I was trying to install logstash on a linux server usinf the command
yum install logstash-2.2.2-1.noarch.rpm

and i get the following error

Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Examining logstash-2.2.2-1.noarch.rpm: 1:logstash-2.2.2-1.noarch
logstash-2.2.2-1.noarch.rpm: does not update installed package.
Error: Nothing to do

what does it mean?

Seems repo is not configured/ Logstash version 2.2.2-1 is missing from
repo. Just use logstash-2.*

I don't understand what you mean by repo is not configured. do you mean i should install an earlier version??

On linux machines we use yum [command line tool] to install rpm's, when we issue "yum install "
which will basically look for /etc/yum.conf and /etc/yum.repos.d/<>.repo files to fetch yours intended for installation.

So, on your machine with present yum configuration it is unable to fetch/find logstash-2.2.2-1.noarch.rpm

try "yum install logstash*" command