Skip to content
Snippets Groups Projects
Verified Commit f154d211 authored by Martin Weise's avatar Martin Weise
Browse files

Works good

parent 99ef3017
No related branches found
No related tags found
1 merge request!411WIP
Showing
with 40 additions and 26 deletions
No preview for this file type
31b7fb02b0ee64b72460aabbcfd642fe 1562ad3e915b2887a6ef54a1f35c2159
\ No newline at end of file \ No newline at end of file
3f93b6217b6dc7694d15ecd752af2df84a458bda 9de9b96685d9adeb43855bee866809927943925d
\ No newline at end of file \ No newline at end of file
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<versions> <versions>
<version>1.8.1</version> <version>1.8.1</version>
</versions> </versions>
<lastUpdated>20250417170017</lastUpdated> <lastUpdated>20250419102735</lastUpdated>
</versioning> </versioning>
</metadata> </metadata>
59052bbb00ad9c74d837ede597de9ac4 221180cf0049016145639d0dd1a434a1
\ No newline at end of file \ No newline at end of file
dc0b2a3dd9f784e16ea1a4c359a9656cc11862a8 f221232ab20744e98ecef53721cb732826587619
\ No newline at end of file \ No newline at end of file
[SERVICE]
Flush 5
Daemon Off
Log_Level debug
Parsers_File parsers.conf
[INPUT] [INPUT]
Name cpu Name forward
Tag cpu Listen 0.0.0.0
Port 24224
[FILTER]
Name parser
Parser docker
Match *
Key_Name log
Reserve_Data On
Preserve_Key On
[OUTPUT] [OUTPUT]
Name opensearch Name opensearch
Match * Match *
Host search-db Host search-db
Port 9200 Port 9200
Index logging Index logging
Logstash_Format True Replace_Dots On
Logstash_Prefix dbrepo Include_Tag_Key On
\ No newline at end of file Suppress_Type_Name On
\ No newline at end of file
No preview for this file type
31b7fb02b0ee64b72460aabbcfd642fe 1562ad3e915b2887a6ef54a1f35c2159
\ No newline at end of file \ No newline at end of file
3f93b6217b6dc7694d15ecd752af2df84a458bda 9de9b96685d9adeb43855bee866809927943925d
\ No newline at end of file \ No newline at end of file
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<versions> <versions>
<version>1.8.1</version> <version>1.8.1</version>
</versions> </versions>
<lastUpdated>20250417170018</lastUpdated> <lastUpdated>20250419102737</lastUpdated>
</versioning> </versioning>
</metadata> </metadata>
725d5aecb7efb5b77615505e43e9354d 388b334e9b3a3684f8d05f5963b397dd
\ No newline at end of file \ No newline at end of file
32a5d4b6afe96feb91dbedfb60baf264a806724d ffc801220f6dafc44c81fa4f7a3a92062c236e64
\ No newline at end of file \ No newline at end of file
...@@ -60,8 +60,8 @@ x-healthcheck-params: &healthcheck-params ...@@ -60,8 +60,8 @@ x-healthcheck-params: &healthcheck-params
x-logging-params: &logging-params x-logging-params: &logging-params
driver: fluentd driver: fluentd
options: options:
fluentd-address: localhost:2020 fluentd-address: 127.0.0.1:24224
tag: dbrepo.logs tag: dbrepo
volumes: volumes:
metadata-db-data: metadata-db-data:
...@@ -755,13 +755,11 @@ services: ...@@ -755,13 +755,11 @@ services:
hostname: logging-service hostname: logging-service
image: docker.io/bitnami/fluent-bit:4.0.0 image: docker.io/bitnami/fluent-bit:4.0.0
ports: ports:
- "2020:2020" - "24224:24224"
environment:
FLUENTD_CONF: default.conf
volumes: volumes:
- ./dbrepo-logging-service/default.conf:/fluentd/etc/default.conf - ./dbrepo-logging-service/default.conf:/opt/bitnami/fluent-bit/conf/fluent-bit.conf
deploy: deploy:
<<: *resources-nano <<: *resources-micro
healthcheck: healthcheck:
test: ps -p 1 | grep "fluent-bit" test: ps -p 1 | grep "fluent-bit"
<<: *healthcheck-params <<: *healthcheck-params
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment