No results found - Kibana - Localhost not sending logs

why it ll stop all syslog functions...it is just a socket open in your server to collect syslogs which are coming from outside machines . It is not about your localhost syslogs which are generated inside the machine. kill 4375 PID and try running logstash conf

Morning, I tried that and re-ran the configtest command - below is what I recieved.

service logstash configtest
The given configuration is invalid. Reason: Expected one of #, input, filter, output at line 34, column 1 (byte 863) after {:level=>:fatal}

[root@localhost conf.d]# cat syslog.conf
input {
tcp {
port => 514
type => syslog
}
udp {
port => 514
type => syslog
}
}

filter {
if [type] == "syslog" {
grok {
match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:[%{POSINT:syslog_pid}])?: %{GREEDYDATA:syslog_message}" }
add_field => [ "received_at", "%{@timestamp}" ]
add_field => [ "received_from", "%{host}" ]

}

date {
target => "syslog_timestamp"
match => [ "syslog_timestamp", "MMM d HH:mm:ss", "MMM dd HH:mm:ss" ]
}

}

}

output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}
[root@localhost conf.d]# service logstash configtest
The given configuration is invalid. Reason: Expected one of #, input, filter, output at line 34, column 1 (byte 863) after {:level=>:fatal}
[root@localhost conf.d]#