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: [http-bio-8080-exec-33091] INFO  3747742999301509130

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

  "data": "[http-bio-8080-exec-33091]",
  "clientip": "",
  "id": "3747742999301509130"


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.