[
https://issues.apache.org/jira/browse/NIFI-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051147#comment-16051147
]
ASF GitHub Bot commented on NIFI-4081:
--------------------------------------
GitHub user pvillard31 opened a pull request:
https://github.com/apache/nifi/pull/1921
NIFI-4081 - Added raw message option in GrokReader
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
### For all changes:
- [X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
- [X] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number
you are trying to resolve? Pay particular attention to the hyphen "-" character.
- [X] Has your PR been rebased against the latest commit within the target
branch (typically master)?
- [X] Is your initial contribution a single, squashed commit?
### For code changes:
- [X] Have you ensured that the full suite of tests is executed via mvn
-Pcontrib-check clean install at the root nifi folder?
- [X] Have you written or updated unit tests to verify your changes?
- [X] If adding new Properties, have you added .displayName in addition to
.name (programmatic access) for each of the new properties?
### Note:
Please ensure that once the PR is submitted, you check travis-ci for build
issues and submit an update to your PR as soon as possible.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pvillard31/nifi NIFI-4081
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1921.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1921
----
commit ad7e8ee657d30c80ad16de9c3550837d645b574b
Author: Pierre Villard <[email protected]>
Date: 2017-06-15T22:09:45Z
NIFI-4081 - Added raw message option in GrokReader
----
> GrokReader - add the option to keep raw message in a dedicated field
> --------------------------------------------------------------------
>
> Key: NIFI-4081
> URL: https://issues.apache.org/jira/browse/NIFI-4081
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.3.0
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Minor
>
> In some use cases, it can be useful to keep the raw message in the record. I
> propose to add a parameter to the GrokReader allowing the user to store in
> the field {{rawMessage}} the raw content of the record (stack trace included
> if any).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)