Differential D6635 Diff 24165 site-modules/profile/templates/systemd_journal/journalbeat/journalbeat.yml.erb
Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/templates/systemd_journal/journalbeat/journalbeat.yml.erb
#======================== Journalbeat Configuration ============================ | #======================== Journalbeat Configuration ============================ | ||||
journalbeat: | journalbeat: | ||||
inputs: | |||||
# Paths that should be crawled and fetched. Possible values files and directories. | |||||
# When setting a directory, all journals under it are merged. | |||||
# When empty starts to read from local journal. | |||||
- paths: [] | |||||
# What position in journald to seek to at start up | # What position in journald to seek to at start up | ||||
# options: cursor, tail, head (defaults to tail) | # options: cursor, tail, head (defaults to tail) | ||||
seek_position: cursor | seek_position: cursor | ||||
# If seek_position is set to cursor and seeking to cursor fails | # If seek_position is set to cursor and seeking to cursor fails | ||||
# fall back to this method. If set to none will it will exit | # fall back to this method. If set to none will it will exit | ||||
# options: tail, head, none (defaults to tail) | # options: tail, head, none (defaults to tail) | ||||
cursor_seek_fallback: head | cursor_seek_fallback: head | ||||
# Store the cursor of the successfully published events | |||||
write_cursor_state: true | |||||
# Path to the file to store the cursor (defaults to ".journalbeat-cursor-state") | |||||
cursor_state_file: cursor-state | |||||
# How frequently should we save the cursor to disk (defaults to 5s) | # How frequently should we save the cursor to disk (defaults to 5s) | ||||
#cursor_flush_period: 5s | #cursor_flush_period: 5s | ||||
# Path to the file to store the queue of events pending (defaults to ".journalbeat-pending-queue") | # Path to the file to store the queue of events pending (defaults to ".journalbeat-pending-queue") | ||||
pending_queue.file: pending-queue | pending_queue.file: pending-queue | ||||
# How frequently should we save the queue to disk (defaults to 1s). | # How frequently should we save the queue to disk (defaults to 1s). | ||||
# Pending queue represents the WAL of events queued to be published | # Pending queue represents the WAL of events queued to be published | ||||
▲ Show 20 Lines • Show All 209 Lines • ▼ Show 20 Lines | |||||
#================================= Paths ====================================== | #================================= Paths ====================================== | ||||
# The home path for the beatname installation. This is the default base path | # The home path for the beatname installation. This is the default base path | ||||
# for all other path settings and for miscellaneous files that come with the | # for all other path settings and for miscellaneous files that come with the | ||||
# distribution (for example, the sample dashboards). | # distribution (for example, the sample dashboards). | ||||
# If not set by a CLI flag or in the configuration file, the default for the | # If not set by a CLI flag or in the configuration file, the default for the | ||||
# home path is the location of the binary. | # home path is the location of the binary. | ||||
path.home: <%= @homedir %> | # path.home: /var/lib/journalbeat | ||||
# The configuration path for the beatname installation. This is the default | # The configuration path for the beatname installation. This is the default | ||||
# base path for configuration files, including the main YAML configuration file | # base path for configuration files, including the main YAML configuration file | ||||
# and the Elasticsearch template file. If not set by a CLI flag or in the | # and the Elasticsearch template file. If not set by a CLI flag or in the | ||||
# configuration file, the default for the configuration path is the home path. | # configuration file, the default for the configuration path is the home path. | ||||
#path.config: ${path.home} | #path.config: ${path.home} | ||||
# The data path for the beatname installation. This is the default base path | # The data path for the beatname installation. This is the default base path | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |