Commit graph

761 commits

Author SHA1 Message Date
Aaron Mildenstein
8915770828 Merge pull request #827 from dakrone/add-edn-lines-codec
Add `edn_lines` codec.

lgtm. Thanks @dakrone, for making Logstash more awesome!
2013-12-04 11:34:05 -08:00
Aaron Mildenstein
d7fa692eff Merge pull request #671 from jbochi/master
Add transliterate option to mutate filter

This looks great!  Thanks for making Logstash more awesome!
2013-12-04 11:29:44 -08:00
Lee Hinman
6ba5559182 Add edn_lines codec 2013-12-03 15:43:49 -07:00
Jordan Sissel
388f3da6e4 fix dns spec to be more reliable using known forward/reverse values at the time of the test 2013-12-03 08:35:23 -08:00
Juarez Bochi
74de9b6d32 Raise configuration error when invalid rates are set 2013-12-03 11:55:09 -02:00
Juarez Bochi
c39fbc27b3 Split rate and percentiles spec tests 2013-12-03 11:06:43 -02:00
Juarez Bochi
a2174fdcd4 Better spec context names 2013-12-03 10:58:51 -02:00
Juarez Bochi
acc8247acc Make metric filter's rate and percentiles configurable 2013-12-02 19:16:10 -02:00
khsing
8e527f5ff7 replace commet, because it copy from split filter,;-) 2013-11-30 16:41:47 +08:00
Guixing Bai
f8228726fa add punct filter 2013-11-30 16:24:29 +08:00
Pierre Baillet
45e6c89369 Fix for LOGSTASH-1634 2013-11-26 11:58:06 +01:00
Brad Fritz
0f05561fd8 [oldlogstashjson] fix broken test logic in 25dc988 2013-11-22 15:08:02 -05:00
Brad Fritz
d07f4078cd [oldlogstashjson] exclude @version from @fields during encode 2013-11-22 14:02:10 -05:00
Brad Fritz
0aaffd0736 [oldlogstashjson] implement encoding of @fields 2013-11-22 14:02:10 -05:00
Brad Fritz
be7d24983e [oldlogstashjson] simplify encoding from v1 to v0 2013-11-22 14:02:10 -05:00
Brad Fritz
25dc988a5d [oldlogstashjson] simplify decoding from v0 to v1 2013-11-22 14:02:10 -05:00
Jordan Sissel
b3fbc64b8b Merge pull request #788 from bfritz/LOGSTASH-1626-fix-oldlogstashjson-codec
LOGSTASH-1626 - encode to JSON instead of ruby hash
2013-11-22 10:14:55 -08:00
Jordan Sissel
b43b3af480 Merge pull request #790 from bfritz/imap-decode-header-values
[imap] decode header values in RFC 2047 encoded-word format
2013-11-22 10:12:21 -08:00
Juarez Bochi
6e4812d92b Add i18n filter with trasliterate support 2013-11-21 16:46:29 -02:00
Peter Fern
01737e0547 [LOGSTASH-1630] Syslog 5424 patterns fail to match additional spaces
https://logstash.jira.com/browse/LOGSTASH-1630

Split the start of `SYSLOG5424LINE` out to `SYSLOG5424BASE`, in case
people want to create PAM or CRON patterns, similar to those available
for `SYSLOG`.

Also make syslog5424_sd optionally match nothing, since it seems to be
ommitted entirely with rsyslog's `RSYSLOG_SyslogProtocol23Format` (ie -
there is no SD data, and it is not correctly replaced with a `-`).
2013-11-21 16:05:26 +11:00
Brad Fritz
a68dad2722 [imap] decode header values in RFC 2047 encoded-word format
RFC 2047 outlines an encoding for header fields.  Without this
change the header fields (To, From, Subject, etc.) may have
values like `=?iso-8859-1?Q?abc?=` instead of `abc`.
2013-11-20 21:02:06 -05:00
Brad Fritz
a4454d4424 [oldlogstashjson] less convoluted not nil assertions 2013-11-20 19:51:25 -05:00
Brad Fritz
07ebf82f76 [oldlogstashjson] fix test assertions
Still do not fully grok the insist blocks or rspec testing,
but at least we're really making assertions now.
2013-11-20 14:40:30 -05:00
Brad Fritz
8457534d75 [oldlogstashjson] encode to json instead of ruby hash (LOGSTASH-1626) 2013-11-20 10:07:30 -05:00
Brad Fritz
df53c981e5 [oldlogstashjson] add tests before making changes 2013-11-20 10:01:01 -05:00
Aaron Mildenstein
fd3ab9166d Merge pull request #784 from bfritz/imap-config-content-type
[imap] configurable content-type selection for multipart messages

