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

Add multiline output to file #1001

Closed
wants to merge 1 commit into from

Conversation

kvls
Copy link

@kvls kvls commented Jan 30, 2014

We use logstash to collect some logs in a file in some format. And we need to have a certain format logs, for example: "%{message}\n%{status}\n%{level}". But file output not supports this format, and all '\n' becomes '\n'.

@elasticsearch-release
Copy link

Can one of the admins verify this patch?

@wiibaa
Copy link
Contributor

wiibaa commented Aug 27, 2014

Root issue is #1645

@jordansissel
Copy link
Contributor

Closing this in favor of #1645 which will solve this problem. Let's continue the discussion on #1645! :)

@jordansissel
Copy link
Contributor

For Logstash 1.5.0, we've moved all plugins (and grok patterns) to individual repositories. Can you move this pull request to https://github.com/logstash-plugins/logstash-output-file?

This sequence of steps may help you do this migration:

  1. Fork this repository

  2. Clone your fork

    git clone https://github.com/kvls/logstash.git
  3. Create a branch:

    git checkout -b my-branch-name
  4. Apply the patches from this PR into your branch:

    curl -s https://github.com/elastic/logstash/pull/1001.patch | git am

    This should take your commits from this PR and commit them to your new local branch.

  5. Push!

    git push origin my-branch-name
  6. Open a new PR against https://github.com/logstash-plugins/logstash-output-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants