【问题标题】:Delete fields from NXLOG从 NXLOG 中删除字段
【发布时间】:2020-06-26 19:25:09
【问题描述】:

我正在尝试减小从我的 Windows 事件日志发送到灰色日志的消息的大小,但我终其一生都无法弄清楚如何告诉它删除某些字段

我唯一能弄清楚的是我应该使用 delete() 但如何使用以及将其放置在我的配置中的位置非常令人沮丧。

到目前为止,我所拥有的是: Exec $Message = delete($TargetLogonID);

但这会导致: Couldn't parse Exec block at C:\Program Files (x86)\nxlog\conf\nxlog.conf:67; couldn't parse statement at line 67, character 39 in C:\Program Files (x86)\nxlog\conf\nxlog.conf; function 'delete()' does not exist or takes different arguments

【问题讨论】:

    标签: graylog nxlog


    【解决方案1】:

    我想我明白了。在我的<Input eventlog>

    我加了

      Exec delete($SubjectLogonId);
      Exec delete($KeyLength);
      Exec delete($Keywords);
      Exec delete($SubjectUserSid);
      Exec delete($ThreadID);
      Exec delete($TransmittedServices);
      Exec delete($Version);
      Exec delete($LogonGuid);
      Exec delete($LmPackageName);
      Exec delete($ImpersonationLevel);
      Exec delete($RecordNumber);
      Exec delete($SourceModuleType);
      Exec delete($AuthenticationPackageName);
      Exec delete($OpcodeValue);
      Exec delete($ProcessID);
      Exec delete($ProcessName);
      Exec delete($ProviderGuid);
      Exec delete($TargetLogonId);```
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-29
      • 2022-01-07
      相关资源
      最近更新 更多