| ... | @@ -70,7 +70,7 @@ Now we have a logstash-forwarder.crt and key. |
... | @@ -70,7 +70,7 @@ Now we have a logstash-forwarder.crt and key. |
|
|
|
|
|
|
|
The configuration is made in /etc/logstash/conf.d/logstash.conf
|
|
The configuration is made in /etc/logstash/conf.d/logstash.conf
|
|
|
|
|
|
|
|
`input {
|
|
` input {
|
|
|
beats {
|
|
beats {
|
|
|
port => 5044
|
|
port => 5044
|
|
|
ssl => true
|
|
ssl => true
|
| ... | @@ -104,8 +104,7 @@ output { |
... | @@ -104,8 +104,7 @@ output { |
|
|
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
|
|
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
} `
|
|
|
`
|
|
|
|
|
I have commented out the host part because it was unneccessary.
|
|
I have commented out the host part because it was unneccessary.
|
|
|
|
|
|
|
|
#### Installing Filebeat
|
|
#### Installing Filebeat
|
| ... | |
... | |
| ... | | ... | |