Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maxyermayank/docker-compose-elasticsearch-kibana

Docker Compose for Elasticsearch and Kibana
https://github.com/maxyermayank/docker-compose-elasticsearch-kibana

access-kibana apm app-search auditbeat awesome cluster compose docker docker-compose docker-elasticsearch docker-elk elasticsearch elasticstack elk elk-stack filebeat heartbeat kibana metricbeat packetbeat

Last synced: 3 months ago
JSON representation

Docker Compose for Elasticsearch and Kibana

Awesome Lists containing this project

README

        

# **docker-compose-elasticsearch-kibana**

# **Overview**
Docker Compose for 3 Node Elasticsearch Cluster and Kibana Instance for development purposes.

- [x] 3 Node Elasticsearch version
- [x] Kibana version
- [x] Audit Beat version
- [x] Metric Beat version
- [x] Heart Beat version
- [x] Packet Beat version
- [x] File Beat version
- [x] APM Server version
- [x] APM Search
- [x] NGINX

# **NOTES**
- If you need Open Source version then change Elasticsearch and Kibana Images to elasticsearch-oss and kibana-oss respectively.
- Kibana is being served behind Nginx Proxy so you can secure access of kibana for your purpose.

# **COMING UP DOCKER APPLICATION PACKAGE FOR SWARM**

## **Requirements**
- [x] Docker 18.05
- [x] Docker-compose 1.21

### **Start Stack in Daemon Mode**
```
docker-compose up -d
```

### **Check status of docker-compose cluster**
```
docker-compose ps -a
```
![](images/dockerps.png)

### **Stop Compose Stack**
```
docker-compose down
```

### **Cluster Node Info**
```
curl http://localhost:9200/_nodes?pretty=true
```

### **Access Kibana**
```
http://localhost:5601
```

## **Validate Kibana is running**
![](images/kibana.png)

### **Accessing Kibana through Nginx**
```
http://localhost:8080
```

### **Access Elasticsearch**
```
http://localhost:9200
```
## **Validate Elasticsearch is running**
![](images/elasticsearch.png)

# **Resources**
* [Hands on Elasticsearch](https://medium.com/@maxy_ermayank/hands-on-elasticsearch-8fa59d8aebfc)
* [Elasticsearch Resources](https://medium.com/@maxy_ermayank/elasticsearch-resources-27d24f01c1dc)
* [Open Distro Elasticsearch](https://medium.com/@maxy_ermayank/tl-dr-aws-open-distro-elasticsearch-fc642f0e592a)