Skip to content

Commit 7877958

Browse files
Merge pull request #3906 from manticoresoftware/test/test-integrations-fluentbit-1
Update FluentBit integration test
2 parents 051efb7 + 0f96c14 commit 7877958

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

test/clt-tests/integrations/fluentbit/test-integrations-fluentbit.rec

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,28 @@ mkdir -p /usr/share/fluentbit/fluentbit && cd /usr/share/fluentbit
1919
echo -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 –––
2424
0
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 –––
2941
fluent-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 –––
3345
echo -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 –––

0 commit comments

Comments
 (0)