Skip to content

Commit

Permalink
all: Fix grammatical mistakes in *.tmpl files (#35697)
Browse files Browse the repository at this point in the history
  • Loading branch information
shmsr committed Jun 23, 2023
1 parent 0f81098 commit 8ac9531
Show file tree
Hide file tree
Showing 56 changed files with 686 additions and 686 deletions.
2 changes: 1 addition & 1 deletion auditbeat/_meta/config/auditbeat.config.modules.yml.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{header "Config Reloading"}}

# Config reloading allows to dynamically load modules. Each file which is
# Config reloading allows to dynamically load modules. Each file that is
# monitored must contain one or multiple modules as a list.
auditbeat.config.modules:

Expand Down
46 changes: 23 additions & 23 deletions auditbeat/auditbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# ============================== Config Reloading ==============================

# Config reloading allows to dynamically load modules. Each file which is
# Config reloading allows to dynamically load modules. Each file that is
# monitored must contain one or multiple modules as a list.
auditbeat.config.modules:

Expand Down Expand Up @@ -176,10 +176,10 @@ auditbeat.modules:

# The name of the shipper that publishes the network data. It can be used to group
# all the transactions sent by a single shipper in the web interface.
# If this options is not defined, the hostname is used.
# If this option is not defined, the hostname is used.
#name:

# The tags of the shipper are included in their own field with each
# The tags of the shipper are included in their field with each
# transaction published. Tags make it easy to group servers by different
# logical properties.
#tags: ["service-X", "web-tier"]
Expand All @@ -191,7 +191,7 @@ auditbeat.modules:
# env: staging

# If this option is set to true, the custom fields are stored as top-level
# fields in the output document instead of being grouped under a fields
# fields in the output document instead of being grouped under a field
# sub-dictionary. Default is false.
#fields_under_root: false

Expand All @@ -203,7 +203,7 @@ auditbeat.modules:
#queue:
# Queue type by name (default 'mem')
# The memory queue will present all available events (up to the outputs
# bulk_max_size) to the output, the moment the output is ready to server
# bulk_max_size) to the output, the moment the output is ready to serve
# another batch of events.
#mem:
# Max number of events the queue can buffer.
Expand Down Expand Up @@ -255,7 +255,7 @@ auditbeat.modules:
# length of its retry interval each time, up to this maximum.
#max_retry_interval: 30s

# Sets the maximum number of CPUs that can be executing simultaneously. The
# Sets the maximum number of CPUs that can be executed simultaneously. The
# default is the number of logical CPUs available in the system.
#max_procs:

Expand Down Expand Up @@ -376,7 +376,7 @@ auditbeat.modules:
# ignore_missing: false
# fail_on_error: true
#
# The following example copies the value of message to message_copied
# The following example copies the value of the message to message_copied
#
#processors:
# - copy_fields:
Expand All @@ -386,7 +386,7 @@ auditbeat.modules:
# fail_on_error: true
# ignore_missing: false
#
# The following example truncates the value of message to 1024 bytes
# The following example truncates the value of the message to 1024 bytes
#
#processors:
# - truncate_fields:
Expand Down Expand Up @@ -483,7 +483,7 @@ output.elasticsearch:
# In case you modify this pattern you must update setup.template.name and setup.template.pattern accordingly.
#index: "auditbeat-%{[agent.version]}"

# Optional ingest pipeline. By default no pipeline will be used.
# Optional ingest pipeline. By default, no pipeline will be used.
#pipeline: ""

# Optional HTTP path
Expand Down Expand Up @@ -1214,14 +1214,14 @@ output.elasticsearch:

# These settings control loading the sample dashboards to the Kibana index. Loading
# the dashboards are disabled by default and can be enabled either by setting the
# options here, or by using the `-setup` CLI flag or the `setup` command.
# options here or by using the `-setup` CLI flag or the `setup` command.
#setup.dashboards.enabled: false

# The directory from where to read the dashboards. The default is the `kibana`
# folder in the home path.
#setup.dashboards.directory: ${path.home}/kibana

# The URL from where to download the dashboards archive. It is used instead of
# The URL from where to download the dashboard archive. It is used instead of
# the directory if it has a value.
#setup.dashboards.url:

Expand Down Expand Up @@ -1318,7 +1318,7 @@ setup.template.settings:
# Configure index lifecycle management (ILM) to manage the backing indices
# of your data streams.

# Enable ILM support. Valid values are true, false.
# Enable ILM support. Valid values are true, or false.
#setup.ilm.enabled: true

# Set the lifecycle policy name. The default policy name is
Expand Down Expand Up @@ -1473,25 +1473,25 @@ logging.files:
# The name of the files where the logs are written to.
#name: auditbeat

# Configure log file size limit. If limit is reached, log file will be
# automatically rotated
# Configure log file size limit. If the limit is reached, log file will be
# automatically rotated.
#rotateeverybytes: 10485760 # = 10MB

# Number of rotated log files to keep. Oldest files will be deleted first.
# Number of rotated log files to keep. The oldest files will be deleted first.
#keepfiles: 7

# The permissions mask to apply when rotating log files. The default value is 0600.
# Must be a valid Unix-style file permissions mask expressed in octal notation.
#permissions: 0600

# Enable log file rotation on time intervals in addition to size-based rotation.
# Enable log file rotation on time intervals in addition to the size-based rotation.
# Intervals must be at least 1s. Values of 1m, 1h, 24h, 7*24h, 30*24h, and 365*24h
# are boundary-aligned with minutes, hours, days, weeks, months, and years as
# reported by the local system clock. All other intervals are calculated from the
# Unix epoch. Defaults to disabled.
#interval: 0

