Elastic Stack consists of Elasticsearch, Logstash, and Kibana.
Elasticsearch is a distributed, real-time search and analytics engine that is used to store and index log data.
Logstash is a data collection and processing pipeline that ingests log data and sends it to Elasticsearch.
Kibana is a user-friendly visualization tool that allows you to interactively explore and analyze the log data in Elasticsearch. Hadoop is not a component of Elastic Stack.
xxxxxxxxxx
server {
listen 80;
server_name your_domain;
auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/htpasswd.users;
location / {
proxy_pass http://localhost:5601;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}