blob: cd6ab9a6fcad40d43f5ae2231a9ff5d3cfb453f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
input {
file {
type => "system logs"
# # Wildcards work, here :)
# path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ]
path => [ "/var/log/messages" ]
}
#file {
# type => "Hudson-access"
# path => "/var/log/www/hudson.ish.com.au-access_log"
#}
#file {
# type => "Syslog"
# path => "/var/log/messages"
#}
}
output {
# Emit events to stdout for easy debugging of what is going through
# logstash.
#stdout { }
# This will use elasticsearch to store your logs.
# The 'embedded' option will cause logstash to run the elasticsearch
# server in the same process, so you don't have to worry about
# how to download, configure, or run elasticsearch!
elasticsearch {
embedded => true
#embedded_http_port => 9200
#cluster => elasticsearch
#host => host
#port => port
}
}
|