You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
LogCollector plugins
Drop field plugin
Copy page
Download PDF
Drop field plugin
You can use the drop_fields plugin in LogCollector to remove unnecessary fields.​
Description​
This plugin is supported in LogCollector V2.2.0 and later versions. To check your LogCollector version, see 2. View software version.​
Parameters description​
​
Name​
Type​
Required​
Description​
fields​
String​
Yes​
Field name.​
​
Configuration examples​
During collection, remove the data and alignment fields from logs.​
  • Key-value pair logs after processing (such as collection mode or other processor plugins)​
  • ​
    "data": "Click Here"​
    "size": "36"​
    "style": "bold"​
    "name": "text1"​
    "hOffset": "250"​
    "vOffset": "100"​
    "alignment": "center"​
    "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"​
    "time": "Today is 2023-06-08. Tomorrow is 2023-06-09."​
    ​
  • LogCollector plugin processor configuration​
  • ​
    {​
    "processors": [​
    {​
    "drop_fields": {​
    "fields": [​
    "data",​
    "alignment"​
    ]​
    }​
    }​
    ]​
    }​
    ​
  • Processing result​
  • ​
    "size": "36"​
    "style": "bold"​
    "name": "text1"​
    "hOffset": "250"​
    "vOffset": "100"​
    "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"​
    "time": "Today is 2023-06-08. Tomorrow is 2023-06-09."​
    ​
Last updated: 2026.07.30 17:29:25