Skip to content

Commit 2194ab7

Browse files
committed
Merge branch 'eamonnfaherty-master'
2 parents 3f739fb + 06c0f36 commit 2194ab7

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ RUN chown logstash:logstash /opt/logstash/patterns/*
102102
ADD ./start.sh /usr/local/bin/start.sh
103103
RUN chmod +x /usr/local/bin/start.sh
104104

105-
EXPOSE 5601 9200 5000
105+
EXPOSE 5601 9200 9300 5000
106106

107107
CMD [ "/usr/local/bin/start.sh" ]

README.md

+17-15
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,29 @@ Run the container from the image with the following command:
3838
This command publishes the following ports, which are needed for proper operation of the ELK stack:
3939

4040
- 5601 (Kibana web interface).
41-
- 9200 (Elasticsearch)
41+
- 9200 (Elasticsearch JSON interface).
4242
- 5000 (Logstash server, receives logs from logstash forwarders – see the [Forwarding logs](#forwarding-logs) section below).
4343

44+
**Note** – The image also exposes Elasticsearch's transport interface on port 9300. Use the `-p 5300:5300` option with the `docker` command above to publish it.
45+
4446
**Note** – Logstash includes a web interface, but it is not started in this Docker image.
4547

4648
The figure below shows how the pieces fit together.
4749

48-
- +-----------------------------------------------+
49-
| ELK server (Docker image) |
50-
+----------------------+ | |
51-
| | +-----> port 5601 - Kibana web interface |
52-
| Admin workstation +----+ | |
53-
| | +-----> port 9200 - Elasticsearch JSON interface |
54-
+----------------------+ | |
55-
| port 9292 - Logstash web interface (unused) |
56-
+----------------------+ | |
57-
| Server | | |
58-
| +------------------+ | | |
59-
| |logstash forwarder+------------> port 5000 - Logstash server |
60-
| +------------------+ | | |
61-
+----------------------+ +-----------------------------------------------+
50+
- +------------------------------------------------+
51+
| ELK server (Docker image) |
52+
+----------------------+ | |
53+
| | +-----> port 5601 - Kibana web interface |
54+
| Admin workstation +----+ | |
55+
| | +-----> port 9200 - Elasticsearch JSON interface |
56+
+----------------------+ | |
57+
| port 9292 - Logstash web interface (unused) |
58+
+----------------------+ | |
59+
| Server | | port 9300 - Elasticsearch transport interface |
60+
| +------------------+ | | |
61+
| |logstash forwarder+------------> port 5000 - Logstash server |
62+
| +------------------+ | | |
63+
+----------------------+ +------------------------------------------------+
6264

6365
Access Kibana's web interface by browsing to `http://<your-host>:5601`, where `<your-host>` is the hostname or IP address of the host Docker is running on (see note), e.g. `localhost` if running a local native version of Docker, or the IP address of the virtual machine if running a VM-hosted version of Docker (see note).
6466

0 commit comments

Comments
 (0)