Commit graph

761 commits

Author SHA1 Message Date
Wiibaa
4d5bc7d66e Allow repeating a field in the hash config . Fix LOGSTASH-919 2013-03-15 06:37:36 +01:00
Yanis Guenane
27b80504c8 Grok does create field when pattern matches all message
As of today grok filter does not create a specific field
if the grok matches the whole message. This commit changes
this behavior and make grok create the required field in
the configuration file
2013-03-10 16:11:15 +01:00
Rene Lengwinat
24eb0b2223 Minor changes on graphite plugin.
- Added metrics_format option to define the resulting format of the
  metric string that will be sent to graphite.

  example:

    graphite {
      host => "graphite.local"
      port => 2003
      fields_are_metrics => true
      include_metrics => ["foo"]
      metrics_format => "my.system.%{metric}"
    }

- added test suite for graphite plugin
2013-03-09 11:44:24 +01:00
Jordan Sissel
3b1f0a0545 Merge pull request #385 from wiibaa/alter
Adding test-suite for alter plugin + minor bugfixes
2013-03-05 16:04:47 -08:00
Wiibaa
8977adda67 Don't warn on nil source value 2013-03-04 06:36:10 +01:00
Wiibaa
415911f42d Adding test-suite for alter plugin
Bugfix for using fallback values in coalesce LOGSTASH-891
Bugfix of typos in configuration logger.error string
Small improvement allow sprintf in test value for condrewrite and condrewriteother
2013-03-02 14:16:02 +01:00
Wiibaa
fd4c70f05a tests for LOGSTASH-555 2013-03-02 08:48:19 +01:00
Richard Pijnenburg
56a590a474 Refactoring
- Replace fields and container with source and target
- Add tests for the new variables
2013-03-01 22:53:33 +01:00
Jordan Sissel
e933cc6b92 Merge pull request #381 from wiibaa/emails
Rebase PR-337 Emails output Fixes: LOGSTASH-827 and LOGSTASH-841
2013-03-01 13:14:30 -08:00
Jordan Sissel
5fea4c8647 - Add test coverage for LOGSTASH-935 2013-02-28 15:34:18 -08:00
Wiibaa
c84196ba96 Fix and test for LOGSTASH-559 authenticationType=>nil 2013-02-28 07:20:32 +01:00
Wiibaa
f2feaa3c31 Fixes for LOGSTASH-827 and LOGSTASH-841
Adding a solution for testing output/email using rumbster (https://github.com/aesterline/rumbster)
2013-02-28 07:20:32 +01:00
Jordan Sissel
4d8df5667d - Add coverage for the problem reported in pull #375 2013-02-27 08:25:29 -08:00
Jordan Sissel
40909ce9c0 Merge pull request #354 from alexdean/redis_output_with_stud_buffer
Redis output with generalized batch/flush
2013-02-26 12:39:59 -08:00
Jordan Sissel
a103dc489e Merge pull request #312 from electrical/json_regexp_deprecate
Deprecating regexp fields for json filter
2013-02-04 16:15:04 -08:00
Jordan Sissel
a293ab1bf5 Merge pull request #311 from electrical/xml_regexp_deprecate
Deprecating regexp fields
2013-02-04 16:08:56 -08:00
Jordan Sissel
73722a6351 Merge pull request #310 from electrical/csv_regexp_deprecate
Deprecating regexp field for LOGSTASH-756
2013-02-04 16:05:22 -08:00
Alex Dean
ab7f03cded fix race condition which causes redis output to lose some messages in batch mode
Scenario:
  - @flush_thread starts writing to redis (@redis.rpush)
  - main thread adds a new message to @pending
  - @flush_thread deletes this message (@pending.delete)
2013-02-04 08:36:06 -06:00
Jordan Sissel
55a2350a0b - reduce date perf test requirements for now since they're failling
intermittently on jenkins.
2013-01-23 10:34:47 -08:00
Neil Prosser
44ef1e5beb Allow configuration of whether the grok filter tags events on failure 2013-01-22 16:48:58 +00:00
Jordan Sissel
87d7c522e8 - disable some anonymize filter tests because JRuby doesn't support them
(MD4 and SHA224; these are pretty uncommon too)
2013-01-18 00:38:35 -08:00
Richard Pijnenburg
2a5e7a9c3e Deprecating regexp fields for json filter
- Replace regexp fields with source and target
- Added test for the new fields
2013-01-12 14:07:20 +01:00
Richard Pijnenburg
7fab46edca Deprecating regexp fields
- Replaced regexp fields with source and target variable
- Added tests for new variables
2013-01-12 13:42:21 +01:00
Richard Pijnenburg
b489155ca6 Deprecating regexp field for LOGSTASH-756
- Deprecating fields to columns
- Deprecating regexp fields to source
- Adding target for sub field specifcation
- Added and modified rspec checks
2013-01-12 11:52:32 +01:00
Louis Zuckerman
08c20d9c9b Merge branch 'master' into LOGSTASH-724 2013-01-10 09:11:46 -05:00
Jordan Sissel
a3c976346a - 2013-01-08 14:10:31 -08:00
Louis Zuckerman
13c25baccd Support deep fields (foo.bar) in date filter (LOGSTASH-724)
allow literal dot with \.
2013-01-05 14:47:04 -05:00
Louis Zuckerman
eec7ac8a09 Support deep fields (foo.bar) in date filter (LOGSTASH-724) 2013-01-05 01:15:37 -05:00
Jordan Sissel
e1c9a78c59 Add test for LOGSTASH-820 support 2013-01-04 15:05:57 -08:00
Jordan Sissel
25101c6ed0 Add sprintf tests 2013-01-03 20:08:08 -08:00
Jordan Sissel
f2de014cfe - add test case for LOGSTASH-817 2013-01-03 12:02:04 -08:00
Jordan Sissel
f3907ede13 Switch to using one socket 2012-12-31 15:46:39 -08:00
Jordan Sissel
c753f26e59 - do teardown after finishing, not before. 2012-12-31 15:30:30 -08:00
Jordan Sissel
62fea57657 - JRuby doesn't implemtn HMAC-SHA ?
1) LogStash::Filters::Anonymize anonymize string with SHA alogrithm ...
       Failure/Error: filter.filter(e)
       NotImplementedError:
         Algorithm HMAC-SHA not available
       # ./lib/logstash/filters/anonymize.rb:51:in `anonymize_openssl'

