How to pull data from json file by using logstash

Hi All,

i have one json file.
i want to pull this json file into my elastic search by using logstash.

Please refer me some methods.

Thannks,
Dinesh.

Use the file input and set codec => "json".