File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
test/clt-tests/integrations/fluentbit Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,28 @@ mkdir -p /usr/share/fluentbit/fluentbit && cd /usr/share/fluentbit
1919echo -e "[SERVICE]\n flush 1\n daemon On\n log_level info\n\n[INPUT]\n name tail\n path /var/log/dpkg.log\n inotify_watcher false\n read_from_head true\n\n[OUTPUT]\n name es\n match *\n host 127.0.0.1\n port 9308\n index dpkg_log" > /usr/share/fluentbit/fluentbit/fluentbit.conf
2020––– output –––
2121––– input –––
22- bash -c "$( curl -s https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh)" > /dev/null 2>&1; echo $?
22+ curl -fsSL https://packages.fluentbit.io/fluentbit.key | gpg --dearmor -o /usr/share/keyrings/fluentbit-keyring.gpg; echo $?
2323––– output –––
24240
2525––– input –––
26- ln -s /opt/fluent-bit/bin/fluent-bit /usr/bin/ fluent-bit
26+ echo "deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/ubuntu/noble noble main" > /etc/apt/sources.list.d/ fluent-bit.list
2727––– output –––
2828––– input –––
29+ apt-get update > /dev/null 2>&1; echo $?
30+ ––– output –––
31+ 0
32+ ––– input –––
33+ apt-get install -y fluent-bit > /dev/null 2>&1; echo $?
34+ ––– output –––
35+ 0
36+ ––– input –––
37+ ln -sf /opt/fluent-bit/bin/fluent-bit /usr/bin/fluent-bit 2>/dev/null; echo $?
38+ ––– output –––
39+ 0
40+ ––– input –––
2941fluent-bit --version | grep 'Fluent Bit'
3042––– output –––
31- Fluent Bit v#!/[0-9]{1}\.[0-9]{1}\.[0-9]{1,2}/!#
43+ Fluent Bit v#!/[0-9]{1,2 }\.[0-9]{1,2 }\.[0-9]{1,2}/!#
3244––– input –––
3345echo -e "2023-05-31 10:42:55 status triggers-awaited ca-certificates-java:all 20190405ubuntu1.1\n2023-05-31 10:42:55 trigproc libc-bin:amd64 2.31-0ubuntu9.9 <none>\n2023-05-31 10:42:55 status half-configured libc-bin:amd64 2.31-0ubuntu9.9\n2023-05-31 10:42:55 status installed libc-bin:amd64 2.31-0ubuntu9.9\n2023-05-31 10:42:55 trigproc systemd:amd64 245.4-4ubuntu3.21 <none>" > /var/log/dpkg.log; echo $?
3446––– output –––
You can’t perform that action at this time.
0 commit comments