Limit time frame that sidecar collects

Is there somewhere in the sidecar (winlogbeat/filebeat) where we can limit to lets say the last 30 days of logs? Currently, if a new server is configured with either of these it goes back to the beginning of time of the server logs and is causing large amounts of messages to flood the graylog server.

use ignore_older:: in your configuration - for example:

##### find owa logon and logoff but not when the HealthMailbox does it.
    - type: log
      enabled: true
      include_lines: ['auth.owa', 'logoff.owa', 'ClientDisconnect']
      exclude_lines: ['HealthMailbox','^#']
        unique_log_tag: OWA
      ignore_older: 72h
        - C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Owa\*.LOG
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.