Install and Configure Logstash
Install and Configure LogStash for Log Forwarding and Aggregation
Prerequisites
Installation
How to install Java / Logstash on client sideBasic Configuration
input {
file {
path => "/var/log/messages"
start_position => "beginning"
}
}
output {
elasticsearch {
# use port 80 for plain HTTP, instead of HTTPS
hosts => "logsene-receiver.cfxDLA.com:443"
# set to false if you don't want to use SSL/HTTPS
ssl => "true"
index => "db0461c5-7106-4b3e-b2af-42f20fd95b0f"
manage_template => false
}
}Configuration File
Last updated