background:
winlogbeat 7.3.2
I see follows code in winlogbeat's security.js (winlogbeat-7.3.2\module\security\config\security.js)
var security = (function () {
var path = require("path");
var processor = require("processor");
var winlogbeat = require("winlogbeat");
var addAuthSuccess = new processor.AddFields({
fields: {
"event.category": "authentication",
"event.type": "authentication_success",
},
target: "",
});
var addAuthFailed = new processor.AddFields({
fields: {
"event.category": "authentication",
"event.type": "authentication_failure",
},
target: "",
});
var convertAuthentication = new processor.Convert({
........
i can found AddFields、Convert function, where can i found the processor's all function