To get started, copy and paste the skeleton configuration pipeline into a file named first-pipeline.conf in your home Logstash directory.
Next, configure your Logstash instance to use the Beats input plugin by adding the following lines to the input section of the first-pipeline.conf file: