You can drop specified fields from a log entry by using the processor_drop plug-in This topic describes the parameters of the processor_drop plug-in. This topic also provides examples to show how to configure the plug-in.


The following table describes the parameters that you can specify in the detail parameter when you set the type parameter to processor_drop.
Note Only Logtail V0.16.28 or later supports the plug-in.
Parameter Type Required Description
DropKeys String array Yes The fields to be dropped. You can drop one or more fields from a log entry.

Configuration example

The following example shows how to drop the aaa1 and aaa2 fields from a log entry.
  • Raw log entry
  • Logtail configurations for data processing
          "detail": {
            "DropKeys": ["aaa1","aaa2"]
  • Result