Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 804a1b4

Browse files
author
Chris Wiechmann
committed
Filebeat also needs to know the location of ES for Stack-Monitoring
1 parent 4c34188 commit 804a1b4

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.env

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ APIGATEWAY_LOGS_FOLDER=/home/localuser/Axway-x.y.z/apigateway/logs/opentraffic
44
APIGATEWAY_TRACES_FOLDER=/home/localuser/Axway-x.y.z/apigateway/groups/group-2/instance-1/trace
55

66
# ----------------------------------------------------------------------------------------------
7-
# This variable is used by the API-Builder to locate the Elasticsearch instance
7+
# This variable is used by API-Builder to locate the Elasticsearch instance
88
# When using the default docker-compose.yaml the following default parameter will work.
9-
# But, when running the ElasticSearch on a difference host (e.g. existing Elastic-Search cluster)
10-
# this environment variable is used by the API-Builder to locate the ElasticSearch cluster.
9+
# When running the ElasticSearch on a difference host (e.g. existing Elastic-Search cluster)
10+
# this environment variable is used by API-Builder to locate the ElasticSearch cluster.
1111
ELASTIC_NODE=http://elasticsearch1:9200
1212

1313
# ----------------------------------------------------------------------------------------------
1414
# This variable is used by Logstash to communicate with the Lookup-API, which is used to
1515
# enrich documents before sending it to ElasticSearch.
1616
# When using the default docker-compose.yml the default setting will work.
17-
# But, if the API-Builder process is running somewhere else (e.g. externally), you have to make
18-
# this environment variable available to the Logstash Docker-Container.
17+
# But, if the API-Builder process is running somewhere else (e.g. in a K8S), you have to
18+
# configure this environment variable correctly.
1919
API_BUILDER_URL=http://elk-traffic-monitor-api:8080
2020

2121

@@ -24,14 +24,14 @@ API_BUILDER_URL=http://elk-traffic-monitor-api:8080
2424
# API-Management platform (Admin-Node-Manager & API-Manager)
2525

2626
# The Connection/URL to the Admin-Node-Manager.
27-
# IMPORTANT NOTE:
27+
# !!!! IMPORTANT NOTE !!!!
2828
# This URL must be reachable/resolveable from within the API-Builder Docker-Container!
2929
ADMIN_NODE_MANAGER=https://api-env:8090
3030

3131
# ----------------------------------------------------------------------------------------------
3232
# The Connection/URL to the API-Manager. If not given, the same as Admin-Node-Manager URL with
3333
# port 8075 is used.
34-
# IMPORTANT NOTE:
34+
# !!!! IMPORTANT NOTE !!!!
3535
# This URL must be reachable/resolveable from within the API-Builder Docker-Container!
3636
# API_MANAGER=https://api-env:8075
3737

@@ -50,8 +50,7 @@ API_MANAGER_PASSWORD=changeme
5050
LOGSTASH=logstash:5044
5151

5252
# ----------------------------------------------------------------------------------------------
53-
# This is an optional parameter used by Filebeat to set a proper name. This allows to better
54-
# monitor Filebeat instances in the Kibana-Stack Monitoring dashboards.
55-
# parameter.
53+
# This is an optional parameter used by Filebeat to set a proper name. This allows for instance
54+
# to identify the different Filebeat instances in the Kibana-Stack Monitoring dashboards.
5655
# Defaults to: "Filebeat Gateway"
5756
# FILEBEAT_NAME

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ services:
5858
- setup.kibana.host=kibana:5601
5959
- output.elasticsearch.hosts=["elasticsearch1:9200"]
6060
- LOGSTASH=${LOGSTASH}
61+
- ELASTIC_NODE=${ELASTIC_NODE}
6162
ports:
6263
- 9000:9000
6364
volumes:

0 commit comments

Comments
 (0)