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

Change multiline filter to multiline codec #16

Merged

Conversation

dedemorton
Copy link
Contributor

@dedemorton dedemorton commented Dec 22, 2016

Changes for elastic/logstash#6342

Removes mention of multiline filter plugin from the source for the plugin docs.

@acchen97
Copy link

@jordansissel minor doc change here, just want to confirm multiline codec works well with pipe. I'm not sure of all the input plugins that work with line vs bytes.

@jordansissel
Copy link
Contributor

@acchen97 confirmed multiline codec seems to work with the pipe input:

% bin/logstash -e 'input { pipe { command => "iostat -m 1 3" codec => multiline { pattern => "^avg-cpu" negate => true what => previous } } } output { stdout { } }'

2017-01-02T23:55:10.432Z localhost.localdomain avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.37    0.01    0.05    0.03    0.00   99.55
Device:            tps    MB_read/s    MB_wrtn/s    MB_read    MB_wrtn
sda               0.19         0.00         0.00       1563       2853
dm-0              0.28         0.00         0.00       1555       2853
2017-01-02T23:55:11.431Z localhost.localdomain avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          41.41    0.00    2.02    1.52    0.00   55.05
Device:            tps    MB_read/s    MB_wrtn/s    MB_read    MB_wrtn
sda               5.00         0.00         0.02          0          0
dm-0              4.00         0.00         0.02          0          0
2017-01-02T23:55:21.440Z localhost.localdomain avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          15.66    0.00    1.52    1.52    0.00   81.31
Device:            tps    MB_read/s    MB_wrtn/s    MB_read    MB_wrtn
sda               3.00         0.00         0.01          0          0
dm-0              3.00         0.00         0.01          0          0

@dedemorton dedemorton merged commit 2371bde into logstash-plugins:master Jan 3, 2017
@andrewvc andrewvc changed the title Change multiline filter to multiline codec Change multiline filter to multiline codec Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants