I have an existing log file and I am setting up ELK stack now and I am able to connect everything together and anything I add does reflect in Elasticsearch, But data that was already there in the log file does not show up in Elasticsearch
logstash.conf file input { file { path => "/home/ubuntu/cms_access.log" start_position => "beginning" } } output { elasticsearch { hosts => "xyz.com:80" user => 'kibanauser' password => 'password' document_type => "_doc" } }
I am checking this using Kibana and I do not find the data there so any assistance on this will be appreciated