Index, Filter and Query Strategy

So I am up and running with logstash (kind of!) and have the following config

  input {
      file {
        path => "/Users/taylorsuk/Desktop/Exercises_Single.json"
        type => "exercises"
        codec => "json"
      }
    }
    output {
      stdout { codec => rubydebug }
      elasticsearch { 
      host => localhost 
      protocol => http
      }
    }

I am getting waited for 30s and no initial state was set by the discovery do you have any ideas for where I can get info on getting setup with a simple input (JSON) > filter / sort > ElasticSearch Index

Many thanks