The configuration you posted is invalid (there's a double quote missing) and the log snippet is incomplete somehow because Logstash complains that it can't parse it.
$ cat data
1654996090,3,22303-2306-22e6-8d34-12a456e152c0 ,100, AppRequest/Exception, 1, 10.1.1.30, FormattedMessage=\"Service SessionService: Raised Exception: Invalid token. --- End of stack trace from previous location where exception was thrown --- ,AppRequest
2345160901,3,1w4ab1-1234-11e6-8d28-6e152c0, 20000, AppNotification/Notification, 2,10.1.1.56, FormattedMessage=\"When:Activation was called with parameters ReferenceException --- End of stack trace from previous location where exception was thrown --- ,AppNotification
$ cat test.config
input { stdin { } }
output { stdout { codec => rubydebug } }
filter {
csv {
columns => ["time1","split","time2","id","name","level","ip","msg","task"]
separator => ","
}
}
$ /opt/logstash/bin/logstash -f test.config < data
Settings: Default pipeline workers: 8
Pipeline main started
Error parsing csv {:field=>"message", :source=>"1654996090,3,22303-2306-22e6-8d34-12a456e152c0 ,100, AppRequest/Exception, 1, 10.1.1.30, FormattedMessage=\\\"Service SessionService: Raised Exception: Invalid token. --- End of stack trace from previous location where exception was thrown --- ,AppRequest", :exception=>#<CSV::MalformedCSVError: Illegal quoting in line 1.>, :level=>:warn}
Error parsing csv {:field=>"message", :source=>"2345160901,3,1w4ab1-1234-11e6-8d28-6e152c0, 20000, AppNotification/Notification, 2,10.1.1.56, FormattedMessage=\\\"When:Activation was called with parameters ReferenceException --- End of stack trace from previous location where exception was thrown --- ,AppNotification", :exception=>#<CSV::MalformedCSVError: Illegal quoting in line 1.>, :level=>:warn}
{
"message" => "1654996090,3,22303-2306-22e6-8d34-12a456e152c0 ,100, AppRequest/Exception, 1, 10.1.1.30, FormattedMessage=\\\"Service SessionService: Raised Exception: Invalid token. --- End of stack trace from previous location where exception was thrown --- ,AppRequest",
"@version" => "1",
"@timestamp" => "2016-09-22T07:12:45.601Z",
"host" => "lnxolofon",
"tags" => [
[0] "_csvparsefailure"
]
}
{
"message" => "2345160901,3,1w4ab1-1234-11e6-8d28-6e152c0, 20000, AppNotification/Notification, 2,10.1.1.56, FormattedMessage=\\\"When:Activation was called with parameters ReferenceException --- End of stack trace from previous location where exception was thrown --- ,AppNotification",
"@version" => "1",
"@timestamp" => "2016-09-22T07:12:45.639Z",
"host" => "lnxolofon",
"tags" => [
[0] "_csvparsefailure"
]
}
Pipeline main has been shutdown
stopping pipeline {:id=>"main"}
Please edit your post so that it reflects reality and so that someone else can reproduce the problem.