Skip to content

Commit

Permalink
Update Filebeat.*.yml file to use input(s) instead of prospector(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
ph committed Feb 9, 2018
1 parent 545938e commit 5b44c1c
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 56 deletions.
12 changes: 6 additions & 6 deletions filebeat/_meta/common.p2.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# For more available modules and options, please see the filebeat.reference.yml sample
# configuration file.

#=========================== Filebeat prospectors =============================
#=========================== Filebeat inputs =============================

filebeat.prospectors:
filebeat.inputs:

# Each - is a prospector. Most options can be set at the prospector level, so
# you can use different prospectors for various configurations.
# Below are the prospector specific configurations.
# Each - is an input. Most options can be set at the input level, so
# you can use different inputs for various configurations.
# Below are the input specific configurations.

- type: log

# Change to true to enable this prospector configuration.
# Change to true to enable this input configuration.
enabled: false

# Paths that should be crawled and fetched. Glob based paths.
Expand Down
44 changes: 22 additions & 22 deletions filebeat/_meta/common.reference.p2.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#=========================== Filebeat prospectors =============================
#=========================== Filebeat inputs =============================

# List of prospectors to fetch data.
filebeat.prospectors:
# Each - is a prospector. Most options can be set at the prospector level, so
# you can use different prospectors for various configurations.
# Below are the prospector specific configurations.
# List of inputs to fetch data.
filebeat.inputs:
# Each - is an input. Most options can be set at the input level, so
# you can use different inputs for various configurations.
# Below are the input specific configurations.

# Type of the files. Based on this the way the file is read is decided.
# The different types cannot be mixed in one prospector
# The different types cannot be mixed in one input
#
# Possible options are:
# * log: Reads every line of the log file (default)
# * stdin: Reads the standard in

#------------------------------ Log prospector --------------------------------
#------------------------------ Log input --------------------------------
- type: log

# Change to true to enable this prospector configuration.
# Change to true to enable this input configuration.
enabled: false

# Paths that should be crawled and fetched. Glob based paths.
Expand Down Expand Up @@ -67,7 +67,7 @@ filebeat.prospectors:
# Time strings like 2h (2 hours), 5m (5 minutes) can be used.
#ignore_older: 0

# How often the prospector checks for new files in the paths that are specified
# How often the input checks for new files in the paths that are specified
# for harvesting. Specify 1s to scan the directory as frequently as possible
# without causing Filebeat to scan too frequently. Default: 10s.
#scan_frequency: 10s
Expand Down Expand Up @@ -137,7 +137,7 @@ filebeat.prospectors:
# this can mean that the first entries of a new file are skipped.
#tail_files: false

# The Ingest Node pipeline ID associated with this prospector. If this is set, it
# The Ingest Node pipeline ID associated with this input. If this is set, it
# overwrites the pipeline option from the Elasticsearch output.
#pipeline:

Expand Down Expand Up @@ -203,23 +203,23 @@ filebeat.prospectors:
# Note: Potential data loss. Make sure to read and understand the docs for this option.
#close_timeout: 0

# Defines if prospectors is enabled
# Defines if inputs is enabled
#enabled: true

#----------------------------- Stdin prospector -------------------------------
#----------------------------- Stdin input -------------------------------
# Configuration to use stdin input
#- type: stdin

#------------------------- Redis slowlog prospector ---------------------------
# Experimental: Config options for the redis slow log prospector
#------------------------- Redis slowlog input ---------------------------
# Experimental: Config options for the redis slow log input
#- type: redis
#hosts: ["localhost:6379"]
#username:
#password:
#enabled: false
#scan_frequency: 10s

# Timeout after which time the prospector should return an error
# Timeout after which time the input should return an error
#timeout: 1s

# Network type to be used for redis connection. Default: tcp
Expand All @@ -231,8 +231,8 @@ filebeat.prospectors:
# Redis AUTH password. Empty by default.
#password: foobared

#------------------------------ Udp prospector --------------------------------
# Experimental: Config options for the udp prospector
#------------------------------ Udp input --------------------------------
# Experimental: Config options for the udp input
#- type: udp

# Maximum size of the message received over UDP
Expand All @@ -241,7 +241,7 @@ filebeat.prospectors:
#========================== Filebeat autodiscover ==============================

# Autodiscover allows you to detect changes in the system and spawn new modules
# or prospectors as they happen.
# or inputs as they happen.

#filebeat.autodiscover:
# List of enabled autodiscover providers
Expand All @@ -262,7 +262,7 @@ filebeat.prospectors:
#filebeat.registry_file: ${path.data}/registry

# These config files must have the full filebeat config part inside, but only
# the prospector part is processed. All global options like spool_size are ignored.
# the input part is processed. All global options like spool_size are ignored.
# The config_dir MUST point to a different directory then where the main filebeat config file is in.
#filebeat.config_dir:

Expand All @@ -272,9 +272,9 @@ filebeat.prospectors:

# Enable filebeat config reloading
#filebeat.config:
#prospectors:
#inputs:
#enabled: false
#path: prospectors.d/*.yml
#path: inputs.d/*.yml
#reload.enabled: true
#reload.period: 10s
#modules:
Expand Down
44 changes: 22 additions & 22 deletions filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,25 +267,25 @@ filebeat.modules:
#input:


#=========================== Filebeat prospectors =============================
#=========================== Filebeat inputs =============================

# List of prospectors to fetch data.
filebeat.prospectors:
# Each - is a prospector. Most options can be set at the prospector level, so
# you can use different prospectors for various configurations.
# Below are the prospector specific configurations.
# List of inputs to fetch data.
filebeat.inputs:
# Each - is an input. Most options can be set at the input level, so
# you can use different inputs for various configurations.
# Below are the input specific configurations.

# Type of the files. Based on this the way the file is read is decided.
# The different types cannot be mixed in one prospector
# The different types cannot be mixed in one input
#
# Possible options are:
# * log: Reads every line of the log file (default)
# * stdin: Reads the standard in

#------------------------------ Log prospector --------------------------------
#------------------------------ Log input --------------------------------
- type: log

# Change to true to enable this prospector configuration.
# Change to true to enable this input configuration.
enabled: false

# Paths that should be crawled and fetched. Glob based paths.
Expand Down Expand Up @@ -336,7 +336,7 @@ filebeat.prospectors:
# Time strings like 2h (2 hours), 5m (5 minutes) can be used.
#ignore_older: 0

# How often the prospector checks for new files in the paths that are specified
# How often the input checks for new files in the paths that are specified
# for harvesting. Specify 1s to scan the directory as frequently as possible
# without causing Filebeat to scan too frequently. Default: 10s.
#scan_frequency: 10s
Expand Down Expand Up @@ -406,7 +406,7 @@ filebeat.prospectors:
# this can mean that the first entries of a new file are skipped.
#tail_files: false

# The Ingest Node pipeline ID associated with this prospector. If this is set, it
# The Ingest Node pipeline ID associated with this input. If this is set, it
# overwrites the pipeline option from the Elasticsearch output.
#pipeline:

Expand Down Expand Up @@ -472,23 +472,23 @@ filebeat.prospectors:
# Note: Potential data loss. Make sure to read and understand the docs for this option.
#close_timeout: 0

# Defines if prospectors is enabled
# Defines if inputs is enabled
#enabled: true

#----------------------------- Stdin prospector -------------------------------
#----------------------------- Stdin input -------------------------------
# Configuration to use stdin input
#- type: stdin

#------------------------- Redis slowlog prospector ---------------------------
# Experimental: Config options for the redis slow log prospector
#------------------------- Redis slowlog input ---------------------------
# Experimental: Config options for the redis slow log input
#- type: redis
#hosts: ["localhost:6379"]
#username:
#password:
#enabled: false
#scan_frequency: 10s

# Timeout after which time the prospector should return an error
# Timeout after which time the input should return an error
#timeout: 1s

# Network type to be used for redis connection. Default: tcp
Expand All @@ -500,8 +500,8 @@ filebeat.prospectors:
# Redis AUTH password. Empty by default.
#password: foobared

#------------------------------ Udp prospector --------------------------------
# Experimental: Config options for the udp prospector
#------------------------------ Udp input --------------------------------
# Experimental: Config options for the udp input
#- type: udp

# Maximum size of the message received over UDP
Expand All @@ -510,7 +510,7 @@ filebeat.prospectors:
#========================== Filebeat autodiscover ==============================

# Autodiscover allows you to detect changes in the system and spawn new modules
# or prospectors as they happen.
# or inputs as they happen.

#filebeat.autodiscover:
# List of enabled autodiscover providers
Expand All @@ -531,7 +531,7 @@ filebeat.prospectors:
#filebeat.registry_file: ${path.data}/registry

# These config files must have the full filebeat config part inside, but only
# the prospector part is processed. All global options like spool_size are ignored.
# the input part is processed. All global options like spool_size are ignored.
# The config_dir MUST point to a different directory then where the main filebeat config file is in.
#filebeat.config_dir:

Expand All @@ -541,9 +541,9 @@ filebeat.prospectors:

# Enable filebeat config reloading
#filebeat.config:
#prospectors:
#inputs:
#enabled: false
#path: prospectors.d/*.yml
#path: inputs.d/*.yml
#reload.enabled: true
#reload.period: 10s
#modules:
Expand Down
12 changes: 6 additions & 6 deletions filebeat/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
# For more available modules and options, please see the filebeat.reference.yml sample
# configuration file.

#=========================== Filebeat prospectors =============================
#=========================== Filebeat inputs =============================

filebeat.prospectors:
filebeat.inputs:

# Each - is a prospector. Most options can be set at the prospector level, so
# you can use different prospectors for various configurations.
# Below are the prospector specific configurations.
# Each - is an input. Most options can be set at the input level, so
# you can use different inputs for various configurations.
# Below are the input specific configurations.

- type: log

# Change to true to enable this prospector configuration.
# Change to true to enable this input configuration.
enabled: false

# Paths that should be crawled and fetched. Glob based paths.
Expand Down

0 comments on commit 5b44c1c

Please sign in to comment.