Servizi
- Elasticsearch (motore di ricerca e archiviazione)
- Kibana (interfaccia utente web per la visualizzazione)
- Logstash (pipeline di elaborazione dati)
Accesso ai servizi
- Interfaccia utente Web Kibana:
http://<server-ip>:5601 - API Elasticsearch:
http://<server-ip>:9200 - Comunicazione del cluster interno Elasticsearch: 127.0.0.1:9300
Credenziali
- Nome utente:
elastic - Password: memorizzata in
/root/.cloudzy-creds
Directory importanti
- Configurazione:
/etc/{service}/ - Dati:
/var/lib/{service}/ - Registri:
/var/log/{service}/ - Binari:
/usr/share/{service}/bin/ - Plugin (Elasticsearch e Kibana):
/usr/share/{elasticsearch|kibana}/plugins/
Gestione del servizio
systemctl status <service> # Check status
systemctl restart <service> # Restart
systemctl stop <service> # Stop
systemctl start <service> # Start
Sostituire <service> con elasticsearch, kibana, O logstash.
Utenti del sistema
elasticsearch– esegue il servizio Elasticsearchkibana– gestisce il servizio Kibanalogstash– esegue il servizio Logstash
Utilizzo della pipeline Logstash
Esegui le pipeline come utente logstash, non come root:
sudo -u logstash /usr/share/logstash/bin/logstash -e input { stdin { } } output { stdout { } }