Skip to content

Commit d512656

Browse files
committed
config_format: Convert many parser*.conf references to parser*.yaml
While it's still possible to build without libyaml, it is included by default and none of our canned builds/distro-packagings disable it. So, update all clear-cut references to conf/parser*.conf files to the corresponding .yaml. Also updated some occurances in documentation and examples. Generally did not touch most of tests/{internal,runtime}/, unless they were referencing the toplevel conf/ dir. Signed-off-by: Hank Leininger <[email protected]>
1 parent 0c52acc commit d512656

File tree

15 files changed

+43
-36
lines changed

15 files changed

+43
-36
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast data collector for Linux")
15221522
set(CPACK_RPM_SPEC_MORE_DEFINE "%define ignore \#")
15231523
set(CPACK_RPM_RUNTIME_USER_FILELIST
15241524
"%config(noreplace) /etc/${FLB_OUT_NAME}/${FLB_OUT_NAME}.conf"
1525-
"%config(noreplace) /etc/${FLB_OUT_NAME}/parsers.conf"
1525+
"%config(noreplace) /etc/${FLB_OUT_NAME}/parsers.yaml"
15261526
"%config(noreplace) /etc/${FLB_OUT_NAME}/plugins.conf"
15271527
"%ignore /lib"
15281528
"%ignore /lib/systemd"

conf/fluent-bit-macos.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Parsers File
2626
# ============
2727
# specify an optional 'Parsers' configuration file
28-
parsers_file parsers.conf
28+
parsers_file parsers.yaml
2929

3030
# Plugins File
3131
# ============

conf/fluent-bit-win32.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Parsers File
2626
# ============
2727
# specify an optional 'Parsers' configuration file
28-
parsers_file parsers.conf
28+
parsers_file parsers.yaml
2929

3030
# Plugins File
3131
# ============

conf/fluent-bit.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Parsers File
2626
# ============
2727
# specify an optional 'Parsers' configuration file
28-
parsers_file parsers.conf
28+
parsers_file parsers.yaml
2929

3030
# Plugins File
3131
# ============

conf/kube.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Flush 1
33
Daemon Off
44
Log_Level info
5-
Parsers_File parsers.conf
5+
Parsers_File parsers.yaml
66

77
[INPUT]
88
Name tail

conf/kube_elasticsearch.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Flush 5
33
Daemon Off
44
Log_Level info
5-
Parsers_File parsers.conf
5+
Parsers_File parsers.yaml
66

77
[INPUT]
88
Name tail

conf/rate_limit.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Flush 1
33
Daemon Off
44
Log_Level info
5-
Parsers_File parsers.conf
5+
Parsers_File parsers.yaml
66

77
[INPUT]
88
Name tail
@@ -22,4 +22,4 @@
2222
call rate_limit
2323
[OUTPUT]
2424
Name stdout
25-
Match *
25+
Match *

cpack/debian/conffiles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/etc/fluent-bit/parsers.conf
1+
/etc/fluent-bit/parsers.yaml
22
/etc/fluent-bit/plugins.conf
33
/etc/fluent-bit/fluent-bit.conf

dockerfiles/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ RUN install bin/fluent-bit /fluent-bit/bin/
100100

101101
# Configuration files
102102
COPY conf/fluent-bit.conf \
103-
conf/parsers.conf \
104-
conf/parsers_ambassador.conf \
105-
conf/parsers_java.conf \
106-
conf/parsers_extra.conf \
107-
conf/parsers_openstack.conf \
108-
conf/parsers_cinder.conf \
103+
conf/parsers.yaml \
104+
conf/parsers_ambassador.yaml \
105+
conf/parsers_java.yaml \
106+
conf/parsers_extra.yaml \
107+
conf/parsers_openstack.yaml \
108+
conf/parsers_cinder.yaml \
109109
conf/plugins.conf \
110110
/fluent-bit/etc/
111111

dockerfiles/Dockerfile.windows

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,12 @@ WORKDIR /fluent-bit/bin
187187
# Set up config files and binaries in single /fluent-bit hierarchy for easy copy in later stage
188188
RUN New-Item -Path /fluent-bit/etc/ -ItemType "directory"; `
189189
Copy-Item -Path /src/conf/fluent-bit-win32.conf /fluent-bit/etc/fluent-bit.conf; `
190-
Copy-Item -Path /src/conf/parsers.conf /fluent-bit/etc/; `
191-
Copy-Item -Path /src/conf/parsers_ambassador.conf /fluent-bit/etc/; `
192-
Copy-Item -Path /src/conf/parsers_java.conf /fluent-bit/etc/; `
193-
Copy-Item -Path /src/conf/parsers_extra.conf /fluent-bit/etc/; `
194-
Copy-Item -Path /src/conf/parsers_openstack.conf /fluent-bit/etc/; `
195-
Copy-Item -Path /src/conf/parsers_cinder.conf /fluent-bit/etc/; `
190+
Copy-Item -Path /src/conf/parsers.yaml /fluent-bit/etc/; `
191+
Copy-Item -Path /src/conf/parsers_ambassador.yaml /fluent-bit/etc/; `
192+
Copy-Item -Path /src/conf/parsers_java.yaml /fluent-bit/etc/; `
193+
Copy-Item -Path /src/conf/parsers_extra.yaml /fluent-bit/etc/; `
194+
Copy-Item -Path /src/conf/parsers_openstack.yaml /fluent-bit/etc/; `
195+
Copy-Item -Path /src/conf/parsers_cinder.yaml /fluent-bit/etc/; `
196196
Copy-Item -Path /src/conf/plugins.conf /fluent-bit/etc/; `
197197
Copy-Item -Path /src/build/bin/fluent-bit.exe /fluent-bit/bin/;
198198

0 commit comments

Comments
 (0)