exception=>java.lang.IllegalArgumentException: Invalid format:

Description

Conf file :
input {
path => "/tmp/logdir/app/logs/201311/02/log.txt"
}

filter{
mutate {
type => "XXX"
add_field => [ "tmp_path", "%{path}"]
}

csv {
type => "XXX"
source => "tmp_path"
separator => "/"
target => "path_cols"
}

mutate {
type => "XXX"
add_field => [ "Date", "%{path_cols.column6}%{path_cols.column7}" ]
}

date {
type => "XXX"
match => [ "Date", "yyyyMMdd HH:mm:ss" ]
}
}

Error:

Failed parsing date from field {:field=>"Date", :value=>"{path_cols.column6}", :exception=>java.lang.IllegalArgumentException: Invalid format: "{path_cols.column6}", :level=>:warn}

PFA

Assignee

Logstash Developers

Reporter

Dhamu

Labels

Affects versions

Configure