@@ -15,6 +15,7 @@ filebeat.inputs:
1515 logtype : openlog
1616 gatewayName : ${GATEWAY_NAME:"API-Gateway"}
1717 gatewayRegion : ${GATEWAY_REGION:"N/A"}
18+ version : " 1"
1819
1920- type : log
2021 paths : ["/var/log/trace/*.trc"]
@@ -27,6 +28,7 @@ filebeat.inputs:
2728 logtype : trace
2829 gatewayName : ${GATEWAY_NAME:"API-Gateway"}
2930 gatewayRegion : ${GATEWAY_REGION:"N/A"}
31+ version : " 1"
3032
3133- type : log
3234 paths : ["/var/log/events/*.log", "/var/log/events/processed/*.log.PROCESSED"]
@@ -38,6 +40,19 @@ filebeat.inputs:
3840 logtype : events
3941 gatewayName : ${GATEWAY_NAME:"API-Gateway"}
4042 gatewayRegion : ${GATEWAY_REGION:"N/A"}
43+ version : " 1"
44+
45+ - type : log
46+ paths : ["/var/log/audit/*.log"]
47+ json.keys_under_root : true
48+ json.overwrite_keys : false
49+ json.add_error_key : true
50+ fields_under_root : true
51+ fields :
52+ logtype : domainaudit
53+ gatewayName : ${GATEWAY_NAME:"API-Gateway"}
54+ gatewayRegion : ${GATEWAY_REGION:"N/A"}
55+ version : " 1"
4156
4257# Required for Trace-Messages logged by the API-Gateway
4358processors :
@@ -49,8 +64,9 @@ output.logstash:
4964
5065monitoring :
5166 enabled : true
52- # Get the Cluster-ID (cluster_uuid) with this simple query: http://elasticsearch1:9200/
53- # This links this filebeat instance to the Cluster with the given ID
67+ # Get the Cluster-ID (cluster_uuid) with this simple query: https://elasticsearch1:9200/
68+ # This links this filebeat instance to the Cluster with the given ID to enable monitoring
69+ # It's also required to setup the beats_system user
5470 cluster_uuid : ${ELASTICSEARCH_CLUSTER_UUID:ELASTICSEARCH_CLUSTER_UUID-NOT-SET}
5571 elasticsearch :
5672 hosts : ${ELASTICSEARCH_HOSTS}
0 commit comments