LogStash¶
Operations¶
logstash -w 4
to set the number of worker threads
Use path.data
to distribute the data on multiple (EBS) disks
Outputs¶
- MongoDB
- PagerDuty
- Nagios
- Graphite
- Ganglia
- StatsD
- Redis
- RabbitMQ
Output to file¶
Filtering¶
Use "date" for normalizing dates:
filter {
date{
timezone => "America/Los_Angeles"
locale => "en" # English
}
geoip {
source => "clientip" # will read from clientip field
database => ... # use MaxMind's GeoLiteCity by default
}
useragent {
}
}