Hi
I am trying to parse the below log line by mutating the pipe symbol with space. However some time there are few field value contains some spaces in between(The last field in the example given below) and after parsing that field value is considered as three different fields (i.e.. access, token, expired). How can i solve this issue?
API-PROXY-1|1469599856616|1469599856625|rrt-6e3138e4-eu-15765-5137040-1|123.12.123.123|test-api|Access Token expired|
Logstash Conf:
mutate{
gsub => ["message", "|", " " ]
}