Commit aca46557 authored by Ophélie Gagnard's avatar Ophélie Gagnard Committed by Ophélie Gagnard

src/: Add a configuration file flb.conf

Makefile: Support flb.conf installation.
parent 47ef6cd1
......@@ -11,15 +11,18 @@ build:
.PHONY: install
install: all
install -d $(DESTDIR)$(PREFIX)/lib/
install -d $(DESTDIR)$(PREFIX)/etc/
install -d $(DESTDIR)$(PREFIX)/include/
cp build/libfluentbit_wendelin.so $(DESTDIR)$(PREFIX)/lib/
install -d $(DESTDIR)$(PREFIX)/lib/
cp src/configuration-files/flb.conf $(DESTDIR)$(PREFIX)/etc/
cp build/libfluentbit_wendelin.h $(DESTDIR)$(PREFIX)/include/
cp build/libfluentbit_wendelin.so $(DESTDIR)$(PREFIX)/lib/
.PHONY: uninstall
uninstall:
rm -f $(DESTDIR)$(PREFIX)/lib/libfluentbit_wendelin.so
rm -f $(DESTDIR)$(PREFIX)/etc/flb.conf
rm -f $(DESTDIR)$(PREFIX)/include/libfluentbit_wendelin.h
rm -f $(DESTDIR)$(PREFIX)/lib/libfluentbit_wendelin.so
.PHONY: clean
clean:
......
[SERVICE]
flush 5
[INPUT]
name tail
path /var/log/metadata_collect.log
[output]
name fluentbit_wendelin
match *
streamtool_uri https://softinst157546.host.vifib.net/erp5/portal_ingestion_policies/metadata_upload
user zope
password qxrfkwod
buffer_type memory
flush_interval 60s
disable_retry_limit true
reference c-light-data_05
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment