i have csv file and using logstash i ingest this file to elasticsearch and viewing the count process on kibana .
two things i want to know
where is the csv file i just ingested in elasticsearch in windows. i have checked the data folder of elasticsearch but its not there
in kibana i was showing the same number of count as that in csv file and later after some time i checked the count becomes twice . i didnt ingest the file again.
When you set the "start_position" to "beginning" all the lines will be read each new line added to the file...not only the new lines...So a suggest that you change this to "end" so logstash will read only the new lines that will be appended in the file.... or you can also put an uuid/fingerprint filter to eliminate the duplicates.
see the docs: https://www.elastic.co/guide/en/logstash/6.x/plugins-filters-fingerprint.html
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.