I cant seem to get a wildcard to work in my config file. I have a folder with a bunch of csv files, tab delimited. I got it to run once on a single file but I cant seem to get that to work either now.
Here is my config, any help would be much appreciated. Im running windows 7, logstash-2.3.4
input {
file {
path => "X:/*.csv"
type => "poldata"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
filter {
csv {
columns => ["REVISION", "STATUS", "STATDATE", "DOC_ID", "TITLE", "ED_DOCCAT", "CATDES", "ED_DOCTYPE", "DOCDES", "REV_ID", "IFA_PLAN", "IFA_ACTUAL", "IFA_FCST", "IFD_PLAN", "IFD_ACTUAL", "IFD_FCST", "IFC_PLAN", "IFC_ACTUAL", "IFC_FCST"]
separator => " "
}
}
output {
elasticsearch {
action => "index"
hosts => "10.12.120.60:9200"
index => "stashtest"
workers => 1
}
stdout { codec => rubydebug }
}