title: Where to put the files needed by the logstash configuration file on my ec2 instance?
body: <p>My logstash configuration file looks like :</p>
  
  <pre><code>input {
      file {
          path =&gt; "/home/ec2-user/apache_logs"
          start_position =&gt; "beginning"
      }
  }
  
  filter {
    grok {
      match =&gt; {
        "message" =&gt; '%{COMMONAPACHELOG} %{QS}%{QS}'
      }
    }
  
    date {
      match =&gt; [ "timestamp", "dd/MMM/YYYY:HH:mm:ss Z" ]
      locale =&gt; en
    }
  
    geoip {
        source =&gt; "clientip"
      }
  
    useragent {
      source =&gt; "agent"
      target =&gt; "useragent"
    }
  }
  .....
  </code></pre>
  
  <p>Now the path in my input is giving an error :</p>
  
  <blockquote>
    <p>This setting must be a path .. File does not exist or cannot be opened</p>
  </blockquote>
  
  <p>Where should I put my apache_logs file?</p>