Open so3500 opened 5 months ago
https://www.elastic.co/guide/en/beats/filebeat/7.17/kafka-output.html
hosts
PLAIN
for SASL/PLAINSCRAM-SHA-256
for SCRAM-SHA-256SCRAM-SHA-512
for SCRAM-SHA-512sasl.mechainsm
is not set, PLAIN
is used if username
and password
are provided. Otherwise, SASL authentication is disabled.https://www.elastic.co/guide/en/beats/filebeat/7.17/filebeat-input-log.html
The log input is deprecated. Please use the
filestream input
for sending log files to ouptut
Use the log
input to read lines from log files.
To configuration this input, specify a list of glob-based paths
that must be crawled to locate and fetch the log lines.
example configuration:
filebeat.inputs:
- type: log
paths:
- /var/log/messages
- /var/log/*.log
you can apply additional configuraton settings (such as fileds, include_lines, exclude_lines, multiline, ...)
tail_files
tail_files
will not apply. Harvesting will continue at the previous offset. To apply tail_files
to all files, you must stop Filebeat and remove the registry file, Be aware that doing this removes ALL previous state
Filebeat