Skip to main content

Posts

Showing posts from April, 2018

A Tale of Two Log Forwarders: Logstash and FluentD (part 1.2)

A couple of ways to install Logstash is as a service on the cloud virtual machine, as well as deployed as a Docker container.  For our example, let's deploy Logstash as a Docker container. Assuming the Docker engine in installed, we can pull it from the docker.elastic.co repository: docker pull docker.elastic.co/logstash/logstash   You can execute the "docker image" command to verify the image was pulled.  Before we create a container from this image, we'll create a configuration file.   It is possible to have multiple inputs on a single Logstash configuration file, but let us, for this example, have one configuration file  per input. vim tcp-to-elasticsearch.conf input {   tcp { port => 8080   } } output {   elasticsearch { hosts => ["10.0.0.41:9200"]   }   stdout {