Docker Community Forums

Share and learn in the Docker community.

Push local file to logstash container

I want to push a file in local system into ES using logstash. How do I do this on a containerized ELK server? I want to maintain all 3 ELK components on one container.

My logstash config:
input {
file {
path => “D:/django/final_data_983_3.csv”
start_position => “beginning”
}
}

filter {
csv {

}
}

output {
elasticsearch {
hosts => “localhost:9200”
index => “final_data_983_3”
}

stdout {}

}