Logstash not sending the logs to elk and kibana

Hİ all,

i am trying configure filebeats send the logs to kibana but I was not successful.my setup is on kubernetes. I tried In My Spring Boot Project.Please help me

logstash.conf:

input {
	beats {
		port => 5000
		type => log
	}
}

output {
	elasticsearch {
		hosts => "elasticsearch:9200"
		manage_template => false
	}
}

filebeats.yaml

filebeat:
  prospectors:
    -
      paths:
        - /logs/*.log"
      input_type: log

output:
  logstash:
    hosts: ["logstash:5000"]
  console:
    pretty: true

shipper:

logging:
  to_files: true
  files:
    path: /etc/filebeat/logs
    name: mybeat
    rotateeverybytes: 10485760 # = 10MB

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.