-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from felipe-loka/feat/add-loki
Feat/add loki
- Loading branch information
Showing
11 changed files
with
155 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[PARSER] | ||
Name docker-json | ||
Match * | ||
Format json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# File config: https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file | ||
|
||
# https://docs.fluentbit.io/manual/v/1.3/service | ||
[SERVICE] | ||
Flush 1 | ||
Log_Level debug | ||
Parsers_File /fluent-bit/etc/fluent-bit-parsers.conf | ||
|
||
# https://docs.fluentbit.io/manual/pipeline/inputs/forward | ||
[INPUTS] | ||
Name forward | ||
Listen 0.0.0.0 | ||
Port 24224 | ||
Buffer_Chunk_Size 1M | ||
Buffer_Max_Size 6M | ||
|
||
# https://docs.fluentbit.io/manual/pipeline/filters/parser | ||
[FILTER] | ||
Name parser | ||
Match * | ||
Key_Name log | ||
Parser docker-json | ||
Reserve_Data True | ||
|
||
# https://docs.fluentbit.io/manual/pipeline/filters/standard-output | ||
[OUTPUT] | ||
name stdout | ||
match * | ||
|
||
# https://docs.fluentbit.io/manual/pipeline/outputs/loki | ||
[OUTPUT] | ||
name loki | ||
match * | ||
host loki | ||
port 3100 | ||
labels collector=fluentbit, container_name=$container_name |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: 1 | ||
datasources: | ||
- name: Loki | ||
type: loki | ||
access: proxy | ||
url: http://loki:3100 | ||
basicAuth: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
auth_enabled: false | ||
|
||
server: | ||
http_listen_port: 3100 | ||
|
||
memberlist: | ||
join_members: | ||
- loki:7946 | ||
|
||
schema_config: | ||
configs: | ||
- from: 2021-08-01 | ||
store: tsdb | ||
object_store: s3 | ||
schema: v12 | ||
index: | ||
prefix: index_ | ||
period: 24h | ||
|
||
common: | ||
path_prefix: /loki | ||
replication_factor: 1 | ||
storage: | ||
s3: | ||
endpoint: minio:9000 | ||
insecure: true | ||
bucketnames: loki-data | ||
access_key_id: loki | ||
secret_access_key: supersecret | ||
s3forcepathstyle: true | ||
ring: | ||
kvstore: | ||
store: memberlist | ||
|
||
ruler: | ||
storage: | ||
s3: | ||
bucketnames: loki-ruler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters