write packet data to elasticsearch hopefully