I'm using date plugin, but i'm not able to match this timestamp
log_ts = 2015-11-19-11:14:23.8704
If i use this snippet code in the conf file
date {
match => ["log_ts", "yyyy-MM-dd-HH:mm:ss.SSSS"]
}
I obtain this exception
arsing_exception", "reason"=>"failed to parse [log_ts]", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"Invalid format: \"2015-11-19-11:14:23.8704\" is malformed at \"-11:14:23.8704\""}}}}, :level=>:warn, :file=>"logstash/outputs/elasticsearch.rb", :line=>"369", :method=>"submit"}
Why i have this error?How can i match that timestamp?