hi i install ELK with elasticsearch 1.7.1 and logstash 1.5.4 and kibana 3 and try to send my firewal logs to ELK i use pfsense 2.2.3 and i config all but have difrent error in start logstash and i got this damn error many thime
how can i fix it and using logstash
this is my logstash.conf file
input {
tcp {
type => syslog
port => 5010
}
udp {
type => syslog
port => 5010
}
}
filter {
if [type] == "pfsense" {
grok {
match => [ "message" ]
}
if [prog] == "filterlog" {
grok {
patterns_dir => "./patterns"
match => [ "msg", "%{PFSENSE_LOG_DATA}%{PFSENSE_IP_SPECIFIC_DATA}%{PFSENSE_IP_DATA}%{PFSENSE_PROTOCOL_DATA}" ]
}
if [src_ip] {
geoip {
source => "src_ip"
target => "geoip"
}
mutate {
convert => [ "[geoip][coordinates]", "float" ]
remove_tag => [ "_grokparsefailure" ]
}
}
}
}
}
output {
elasticsearch { host => localhost }
stdout { codec => rubydebug }
}
please any help or source about config (that work really) for logstash with pfsense 2.2 ...
tankyou