diff --git a/pkg/logstash.yml b/pkg/logstash.yml deleted file mode 100644 index a04760246..000000000 --- a/pkg/logstash.yml +++ /dev/null @@ -1,106 +0,0 @@ -# Settings file in YAML -# -# Settings can be specified either in hierarchical form, e.g.: -# -# pipeline: -# batch: -# size: 125 -# delay: 5 -# -# Or as flat keys: -# -# pipeline.batch.size: 125 -# pipeline.batch.delay: 5 -# -# ------------ Node identity ------------ -# -# Use a descriptive name for the node: -# -# node.name: test -# -# If omitted the node name will default to the machine's host name -# -# ------------ Pipeline Settings -------------- -# -# Set the number of workers that will, in parallel, execute the filters+outputs -# stage of the pipeline. -# -# This defaults to half the number of the host's CPU cores. -# -# pipeline.workers: 2 -# -# How many workers should be used per output plugin instance -# -# pipeline.output.workers: 1 -# -# How many events to retrieve from inputs before sending to filters+workers -# -# pipeline.batch.size: 125 -# -# How long to wait before dispatching an undersized batch to filters+workers -# Value is in seconds. -# -# pipeline.batch.delay: 5 -# -# Force Logstash to exit during shutdown even if there are still inflight -# events in memory. By default, logstash will refuse to quit until all -# received events have been pushed to the outputs. -# -# WARNING: enabling this can lead to data loss during shutdown -# -# pipeline.unsafe_shutdown: false -# -# ------------ Pipeline Configuration Settings -------------- -# -# Where to fetch the pipeline configuration for the main pipeline -# -# path.config: -# -# Pipeline configuration string for the main pipeline -# -# config.string: -# -# At startup, test if the configuration is valid and exit (dry run) -# -# config.test_and_exit: false -# -# Periodically check if the configuration has changed and reload the pipeline -# This can also be triggered manually through the SIGHUP signal -# -# config.reload.automatic: false -# -# How often to check if the pipeline configuration has changed (in seconds) -# -# config.reload.interval: 3 -# -# Show fully compiled configuration as debug log message -# NOTE: --log.level must be 'debug' -# -# config.debug: false -# -# ------------ Metrics Settings -------------- -# -# Bind address for the metrics REST endpoint -# -# http.host: "127.0.0.1" -# -# Bind port for the metrics REST endpoint -# -# http.port: 9600 -# -# ------------ Debugging Settings -------------- -# -# Options for log.level: -# * warn => warn (default) -# * quiet => error -# * verbose => info -# * debug => debug -# -# log.level: warn -# log.format: plain (or 'json') -# path.log: -# -# ------------ Other Settings -------------- -# -# Where to find custom plugins -# path.plugins: [] diff --git a/rakelib/artifacts.rake b/rakelib/artifacts.rake index 877b9ef82..4bb835afe 100644 --- a/rakelib/artifacts.rake +++ b/rakelib/artifacts.rake @@ -333,7 +333,7 @@ namespace "artifact" do File.join(basedir, "pkg", "jvm.options").tap do |path| dir.input("#{path}=/etc/logstash") end - File.join(basedir, "pkg", "logstash.yml").tap do |path| + File.join(basedir, "config", "logstash.yml").tap do |path| dir.input("#{path}=/etc/logstash") end require "fpm/package/rpm" @@ -354,7 +354,7 @@ namespace "artifact" do File.join(basedir, "pkg", "jvm.options").tap do |path| dir.input("#{path}=/etc/logstash") end - File.join(basedir, "pkg", "logstash.yml").tap do |path| + File.join(basedir, "config", "logstash.yml").tap do |path| dir.input("#{path}=/etc/logstash") end require "fpm/package/deb"