I’m installing Logstash 7.5.1 on cent os 7 machine, Logstash logs are not showing any data being digested when passed Apache logs.
If shows successful and api is up on 9600 and port 5400. But however Logstash shows few error on start up like
[WARN ][logstash.outputs.elasticsearch] You are using a deprecated config setting "document_type" set in
elasticsearch. Deprecated settings will continue to work.
** WARNING ** You have enabled encryption but DISABLED certificate verification.
** WARNING ** To make sure your data is secure change :ssl_certificate_verification to true
input {
file {
path => "/var/log/apache.log"
type => "apache-access" # a type to identify those logs (will need this later)
start_position => "beginning"
}
}
#filter{
#}
output{
elasticsearch {
hosts => x.x.x.x:9200
ssl => true
user => xxx
password => xxx
ssl_certificate_verification => true
ca_cert => xxx.pem
}
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.