Commit graph

177 commits

Author SHA1 Message Date
Jordan Sissel
906b9a7cbe - fix failing test 2013-04-11 15:36:50 -07:00
Jordan Sissel
cd7c7c197a Merge branch 'master' of github.com:Spredzy/logstash into Spredzy-master
Conflicts:
	spec/filters/grok.rb
2013-04-11 15:05:45 -07:00
Jordan Sissel
666581aeaf - Fix quoting (which is breaking the test) 2013-04-07 23:47:17 -07:00
Jordan Sissel
e1245e28d8 - another example 2013-04-01 15:45:02 -07:00
Jordan Sissel
4db0dab846 - add example from the mailling list 2013-03-30 13:40:09 -07:00
Jordan Sissel
d9169fddc0 Merge pull request #418 from piavlo/feature/enhanced-translate-filter
enhanced translate filter
2013-03-30 12:48:14 -07:00
Jordan Sissel
185d95153c - Add example parsing the graphite carbon text protocol 2013-03-29 22:53:36 -07:00
Piavlo
d1254bdaaa enhanced translate filter 2013-03-28 02:35:55 +02:00
Jordan Sissel
78023ba2c3 Merge pull request #395 from invadersmustdie/graphite-format
Minor changes on graphite plugin.
2013-03-24 16:02:00 -07:00
Rene Lengwinat
4888c4ec07 Replaced placeholder %{metric} with '*' as aligned with jordansissel 2013-03-24 14:58:03 +01:00
Alexander Papaspyrou
c0937c5cb3 Changes wrt. @jordansissel's comments on [my pull request](https://github.com/logstash/logstash/pull/415). 2013-03-22 20:04:15 +01:00
Alexander Papaspyrou
e332f52c48 Added support for IETF 5425 syslog parsing in grok. 2013-03-22 18:30:14 +01:00
Jordan Sissel
0ab564e4a3 - Add note of redis 2.6 requirement for new batch_count input setting
- Have bin/logstash fetch jruby if ruby is not found.

- note redis 2.6 requirement for new batch_count on redis input

- randomize batch size

- only build-jruby if it's not there. This avoids the 'make: Nothing to
be done for ...' message
2013-03-20 12:09:07 -07:00
Jordan Sissel
ae51a08a99 Merge pull request #384 from wiibaa/555
Non-regression test for LOGSTASH-555
2013-03-19 14:03:31 -07:00
Jordan Sissel
3294f0e6a6 - fix syntax 2013-03-19 13:42:12 -07:00
Jordan Sissel
61aac12911 - fix syntax 2013-03-19 13:39:45 -07:00
Jordan Sissel
4329ff98cf - add batch_count test to redis input 2013-03-19 13:37:43 -07: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