Doc Size Processor - logzio/sawmill GitHub Wiki

Doc Size Processor [docSize]

This processor writes the document size in bytes to a target field.

  • targetField - [docSize default] (optional)
{
  "steps": [{
    "docSize": {
      "config": {
        "targetField": "log_size"
      }
    }
  }]
}}