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

Commit 3aeabdb

Browse files
author
Chris Wiechmann
committed
Bugfix. Filebeat does not see most recent OpenTraffic-File
1 parent fabe5f6 commit 3aeabdb

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1414

1515
### Fixed
1616
- Error initializing cluster when having multiple ELASTICSEARCH_HOSTS configured [#150](https://github.com/Axway-API-Management-Plus/apigateway-openlogging-elk/issues/150)
17+
- Filebeat ignored most recent OpenTraffic file due to a wrong filename pattern (*_traffic_*.log --> *_traffic*.log)
1718

1819
## [3.6.0] 2021-09-20
1920
### Added

filebeat/filebeat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ http.host: "0.0.0.0"
1313

1414
filebeat.inputs:
1515
- type: log
16-
paths: ["/var/log/opentraffic/*_traffic_*.log"]
16+
paths: ["/var/log/opentraffic/*_traffic*.log"]
1717
close_inactive: 5m # Close filehandlers, if the file has not changed anymore
1818
json.keys_under_root: true
1919
json.overwrite_keys: false

helm/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ filebeat:
585585
586586
filebeat.inputs:
587587
- type: log
588-
paths: ["/var/opentraffic/*_traffic_*.log"]
588+
paths: ["/var/opentraffic/*_traffic*.log"]
589589
close_inactive: 5m # Close filehandlers, if the file has not changed anymore
590590
json.keys_under_root: true
591591
json.overwrite_keys: false

0 commit comments

Comments
 (0)