You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elk/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
This project builds a two-server ELK stack using Elasticsearch, Logstash, Kibana, and Filebeat to ship, store, and expose logs.
4
4
5
-
The first server (`logs`) has the entire ELK stack running, and pushes local auth.log entries into Elasticsearch via Filebeat and Logstash. The second server (`webs`) runs an Nginx webserver and pushes the webserver access.log file and the server's auth.log entries into Elasticsearch via the `logs` server's Logstash instance.
5
+
The first server (`logs`) has the entire ELK stack running, and pushes local auth.log entries into Elasticsearch via Filebeat and Logstash. The second server (`web`) runs an Nginx webserver and pushes the webserver access.log file and the server's auth.log entries into Elasticsearch via the `logs` server's Logstash instance.
6
6
7
-
Logs are transmitted securely using a self-signed certificate (see the `elk-vagrant-example` certificate).
7
+
Logs are transmitted securely using a self-signed certificate (see the `elk-example` certificate).
8
8
9
9
## Building the VMs
10
10
@@ -14,18 +14,18 @@ Logs are transmitted securely using a self-signed certificate (see the `elk-vagr
14
14
4. Run `ansible-galaxy install -r requirements.yml` in this directory to get the required Ansible roles.
15
15
5. Run `vagrant up` to build the VMs.
16
16
17
-
Once the VMs are up and running (after `vagrant up` is complete and you're back at the command prompt), you can log into either one via SSH if you'd like by typing in `vagrant ssh [name]` (either `logs` for the ELK server, or `webs` for the Nginx web server). Otherwise, the next steps are below.
17
+
Once the VMs are up and running (after `vagrant up` is complete and you're back at the command prompt), you can log into either one via SSH if you'd like by typing in `vagrant ssh [name]` (either `logs` for the ELK server, or `web` for the Nginx web server). Otherwise, the next steps are below.
18
18
19
19
### Setting up your hosts file
20
20
21
21
You need to modify your host machine's hosts file (Mac/Linux: `/etc/hosts`; Windows: `%systemroot%\system32\drivers\etc\hosts`), adding the lines below:
22
22
23
23
192.168.9.90 logs.test
24
-
192.168.9.91 webs.test
24
+
192.168.9.91 web.test
25
25
26
-
(Where `logs.test`/`webs.test` is the hostname you have configured in the `Vagrantfile`).
26
+
(Where `logs.test`/`web.test` is the hostname you have configured in the `Vagrantfile`).
27
27
28
-
After that is configured, you could visit http://logs.test/ in a browser, and you'll see the Kibana dashboard, and you can visit http://webs.test/, and you'll see Nginx's default index page.
28
+
After that is configured, you could visit http://logs.test/ in a browser, and you'll see the Kibana dashboard, and you can visit http://web.test/, and you'll see Nginx's default index page.
29
29
30
30
If you'd like additional assistance editing your hosts file, please read [How do I modify my hosts file?](http://www.rackspace.com/knowledge_center/article/how-do-i-modify-my-hosts-file) from Rackspace.
0 commit comments