input{
file{
path=> "C:/Users/sushils/Desktop/metadata.csv"
start_position=>"beginning"
sincedb_path=> "NULL"
}
}
filter {
csv{
separator => ","
columns => ["cord_uid", "sha", "source_x", "title",
"doi", "pmcid", "pubmed_id", "license", "abstract",
"publish_time", "authors", "journal", "mag_id", "who_covidence_id",
"arxiv_id", "pdf_json_files", "pmc_json_files", "url", "s2_id"]
}
}
output{
elasticsearch{
hosts => ["http://localhost:9200"]
index => "covid"
document_type => "covid_data"
}
stdout {}
}
Change NULL to NUL and see if that makes any difference. If not, enable log.level trace and look for trace messages from filewatch.