Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small pipeline enhancements #12996

Merged
merged 3 commits into from
Jul 22, 2019
Merged

Commits on Jul 22, 2019

  1. Small pipeline enhancements

    Note: these changes are required to prepare for some refactoring in
    filebeat.
    
    Introduce OutputChooses publisher mode. Normally this is equivalent to
    the default mode for most Beats. But we introduce a new mode here, as filebeat sets the default mode
    to GuaranteedSend. This allows custom inputs to overwrite the default
    mode in filebeat in the future.
    
    Using beats.ProcessorList and the processors list to combine processors
    from different configurations is a little tricky. To simplify the task,
    we make sure that beat.ProcessorList implements processors.Processor.
    We also export processors.NewList, that can be used to compose a set of
    custom processors.Processor and beats.ProcessorList. The list returned
    by processors.NewList also implements beats.ProcessorList.
    It's not nice, but at least makes processors composable.
    urso committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    989a07c View commit details
    Browse the repository at this point in the history
  2. changelog

    urso committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    8fb1185 View commit details
    Browse the repository at this point in the history
  3. godoc

    urso committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    b095bc8 View commit details
    Browse the repository at this point in the history