Disable it.
2012-12-31 15:02:43 -08:00
Jordan Sissel
8eeabcd43d Make a way to enable debugg logs 2012-12-31 15:02:43 -08:00
Jordan Sissel
46172d4efe Merge pull request #252 from arsenerei/master
add experimental YAML configuration support
2012-12-27 15:12:51 -08:00
Jordan Sissel
3a8e5bdb60 - clarify spec description 2012-12-27 14:51:01 -08:00
Jordan Sissel
737368a31d Merge branch 'LOGSTASH-735' of https://github.com/semiosis/logstash into semiosis-LOGSTASH-735
Conflicts:
	spec/filters/date.rb
2012-12-27 14:50:23 -08:00
Avishai Ish-Shalom
c9e670d703 Added ipv4_network and murmur3 algorithms to the anonymize filter 2012-12-22 12:04:29 +02:00
Jordan Sissel
8ed837e0ef - make TAI64N date pattern support '@'-prefixed times. Now both are
supported:
  @4000000050d506482dbdf024
  4000000050d506482dbdf024
- Add TAI64N date specs which pass.
2012-12-21 17:18:17 -08:00
Jordan Sissel
2d936466d4 Merge pull request #280 from electrical/LOGSTASH-514
Initial commit on anonymizing filter
2012-12-21 16:33:58 -08:00
Jordan Sissel
0b8df2688a Merge pull request #268 from wiibaa/csv
allow custom separator in csv filter
2012-12-21 16:19:58 -08:00
Wiibaa
e0b09f075e Fix for LOGSTASH-624: allow escaped spaces in key or value 2012-12-21 13:37:28 +01:00
Wiibaa
e0da16cbf7 Fix for LOGSTASH-733: allow whitespace in value when using field pipe-delimiter 2012-12-21 11:18:26 +01:00
Richard Pijnenburg
141f6fd17b Initial commit on anonymizing filter
Allows for selecting different algorithms
2012-12-20 02:05:25 +01:00
Wiibaa
d246d28bbd because english is kinda expressive enough language 2012-12-11 11:23:12 +01:00
Jordan Sissel
c46a8627fb - Add test to reproduce LOGSTASH-757 2012-12-11 01:23:47 -08:00
Wiibaa
aa4c29a866 allow custom separator in csv filter 2012-12-11 09:47:14 +01:00
Wiibaa
1bad64e4b1 initial test on tcp input with charsets 2012-12-10 09:11:11 +01:00
Louis Zuckerman
45616712ac Added match config option to date filter (with test) - LOGSTASH-735 2012-11-30 23:33:44 -05:00