Hi.
I've a IDS Suricata ina a raspberry-pi, and I install logstash, elasticsearch and kibana in
my Windows PC.
My idea is show from a SAMBA directory the suricata eve.json log to logstash.
So, When I run it, logstash dont receive lines.
I probe the seem logstash.conf with a stdin and when i copy a line, logstash get it.
input {
stdin {
codec => json
type => "SuricataIDPS"
}
}
but if I change the input from a file dont get data.
Note: The S: es the map SAMBA unit in my Windows PC
input {
file {
path => "S:\eve.json"
codec => json
type => "SuricataIDPS"
}
}
I prove charge with a local copy file, but dont get data.
input {
file {
path => "C:\ELK\eve.json"
codec => json
type => "SuricataIDPS"
sincedb_path => "NUL"
start_position => "beginning"
}
}
I dont understant. I learning ELK ...
Perhaps I dont must use the file input with a samba map ...
Perhaps I need install filebeat in the raspberry-pi...
Could Anyone help me with any idea?
Thanks