title: not able to read the last line of my log file using logstash
body: <p>my log file content is as below</p>
  
  <pre><code>55.3.244.1 GET /index.html 15824 0.043
  55.3.244.2 GET /index.html 15820 0.049
  55.3.244.3 GET /index.html 16780 0.053
  55.3.244.4 GET /index.html 16784 0.056
  55.3.244.5 GET /index.html 17689 0.059
  </code></pre>
  
  <p>and my conf file goes like this</p>
  
  <pre><code>input{
      file{
          path =&gt; "C:/ELK/Test/http.log"
          start_position =&gt; "beginning"
      }
  }
  filter{
      grok{
          match =&gt; {"message" =&gt; "%{IP:client} %{WORD:method} %{URIPATHPARAM:request} %{NUMBER:bytes} %{NUMBER:duration}"}
      }
  }
  output{
      stdout{codec =&gt; rubydebug}
  }
  </code></pre>
  
  <p>when I executed the below command, it displayed the log data by skipping the last line 55.3.244.5 GET /index.html 17689 0.059.</p>
  
  <pre><code>C:\ELK\logstash-5.1.2\bin&gt;logstash.bat -f test2.conf
  </code></pre>
  
  <p>In few forums, They are suggesting to enter a new line after the last log entry. I tried that as well. With that option it was reading the last line and skipping the first four entries!!!!. Anyways I don't want to alter my input source file. </p>
  
  <p>How to overcome this problem ? </p>
  
  <p>Thanks</p>