- Logstash Reference: other versions:
- Logstash Introduction
- Getting Started with Logstash
- How Logstash Works
- Setting Up and Running Logstash
- Breaking changes
- Upgrading Logstash
- Configuring Logstash
- Performance Troubleshooting Guide
- Monitoring APIs
- Working with plugins
- Input plugins
- beats
- cloudwatch
- couchdb_changes
- drupal_dblog
- elasticsearch
- eventlog
- exec
- file
- ganglia
- gelf
- gemfire
- generator
- github
- graphite
- heartbeat
- heroku
- http
- http_poller
- imap
- irc
- jdbc
- jmx
- kafka
- kinesis
- log4j
- lumberjack
- meetup
- pipe
- puppet_facter
- rabbitmq
- rackspace
- redis
- relp
- rss
- s3
- salesforce
- snmptrap
- sqlite
- sqs
- stdin
- stomp
- syslog
- tcp
- udp
- unix
- varnishlog
- websocket
- wmi
- xmpp
- zenoss
- zeromq
- Output plugins
- boundary
- circonus
- cloudwatch
- csv
- datadog
- datadog_metrics
- elasticsearch
- exec
- file
- ganglia
- gelf
- google_bigquery
- google_cloud_storage
- graphite
- graphtastic
- hipchat
- http
- influxdb
- irc
- jira
- juggernaut
- kafka
- librato
- loggly
- lumberjack
- metriccatcher
- mongodb
- nagios
- nagios_nsca
- newrelic
- opentsdb
- pagerduty
- pipe
- rabbitmq
- rackspace
- redis
- redmine
- riak
- riemann
- s3
- sns
- solr_http
- sqs
- statsd
- stdout
- stomp
- syslog
- tcp
- udp
- webhdfs
- websocket
- xmpp
- zabbix
- zeromq
- Filter plugins
- aggregate
- alter
- anonymize
- cidr
- cipher
- clone
- collate
- csv
- date
- de_dot
- dissect
- dns
- drop
- elapsed
- elasticsearch
- environment
- extractnumbers
- fingerprint
- geoip
- grok
- i18n
- json
- json_encode
- kv
- metaevent
- metricize
- metrics
- mutate
- oui
- prune
- punct
- range
- ruby
- sleep
- split
- syslog_pri
- throttle
- tld
- translate
- urldecode
- useragent
- uuid
- xml
- yaml
- zeromq
- Codec plugins
- Contributing to Logstash
- How to write a Logstash input plugin
- How to write a Logstash input plugin
- How to write a Logstash codec plugin
- How to write a Logstash filter plugin
- Contributing a Patch to a Logstash Plugin
- Logstash Plugins Community Maintainer Guide
- Submitting your plugin to RubyGems.org and the logstash-plugins repository
- Glossary of Terms
- Release Notes
Logstash Directory Layout
editLogstash Directory Layout
editThis section describes the default directory structure that is created when you unpack the Logstash installation packages.
Directory Layout of .zip
and .tar.gz
Archives
editThe .zip
and .tar.gz
packages are entirely self-contained. All files and
directories are, by default, contained within the home directory — the directory
created when unpacking the archive.
This is very convenient because you don’t have to create any directories to start using Logstash, and uninstalling Logstash is as easy as removing the home directory. However, it is advisable to change the default locations of the config and the logs directories so that you do not delete important data later on.
Type | Description | Default Location | Setting |
---|---|---|---|
home |
Home directory of the Logstash installation. |
|
|
bin |
Binary scripts, including |
|
|
settings |
Configuration files, including |
|
|
logs |
Log files |
|
|
plugins |
Local, non Ruby-Gem plugin files. Each plugin is contained in a subdirectory. Recommended for development only. |
|
|
Directory Layout of Debian and RPM Packages
editThe Debian package and the RPM package each place config files, logs, and the settings files in the appropriate locations for the system:
Type | Description | Default Location | Setting |
---|---|---|---|
home |
Home directory of the Logstash installation. |
|
|
bin |
Binary scripts including |
|
|
settings |
Configuration files, including |
|
|
conf |
Logstash pipeline configuration files |
|
|
logs |
Log files |
|
|
plugins |
Local, non Ruby-Gem plugin files. Each plugin is contained in a subdirectory. Recommended for development only. |
|
|
Directory Layout of Docker Images
editThe Docker images are created from the .tar.gz
packages, and follow a
similar directory layout.
Type | Description | Default Location | Setting |
---|---|---|---|
home |
Home directory of the Logstash installation. |
|
|
bin |
Binary scripts, including |
|
|
settings |
Configuration files, including |
|
|
conf |
Logstash pipeline configuration files |
|
|
plugins |
Local, non Ruby-Gem plugin files. Each plugin is contained in a subdirectory. Recommended for development only. |
|
|
Logstash Docker containers do not create log files by default. They log to standard output.
On this page