Connect to postgres dB using logstash

I have a postgres dB in one server and elk in another server. I want to load data from postgres dB to elastic search using logstash. How can I do this? In which server, should the jdbc driver be installed?

It should be installed where logstash runs.

1 Like

Hi @Thamini_NellaiKumar.

I think below link is perfect match with your requirement .

Please check -
Configure logstash input from DB values

Thanks
HadoopHelp

1 Like