Grok Type Conversion Not Working (logstash-6.6.0)

I have defined type conversion for id field to long in my grok pattern, still result is showing string. What am I doing wrong here? Please help.

Input: 127.0.0.1 [http-bio-8080-exec-33091] INFO  3747742999301509130

Pattern: %{IPV4:clientip} %{DATA:data} INFO  %{BASE10NUM:id:long}

Output:
{
  "data": "[http-bio-8080-exec-33091]",
  "clientip": "127.0.0.1",
  "id": "3747742999301509130"
}

logstash-6.6.0

Currently the only supported conversions are int and float .

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.