Required if using logging hash on systems running with systemd. systemd_beat_log_opts_override: Will overide the default BEAT_LOG_OPTS=-e.logging: Will be converted to YAML to create the optional logging section of the filebeat config (see documentation).autodiscover: Will be converted to YAML for the optional autodiscover section of the configuration (see documentation, and above)`.shipper: Will be converted to YAML to create the optional shipper section of the filebeat config (see documentation).outputs: Will be converted to YAML for the required outputs section of the configuration (see documentation, and above).queue: Will be converted to YAML for the optional m and queue.disk of the configuration (see documentation, and above).cloud: Will be converted to YAML for the optional cloud.id and th of the configuration (see documentation, and above).modules_dir: The directory where module configurations should be defined (default: /etc/filebeat/modules.d).enable_conf_modules: Should be enabled.purge_conf_dir: Should files in the input configuration directory not managed by puppet be automatically purged.config_file_group: The group of the configuration files, including inputs (default: root).config_file_owner: The owner of the configuration files, including inputs (default: root).config_file_mode: The permissions mode set on configuration files (default: 0644).config_dir_group: The group of the configuration directory (default: root).config_dir_owner: The owner of the configuration directory (default: root).config_dir_mode: The permissions mode set on the configuration directory (default: 0755).config_dir: The directory where inputs should be defined (default: /etc/filebeat/conf.d).That filebeat expects for your operating system. You might want to use this, read the limitations first. ![]() config_file: Where the configuration file managed by this module should be placed.publish_async: If set to true filebeat will publish while preparing the next batch of lines to transmit (default: false).idle_timeout: How often the spooler should be flushed even if spool size isn't reached (default: 5s).spool_size: How large the spool should grow before being flushed to the network (default: 2048). ![]() service_provider: The provider parameter on the filebeat service (default: on RedHat based systems use redhat, otherwise undefined).param repo_priority: Repository priority.service_enable: The enable parameter on the filebeat service (default: true).service_ensure: The ensure parameter on the filebeat service (default: running).The default value is '6', exceptįor OpenBSD 6.3 and earlier, which has a default value of '5'. major_version: The major version of Filebeat to install.manage_repo: Whether or not the upstream (elastic) repo should be configured or not (default: true).manage_package: Whether ot not to manage the installation of the package (default: true).Inputs and processors passed as parameters are ignored and everything managed by package_ensure: The ensure parameter for the filebeat package If set to absent,.You can override the default filebeat ILM policy by specifying ilm.policy hash in filebeat::setup parameter: filebeat::setup: That behavior can be changed by configuring the Processor declarations down the hiera hierarchy. ![]() Processors can be declared in hiera using the processors parameter. To ship files to elasticsearch: class įor more information please review the documentation here. UsageĪll of the default values in filebeat follow the upstream defaults (at the time of writing). The only required parameter, other than which files to ship, is the outputs parameter. Beginning with filebeatįilebeat can be installed with puppet module install pcfens-filebeat (or with r10k, librarian-puppet, etc.) ![]() The filebeat module depends on puppetlabs/stdlib, and on You'll also need to change instances of filebeat::prospector to filebeat::input when upgrading to version 4.x of To upgrade to Filebeat 7.x, simply set $filebeat::major_version to 7 and $filebeat::package_ensure to latest (or whichever version of 7.x you want, just not present). Setup What filebeat affectsīy default filebeat adds a software repository to your system, and installs filebeat along The filebeat module installs and configures the filebeat log shipper maintained by elastic.
0 Comments
Leave a Reply. |