Convert String to IP

I have started up packetbeat to send data to logstash and here is part of the logs

     "answers" => [
        [0] {
            "class" => "IN",
             "data" => "clients.l.google.com",
             "name" => "clients1.google.com",
              "ttl" => 47,
             "type" => "CNAME"
        },
        [1] {
            "class" => "IN",
             "data" => "216.58.199.14",
             "name" => "clients.l.google.com",
              "ttl" => 186,
             "type" => "A"
        }
    ],

and the data shown as ip is displayed as string and I want to convert it into an IP so I can map it with tiles map in kibana.

Is there anyway to do that?

Please don't post multiple threads on the same question - Turn Packetbeat IP data from String to IP field type