-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7120143
commit df2eb3a
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## ELK Stack | ||
|
||
### Elastic Search | ||
> is a no sql db that stores the data from various sources | ||
### Logstash | ||
> is a service that can collect the data from various sources & pushes to Elastic Search DB | ||
### beats | ||
> beats are small agents, that can collet the data from various sources & push data to either Logstash or directly to Elastic Search DB | ||
### Kibana | ||
> 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. | ||
|
||
## Deploy Elatic Search, Kibana & Filebeat on kubernetes Cluster | ||
|
||
>> **Note: the stack requries minimum of 2cpu/4gb ram in each worker node where they will run" | ||
```sh | ||
kubectl apply -f https://github.com/lerndevops/labs/raw/master/elk/elastic-search.yaml | ||
``` | ||
|
||
```sh | ||
kubectl apply -f https://github.com/lerndevops/labs/raw/master/elk/kibana.yaml | ||
``` | ||
|
||
```sh | ||
kubectl apply -f https://github.com/lerndevops/labs/raw/master/elk/filebeat.yaml | ||
``` | ||
|
||
## get kibana login credentials | ||
> **username** | ||
```sh | ||
kubectl get secrets --namespace=default elasticsearch-master-credentials -ojsonpath='{.data.username}' | base64 -d ; echo | ||
``` | ||
|
||
> **password** | ||
```sh | ||
kubectl get secrets --namespace=default elasticsearch-master-credentials -ojsonpath='{.data.password}' | base64 -d ; echo | ||
``` |