How to connect to an API using Logstash?

Logstash solution to this post: :white_check_mark:

http_poller {
  urls => {      
     <enter_custom_name>  => {
      method => get
      url => "https://***"
      headers => {
        "Content-Type" => "application/json"
        <add_authorization_or_password>
      }
    }
  }
  request_timeout => 60
  codec => "json"
  type => "Http_poller"
  schedule => { "every" => "10s" }
}

The authorization part depends on if your endpoint requires one or not.