Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume, mail # dev - Review Request: [FLUME-1904] Add 'message' parser in ElasticSearchLogStashEventSerializer.java


Copy link to this message
-
Re: Review Request: [FLUME-1904] Add 'message' parser in ElasticSearchLogStashEventSerializer.java
Daisuke Kobayashi 2013-02-14, 09:32

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9441/
-----------------------------------------------------------

(Updated Feb. 14, 2013, 9:32 a.m.)
Review request for Flume.
Changes
-------

removed the extra spaces and lines
Description
-------

In 'appendBody', before adding "@message" field, it should check the headers if there is "message" headers.
This addresses bug FLUME-1904.
    https://issues.apache.org/jira/browse/FLUME-1904
Diffs (updated)
-----

  flume-ng-sinks/flume-ng-elasticsearch-sink/src/main/java/org/apache/flume/sink/elasticsearch/ElasticSearchLogStashEventSerializer.java 3638368
  flume-ng-sinks/flume-ng-elasticsearch-sink/src/test/java/org/apache/flume/sink/elasticsearch/TestElasticSearchLogStashEventSerializer.java 9dff4b0

Diff: https://reviews.apache.org/r/9441/diff/
Testing
-------
Thanks,

Daisuke Kobayashi