I am trying to ulpoad csv file from logstash to my elastic cloud cluster using below config
input {
stdin {
type => "stdin-type"
}
file {
path => ["/pipelines/Data.csv"]
start_position => "beginning"
}
}
filter {
csv {
columns => columns => ["Branch","State","Category","Sub Category","Month","Date"]
}
}
output {
elasticsearch {
hosts => "https://f8f0fdbb28d6340678149e5f.us-east-1.aws.found.io:9243"
index => "datanew"
user => elastic
password => password
}
}
but i am getting ConfigurationError
LogStash::ConfigurationError", :message=>"Expected one of #, {, ", ', } at line 13