Activity 1: Lets create a pipeline which reads from command line (termianl) and shows the output on the terminal. Save this in ~/logstash-pipelines/hello-wrold.conf
input
{
stdin
{
}
}
output
{
stdout
{
}
}
Now try to run logstash with the following command sudo ./logstash -f ~/logstash-pipelines/hello-wrold.conf
Now lets give some input
Activity 2: Now lets try to create a logstash pipeline which reads from stdin and stores in a file and also shows the output in stdout. save it as activity2.conf