Skip to content

Commit

Permalink
docs: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-maganto committed Feb 2, 2023
1 parent 35cf476 commit 9f57034
Showing 1 changed file with 15 additions and 26 deletions.
41 changes: 15 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,34 +50,32 @@ customParsers: |
Decode_Field_As json log
filters: |
[FILTER]
Name kubernetes
Match kube.*
Merge_Log On
Keep_Log Off
K8S-Logging.Parser On
K8S-Logging.Exclude On
Buffer_Size 64K
# Merge_Log_Key log_processed
Name record_modifier
Match tekton.*
Remove_key stream
Remove_key stdout
Remove_key time
Remove_key date
input: |
[INPUT]
Name tail
Alias tekton-semantic
Path /var/log/containers/*_build-release_*
Parser docker-custom
Tag kube.tekton.<namespace_name>.<pod_name>.<container_name>
Tag tekton.<namespace_name>.<pod_name>.<container_name>
Tag_Regex (?<pod_name>[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)_(?<namespace_name>[^_]+)_(?<container_name>.+)-
Mem_Buf_Limit 100MB
Refresh_Interval 60
outputs: |
[OUTPUT]
Name s3
Alias s3_tekton_logs
Match kube.tekton.*
bucket YOUR_BUCKER
Match tekton.*
bucket YOUR_BUCKET
region eu-central-1
total_file_size 250M
upload_timeout 1m
s3_key_format /$TAG[2]/$TAG[3]/$TAG[4]/%Y%m%d%H%M%S.log
s3_key_format /$TAG[1]/$TAG[2]/$TAG[3]/%Y%m%d%H%M%S.log
s3_key_format_tag_delimiters .
```
#### Containerd
Expand All @@ -91,18 +89,9 @@ customParsers: |
Time_Key time
Time_Format %Y-%m-%dT%H:%M:%S.%L%z
filters: |
[FILTER]
Name kubernetes
Match kube.*
Merge_Log On
Keep_Log Off
K8S-Logging.Parser On
K8S-Logging.Exclude On
Buffer_Size 64K
# Merge_Log_Key log_processed
[FILTER]
Name record_modifier
Match kube.*
Match tekton.*
Remove_key logtag
Remove_key stream
inputs: |
Expand All @@ -111,7 +100,7 @@ inputs: |
Alias tekton-semantic
Path /var/log/containers/*_build-release_*
Parser cri-custom
Tag kube.tekton.<namespace_name>.<pod_name>.<container_name>
Tag tekton.<namespace_name>.<pod_name>.<container_name>
Tag_Regex (?<pod_name>[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)_(?<namespace_name>[^_]+)_(?<container_name>.+)-
Mem_Buf_Limit 100MB
Refresh_Interval 60
Expand All @@ -124,12 +113,12 @@ outputs: |
[OUTPUT]
Name s3
Alias s3_tekton_logs
Match kube.tekton.*
bucket YOUR_BUCKER
Match tekton.*
bucket YOUR_BUCKET
region eu-central-1
total_file_size 250M
upload_timeout 1m
s3_key_format /$TAG[2]/$TAG[3]/$TAG[4]/%Y%m%d%H%M%S.log
s3_key_format /$TAG[1]/$TAG[2]/$TAG[3]/%Y%m%d%H%M%S.log
s3_key_format_tag_delimiters .
```
### Tekton Dashboard Configuration
Expand Down

0 comments on commit 9f57034

Please sign in to comment.