Category Archives: DevOps

Installing Logstash on Windows using Scoop

I just made Logstash available for installation on Windows through the brilliant command-line installer Scoop. This makes it very easy to install, upgrade or uninstall Logstash on your system. I earlier posted a similar instruction on how to install Logstash’s companion products Elasticsearch and Kibana in Windows in my employer’s blog.

Here’s how you do it.

If you haven’t already, install the command-line installer by running the following in Powershell:

iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

Then, add the extra definitions list (known as ‘buckets’ in Scoop):

scoop add bucket extras

That’s it for the installer part. Finally, install Logstash:

scoop install logstash --global

That’s it! To prove that the installation went well, run Logstash with a simple configuration:

logstash -e 'input { stdin { } } output { stdout {} }'

You can then go on to install Logstash as a windows service, and start it

logstash_service install -configPath path\to\logstash.conf
logstash_service start

Installing RabbitMQ on Windows using Scoop

I just made RabbitMQ available for installation on Windows through the brilliant command-line installer Scoop. This makes it very easy to install, upgrade or uninstall RabbitMQ from your system.

Here’s how you do it.

If you haven’t already, install the command-line installer by running the following in Powershell:

iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

Then, add my custom program definitions list (known as ‘buckets’ in Scoop):

scoop add bucket vidars https://github.com/vidarkongsli/vidars-scoop-bucket.git

That’s it for the installer part. Then, install Erlang on your system, if you don’t have it already:

scoop install erlang18 --global

Finally, install RabbitMQ:

scoop install rabbitmq --global

That’s it!
To prove that the installation went well, run RabbitMQ and query for status:

rabbitmq-server -detached
rabbitmqctl status