AdvantEDGE uses Elastic Stack to provide monitoring capabilities.
Prior to using AdvantEDGE's monitoring feature, it is necessary to configure it.
The following steps explain how to configure monitoring.
## Pre-requisites
- Familiarize with [AdvantEDGE Concepts](../concepts.md)
-[Deploy AdvantEDGE](../deploy.md)
## Elastic Stack
AdvantEDGE uses [Elastic Stack](https://www.elastic.co/products/) as a monitoring pipeline. It provides centralized logging for AdvantEDGE scenarios and core components. Elastic Stack components run in pods on the platform.
[Kibana](https://www.elastic.co/products/kibana) is the visualization component of Elastic Stack, it runs in a pod on the K8s cluster and provides a frontend of its own.
@@ -18,11 +21,14 @@ To access Kibana frontend, open AdvantEDGE frontend `<your-node-ipaddress>:30000
This will open a new browser tab with the Kibana frontend in it.
## Configure Monitoring
Prior to using the monitoring pipeline, it is necessary to configure it.
Configuration is done by issuing the following command:
'''
```
meepctl config kibana
'''
```
> **Note:** This command must be run every time the Elastic Stack is reinstalled on the platform
As a result, all the saved objects needed to populate Kibana's dashboards and index pattern are set.
@@ -75,7 +75,9 @@ When the external UE moves in the network and transitions from one edge instance
The following steps need to be done prior to using this scenario
#### Build demo binaries
#### Obtain demo binaries
##### Build from source
To build _iperf-proxy_ & _demo-server_ binaries from source code:
@@ -86,6 +88,14 @@ cd ~/AdvantEDGE/examples/demo1/
> **NOTE:** Binary files are created in ./bin/ folder
##### Optionally use pre-built binaries (from GitHub release)
```
# Get bin folder tarball from desired release
cd ~/AdvantEDGE/examples/demo1
tar -zxvf demo1.<version>.linux-amd64.tar.gz
```
#### Dockerize demo applications
Demo Application binaries must be dockerized (containerized) as container images in the local Docker registry. This step is necessary every time the demo binaries are updated.
@@ -99,12 +109,7 @@ cd ~/AdvantEDGE/examples/demo1/
#### Configure demo specific dashboards
Only need to do it once, or when the demo dashboard changes
Follow the procedure described in [Scenario Monitoring](../../docs/use/monitoring.md#configure-dashboards). The demo specific dashboard that is loaded can also be found at `AdvantEDGE/examples/demo1/demo1-dashboards.json`
> Demo specific dashboards are stored in Kibana.<br>
> Next time you want to use the demo scenario; demo specific dashboard will be available.
Follow the procedure described in [Scenario Monitoring](../../docs/use/monitoring.md#configure-dashboards). The demo specific dashboard that is loaded can also be found at `~/AdvantEDGE/examples/demo1/demo1-dashboards.json`