Servizi
- Elasticsearch (motore di ricerca e storage)
- Kibana (interfaccia web per la visualizzazione)
- Logstash (pipeline di elaborazione dati)
Accesso ai Servizi
- Interfaccia Web Kibana:
http://<server-ip>:5601 - API di Elasticsearch:
http://<server-ip>:9200 - Comunicazione interna del cluster Elasticsearch: 127.0.0.1:9300
Credenziali
- Nome utente:
elastic - Password: archiviato 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 dei servizi
systemctl status <service> # Check status
systemctl restart <service> # Restart
systemctl stop <service> # Stop
systemctl start <service> # Start
Sostituisci <service> con elasticsearch, kibana, o logstash.
Utenti di 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 { } }