Skip to content

Commit

Permalink
Update bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Seonghyeon Cho <seonghyeoncho96@gmail.com>
  • Loading branch information
sh-cho committed Sep 14, 2024
1 parent d5c2fca commit 8f317f1
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ jobs:
test-python: true
test-go: true
test-swift: ${{runner.os == 'macOS'}}
# TODO: parse examples
- name: Parse examples
uses: tree-sitter/parse-action@v4
with:
files: examples/*
57 changes: 57 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ path = "bindings/rust/lib.rs"
tree-sitter-language = "0.1.0"

[build-dependencies]
cc = "1.0"
cc = "1.1.18"

[dev-dependencies]
tree-sitter = "0.23.0"
12 changes: 10 additions & 2 deletions Package.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions examples/kubernetes.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[SERVICE]
Parsers_File /fluent-bit/parsers/parsers.conf

[INPUT]
Name tail
Tag kube.*
Path /var/log/containers/*.log
DB /var/log/flb_kube.db
Parser docker
Docker_Mode On
Mem_Buf_Limit 5MB
Skip_Long_Lines On
Refresh_Interval 10

[FILTER]
Name kubernetes
Match kube.*
Kube_URL https://kubernetes.default.svc.cluster.local:443
Merge_Log On
Merge_Log_Key data
K8S-Logging.Parser On
K8S-Logging.Exclude On

[OUTPUT]
Name cloudwatch
Match **
region us-east-2
log_group_name fluentbit-cloudwatch
log_stream_prefix fluentbit-
auto_create_group true

0 comments on commit 8f317f1

Please sign in to comment.