# Rotate existing logs on startup rather than appending to the existing
# Rotate existing logs on startup rather than appending them to the existing
# file. Defaults to true.
# rotateonstartup: true

Expand Down Expand Up @@ -1519,7 +1519,7 @@ logging.files:

# Array of hosts to connect to.
# Scheme and port can be left out and will be set to the default (http and 9200)
# In case you specify and additional path, the scheme is required: http://localhost:9200/path
# In case you specify an additional path, the scheme is required: http://localhost:9200/path
# IPv6 addresses should always be defined as: https://[2001:db8::1]:9200
#hosts: ["localhost:9200"]

Expand Down Expand Up @@ -1566,7 +1566,7 @@ logging.files:
# Elasticsearch after a network error. The default is 60s.
#backoff.max: 60s

# Configure HTTP request timeout before failing an request to Elasticsearch.
# Configure HTTP request timeout before failing a request to Elasticsearch.
#timeout: 90

# Use SSL settings for HTTPS.
Expand Down Expand Up @@ -1663,15 +1663,15 @@ logging.files:

# =============================== HTTP Endpoint ================================

# Each beat can expose internal metrics through a HTTP endpoint. For security
# Each beat can expose internal metrics through an HTTP endpoint. For security
# reasons the endpoint is disabled by default. This feature is currently experimental.
# Stats can be access through http://localhost:5066/stats . For pretty JSON output
# Stats can be accessed through http://localhost:5066/stats. For pretty JSON output
# append ?pretty to the URL.

# Defines if the HTTP endpoint is enabled.
#http.enabled: false

# The HTTP endpoint will bind to this hostname, IP address, unix socket or named pipe.
# The HTTP endpoint will bind to this hostname, IP address, unix socket, or named pipe.
# When using IP addresses, it is recommended to only use localhost.
#http.host: localhost

Expand All @@ -1681,7 +1681,7 @@ logging.files:
# Define which user should be owning the named pipe.
#http.named_pipe.user:

# Define which the permissions that should be applied to the named pipe, use the Security
# Define which permissions should be applied to the named pipe, use the Security
# Descriptor Definition Language (SDDL) to define the permission. This option cannot be used with
# `http.user`.
#http.named_pipe.security_descriptor:
Expand Down
10 changes: 5 additions & 5 deletions auditbeat/auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ setup.template.settings:
# all the transactions sent by a single shipper in the web interface.
#name:

# The tags of the shipper are included in their own field with each
# The tags of the shipper are included in their field with each
# transaction published.
#tags: ["service-X", "web-tier"]

Expand All @@ -76,8 +76,8 @@ setup.template.settings:
# options here or by using the `setup` command.
#setup.dashboards.enabled: false

# The URL from where to download the dashboards archive. By default this URL
# has a value which is computed based on the Beat name and version. For released
# The URL from where to download the dashboard archive. By default, this URL
# has a value that is computed based on the Beat name and version. For released
# versions, this URL points to the dashboard archive on the artifacts.elastic.co
# website.
#setup.dashboards.url:
Expand Down Expand Up @@ -161,7 +161,7 @@ processors:
#logging.level: debug

# At debug level, you can selectively enable logging only for some components.
# To enable all selectors use ["*"]. Examples of other selectors are "beat",
# To enable all selectors, use ["*"]. Examples of other selectors are "beat",
# "publisher", "service".
#logging.selectors: ["*"]

Expand All @@ -179,7 +179,7 @@ processors:
#monitoring.cluster_uuid:

# Uncomment to send the metrics to Elasticsearch. Most settings from the
# Elasticsearch output are accepted here as well.
# Elasticsearch outputs are accepted here as well.
# Note that the settings should point to your Elasticsearch *monitoring* cluster.
# Any setting that is not set is automatically inherited from the Elasticsearch
# output configuration, so if you have the Elasticsearch output configured such
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/packaging/templates/docker/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ENV ELASTIC_CONTAINER "true"
ENV PATH={{ $beatHome }}:$PATH
ENV GODEBUG="madvdontneed=1"

# Add an init process, check the checksum to make sure it's a match
# Add an init process, and check the checksum to make sure it's a match
RUN set -e ; \
TINI_BIN=""; \
TINI_SHA256=""; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ New-Service -name {{.BeatName}} `
Try {
Start-Process -FilePath sc.exe -ArgumentList 'config {{.BeatName}} start= delayed-auto'
}
Catch { Write-Host -f red "An error occured setting the service to delayed start." }
Catch { Write-Host -f red "An error occurred setting the service to delayed start." }
6 changes: 3 additions & 3 deletions filebeat/_meta/config/filebeat.global.reference.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
# data path.
#filebeat.registry.path: ${path.data}/registry

# The permissions mask to apply on registry data, and meta files. The default
# The permissions mask to apply on registry data and meta files. The default
# value is 0600. Must be a valid Unix-style file permissions mask expressed in
# octal notation. This option is not supported on Windows.
#filebeat.registry.file_permissions: 0600

# The timeout value that controls when registry entries are written to disk
# The timeout value that controls when registry entries are written to the disk
# (flushed). When an unwritten update exceeds this value, it triggers a write
# to disk. When flush is set to 0s, the registry is written to disk after each
# batch of events has been published successfully. The default value is 1s.
Expand All @@ -25,7 +25,7 @@

# By default Ingest pipelines are not updated if a pipeline with the same ID
# already exists. If this option is enabled Filebeat overwrites pipelines
# everytime a new Elasticsearch connection is established.
# every time a new Elasticsearch connection is established.
#filebeat.overwrite_pipelines: false

# How long filebeat waits on shutdown for the publisher to finish.
Expand Down
Loading

0 comments on commit 8ac9531

Please sign in to comment.