elasticsearch plugin identify the proto?

In elasticsearch.cc

bool ElasticSearch::DoWrite(int num_fields, const Field* const * fields,
    Value** vals)

We can get the contents, how can I identify the proto of the content?

In local logging, it will write to http.log, But in elasticsearch it
lost the proto message.

The name of the log stream is stored as the type field in ElasticSearch.