[SOLVED] Where to set log pattern?


(Christophe Bismuth) #1

Hi,

I've successfully managed to ship JSON structured logs to Kibana 4.5.1 with Filebeat 5.0.0-alpha2.

I've created second prospector in my filebeat.yml to parse simple traditional log lines stored in others log files. But I can't understand where should I set a regexp pattern to tell Filebeat how to parse these traditional log lines.

Does someone know how to do this, please?

Thanks,
Chris


(Magnus B├Ąck) #2

Filebeat doesn't parse logs. You'll typically want to use Logstash for that.


(Christophe Bismuth) #3

That's alright, thank you Magnus.


(system) #4