do test some logs Logstash configurations I want to use this docker-compose.yml and I'm running Debian 12 .
Docker version 25.0.3, build 4debf41
docker-compose version 1.29.2
my user is in the docker group, to run docker
My usecase:
In my usecase I want to place some logs mainlog into the logstash directory. See tree below:
~/local-ELK/logstash$ tree -d
.
├── config
├── mainlog.log
└── pipeline
~/local-ELK/logstash/mainlog.log$ ls
mainlog
# filter.conf is my custom logstash filter
~/local-ELK/logstash/pipeline$ ls
filter.conf logstash.conf
Now I start my composition with docker compose up. I can login to Kibana on localhost, but there are no field names from my filter.conf and no data from my mainlog.
I also tried after login into Kibana to restart the logstash container, but the result was the same.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.