Sunday, 19 June 2016

Configure Logstash to listen to HTTP requests as Input

Prerequisite:
  • Installed Logstash 2.3.1


Step 1: Install http plugin in Logstash




Step 2: Configure “.conf” file to receive http input

Create a “http-message.conf” file in “logstash-2.3.1\bin” folder.

Following shall be the content of the file:




Step 3: Run Logstash with the above “.conf” file



Step 4: Simulate HTTP request from PostMan




Click on Send, then verify message on Logstash server.