Skip to content

Commit b449dd2

Browse files
author
jmanuelcorral
committed
Updated pointing to ELK external service for testing and demo purposes, documentation update
1 parent 905f855 commit b449dd2

1 file changed

Lines changed: 48 additions & 2 deletions

File tree

elk/Readme.md

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,51 @@ This options it have a certified preconfigured options (Network, VirtualMachine
3838

3939
![](img/elk/create-vm-elk-azure-summary.png)
4040

41-
When you have configured the main aspects of your virtual machine, you will have a review&create last step like this:
42-
![](img/elk/create-vm-elk-azure-last-step.png)
41+
When you have configured the main aspects of your virtual machine, you will have a "review & create" last step like this:
42+
![](img/elk/create-vm-elk-azure-last-step.png)
43+
44+
### Configuring the bitnami environment
45+
46+
This virtual machine has a lot of configuration pipeing done. If you want to change something of the default configuration you can address this documentation:
47+
[https://docs.bitnami.com/virtual-machine/apps/elk/get-started/](https://docs.bitnami.com/virtual-machine/apps/elk/get-started/)
48+
49+
The only thing you have to change is the logstash configuration inside the machine. This configuration is at the file ```/opt/bitnami/logstash/conf/logstash.conf```
50+
You must edit the file and overwrite with this configuration:
51+
```conf
52+
input {
53+
http {
54+
#default host 0.0.0.0:8080
55+
codec => json
56+
}
57+
}
58+
59+
## Add your filters / logstash plugins configuration here
60+
filter {
61+
split {
62+
field => "events"
63+
target => "e"
64+
remove_field => "events"
65+
}
66+
}
67+
68+
output {
69+
elasticsearch {
70+
hosts => "elasticsearch:9200"
71+
index=>"eshops-%{+xxxx.ww}"
72+
}
73+
}
74+
```
75+
76+
For doing this you can connect via ssh to the vm and edit the file using the vi editor for example.
77+
When the file will be edited, check there are Inbound Port Rules created for the logstash service. You can do it going to Networking Menu on your ELK Virtual Machine Resource in Azure.
78+
79+
![](img/elk/azure-nsg-inboundportsConfig.png)
80+
81+
The only thing that remains is to connect to your vm vía browser. And check the bitnami splash page is showing.
82+
83+
![](img/elk/bitnami_splash.png)
84+
85+
You can get the password for accessing going to your virtual machine in azure and check the boot diagnostics, theres a message that shows to you which is your password.
86+
87+
When you have the user and password you can access to the kibana tool, and create the ```eshops-*``` index pattern that is well documented at the beggining of this documentation and then start to discover.
88+
![](img/elk/)

0 commit comments

Comments
 (0)