User Tools

Site Tools


elasticsearch:filebeat
  1. installo filebeat sul server: serve la versione corretta. in questo caso la 8.5.3

curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-8.5.3-amd64.deb

dpkg -i filebeat-8.5.3-amd64.deb
systemctl enable filebeat
- abilito il modulo apache 
filebeat modules enable apache
filebeat modules list

- configuro il file /etc/filebeat/modules.d/apache.yml in modo che vengano mandati i file giusti e anche 
- configuro il modulo apache in elasticsearch con il comando inviato dal server:

output.elasticsearch:

# Array of hosts to connect to.
hosts: ["alma01:9200"]
# Protocol - either `http` (default) or `https`.
protocol: "https"
# Authentication credentials - either API key or username/password.
#api_key: "id:api_key"
username: "user"
password: "password"
ssl.verification_mode: "none"
output.elasticsearch.index: "filebeat-inex"
filebeat setup --index-management --pipelines --modules apache
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
elasticsearch/filebeat.txt · Last modified: 2024/11/10 08:01 by 127.0.0.1