my first excercise with logstash so pls pardon anything silly (runing on windows)
I was trying it based on the blog post here..
and get an error when running logstash
2015/05/27 10:32:59.968792 Failed unmarshalling json: invalid character 'i' look
ing for beginning of value
2015/05/27 10:32:59.968792 Could not load config file logstash.conf: invalid cha
racter 'i' looking for beginning of value
looks like logstash is having some trouble reading my conf file
thx for your help !
my config file is below
input {
file {
path => "C:\software\data.csv"
#type => "core2"
start_position => "beginning"
}
}
filter {
csv {
separator => ","
columns => ["Date","Open","High","Low","Close","Volume","Adj Close"]
}
mutate {convert => ["Open", "float"]}
mutate {convert => ["High", "float"]}
mutate {convert => ["Low", "float"]}
mutate {convert => ["Close", "float"]}
mutate {convert => ["Volume", "float"]}
}
output {
elasticsearch {
action => "index"
host => "localhost"
index => "stock"
workers => 1
}
stdout {}
}
========================