Skip to content

Commit

Permalink
Update Fluent Bit configs (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 authored Dec 2, 2024
1 parent 60c341e commit 4e2aeaa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 37 deletions.
4 changes: 2 additions & 2 deletions linux/context/fluent-bit/aws/aws.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[FILTER]
Name aws
Match *
Match logs
imds_version v2
az true
ec2_instance_id true
Expand All @@ -12,5 +12,5 @@

[FILTER]
Name modify
Match *
Match logs
Rename Name runner_name
41 changes: 7 additions & 34 deletions linux/context/fluent-bit/common.conf
Original file line number Diff line number Diff line change
@@ -1,61 +1,34 @@
[FILTER]
Name sysinfo
Match *
Match logs
hostname_key hostname
kernel_version_key kernel_version
os_name_key os_name
os_version_key os_version

[INPUT]
Name cpu
Tag cpu
Tag logs
Interval_Sec 5

[OUTPUT]
Name http
Match cpu
Host logs.local.gha-runners.nvidia.com
Port 443
Uri /cpu
Format json
Tls on

[INPUT]
Name kmsg
Tag kernel

[OUTPUT]
Name http
Match kernel
Host logs.local.gha-runners.nvidia.com
Port 443
Uri /kernel
Format json
Tls on
Tag logs

[INPUT]
Name mem
Tag memory
Tag logs
Interval_Sec 5

[OUTPUT]
Name http
Match memory
Host logs.local.gha-runners.nvidia.com
Port 443
Uri /memory
Format json
Tls on

[INPUT]
Name systemd
Tag systemd
Tag logs

[OUTPUT]
Name http
Match systemd
Match logs
Host logs.local.gha-runners.nvidia.com
Port 443
Uri /systemd
Uri /logs
Format json
Tls on
2 changes: 1 addition & 1 deletion linux/context/fluent-bit/qemu/qemu.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[FILTER]
Name lua
Match *
Match logs
script conf.d/add_node_name.lua
call add_node_name

0 comments on commit 4e2aeaa

Please sign in to comment.