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 interna del cluster Elasticsearch: 127.0.0.1:9300
Credenziali
- Nome utente:
elastic - Password: memorizzata in
/root/.cloudzy-creds
Elenchi 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 dei servizi
systemctl status <service> # Check status
systemctl restart <service> # Restart
systemctl stop <service> # Stop
systemctl start <service> # Start
Sostituisci <service> con elasticsearch, kibana, oppure logstash.
Utenti del sistema
elasticsearch– esegue il servizio Elasticsearchkibana– esegue 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 { } }