Logstash import file from url

Hi,

It seems that the http input plugin, the http_poller input plugin and the exec input plugin are not compatible with the single reading of a URL.

So if you can do a curl and print the result in a file, try this :

  1. Do a curl and print the result in a file
  2. Configure your logstash to read the file
    input => use the multiline codec plugin to read the entire file in one time example here.
    filter => use the json plugin to get all your data.
    output => do what you want.

You can even configure logstash before the curl command and configure it to make it read the file when it is edited.

Cad.