Skip to content

Commit df2eb3a

Browse files
authored
create README.md
1 parent 7120143 commit df2eb3a

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

elk/README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## ELK Stack
2+
3+
### Elastic Search
4+
> is a no sql db that stores the data from various sources
5+
6+
### Logstash
7+
> is a service that can collect the data from various sources & pushes to Elastic Search DB
8+
9+
### beats
10+
> beats are small agents, that can collet the data from various sources & push data to either Logstash or directly to Elastic Search DB
11+
12+
### Kibana
13+
> Kibana is a data visualization and exploration tool used for log and time-series analytics, application monitoring, and operational intelligence use cases. It offers powerful and easy-to-use features such as histograms, line graphs, pie charts, heat maps, and built-in geospatial support.
14+
15+
16+
## Deploy Elatic Search, Kibana & Filebeat on kubernetes Cluster
17+
18+
>> **Note: the stack requries minimum of 2cpu/4gb ram in each worker node where they will run"
19+
20+
```sh
21+
kubectl apply -f https://github.com/lerndevops/labs/raw/master/elk/elastic-search.yaml
22+
```
23+
24+
```sh
25+
kubectl apply -f https://github.com/lerndevops/labs/raw/master/elk/kibana.yaml
26+
```
27+
28+
```sh
29+
kubectl apply -f https://github.com/lerndevops/labs/raw/master/elk/filebeat.yaml
30+
```
31+
32+
## get kibana login credentials
33+
> **username**
34+
```sh
35+
kubectl get secrets --namespace=default elasticsearch-master-credentials -ojsonpath='{.data.username}' | base64 -d ; echo
36+
```
37+
38+
> **password**
39+
```sh
40+
kubectl get secrets --namespace=default elasticsearch-master-credentials -ojsonpath='{.data.password}' | base64 -d ; echo
41+
```

0 commit comments

Comments
 (0)