Looks good (Jordan approves)!  Thanks for making Logstash awesome! :)
2013-11-19 16:32:09 -08:00
Aaron Mildenstein
cbbe7e530f Merge pull request #780 from mattgray/fix-file-spec
Fix file output tests (broken by removal of Event::from_json)

Thanks for making Logstash awesome! :)
2013-11-19 16:26:46 -08:00
Aaron Mildenstein
84af5d7114 Merge pull request #778 from dakrone/edn-codec
Add EDN codec

Thanks @dakrone 

Thanks for making Logstash more awesome!
2013-11-19 16:20:30 -08:00
Nick Ethier
6c20979271 Merge pull request #718 from Syntigo-nv/master
Fix gelf input for handling of chunked messages

Conflicts:
	Makefile
2013-11-19 17:02:35 -07:00
Aaron Mildenstein
66839e2a13 Merge pull request #716 from wiibaa/jira-1149
Further validate date filter within register method

Thanks for making Logstash awesome! :)
2013-11-19 15:56:49 -08:00
Aaron Mildenstein
a1b804a53d Merge pull request #713 from andreaforni/elapsed_filter
New filter: elapsed :: MERGED!

Thanks for making Logstash awesome! :)
2013-11-19 15:48:10 -08:00
Jordan Sissel
d7d68ad9b9 - raise an exception if you try to set @timestamp to an invalid value
type. OH STATIC TYPING SOMETIMES I MISS YOU.
2013-11-19 12:34:28 -08:00
Brad Fritz
8b5c78c8ff [imap] configurable content-type selection for multipart messages
User can now select which content-type in multipart messages should be
used as the event message.  Default behavior for multipart messages is
still to select first part with text/plain content-type.
2013-11-18 14:25:04 -05:00
Lee Hinman
7f1dbfa486 Change insist syntax 2013-11-18 09:22:34 -07:00
Lee Hinman
1e93bf7a20 Add EDN codec 2013-11-15 19:56:45 -07:00
Matt Gray
870e4def19 Fix file output tests (broken by removal of Event::from_json) 2013-11-13 11:04:51 +00:00
Nick Ethier
6f755de7fb Merge pull request #676 from adamjt/unique_filter
Unique filter
2013-10-29 12:40:01 -07:00
Nick Ethier
efe138b6b0 Merge pull request #731 from logstash/json-streaming
Break out json/json_lines codec.
2013-10-19 18:14:49 -07:00
Jordan Sissel
e36911a55c - add test case 2013-10-18 17:15:50 -07:00
Nick Ethier
9b1061d943 Break out json into json_lines so that users streaming json can use the line delimited codec and users using message based transports i.e. redis can still use a codec without requiring the message end in '\n' 2013-10-18 13:04:44 -06:00
Thomas De Smedt
5696f1da64 Merge branch 'master' of https://github.com/logstash/logstash 2013-10-18 00:36:27 +02:00
Alex Markham
4429f06a51 Add test for default csv quote_char double quote " 2013-10-16 15:52:51 +01:00
Alex Markham
44a9bca63e Additional csv option for quote_char
This will allow users to configure a different quoting char in cases where the data may not exactly fit the csv standard.

A common example may be to completely ignore the quote char, and to do this a null \x00 char can be used instead.
Another example may be csv with ' as the quote char instead of "
2013-10-16 15:47:04 +01:00
Richard Pijnenburg
e400039aa7 Merge pull request #682 from bodgit/notin
Make 'if "something" not in [nonexistent] { ... }' succeed
2013-10-16 03:30:13 -07:00
Thomas De Smedt
0aba36c444 Merge branch 'master' of https://github.com/Syntigo-nv/logstash 2013-10-13 03:38:14 +02:00
Thomas De Smedt
6f8584fae8 test for reading chunked gelf messages 2013-10-13 01:55:47 +02:00
Wiibaa
07964a5ba8 Further validate date filter within register method 2013-10-11 21:55:32 +02:00
Jordan Sissel
8f10ba8a85 Rename sort to collate. I felt that collate was a more accurate term. 2013-10-10 16:33:47 -07:00
Andrea Forni
7c71cc597a Add elapsed filter 2013-10-09 17:35:32 +02:00
Richard Pijnenburg
830b45b474 Merge pull request #710 from logstash/json-codec-fix
Fix json codec
2013-10-09 05:22:15 -07:00