Commit graph

190 commits

Author SHA1 Message Date
Jordan Sissel
40532b266e - make 'update' set a field value if it exists but do nothing if not
- make 'replace' do what it should, which is replace a field (or create
  it if it doesn't exist).
2013-05-06 07:49:41 -07:00
Jordan Sissel
146b649e20 - add test coverage for grok fields with dashes in them 2013-05-03 09:05:15 -07:00
Jordan Sissel
69f2cc8747 - Add coverage for LOGSTASH-1051 2013-05-02 23:17:10 -07:00
Jordan Sissel
c24e048452 - Add test coverage for LOGSTASH-1051 2013-05-02 23:16:23 -07:00
Jordan Sissel
bc6965d521 - Add coverage for LOGSTASH-968 2013-05-01 13:02:09 -07:00
Wiibaa
dd3b1bb80a Allow multiple client to RELP input 2013-05-01 06:09:48 +00:00
Jordan Sissel
41313c3946 default quiet specs 2013-04-28 13:27:17 -07:00
Jordan Sissel
aef2d5cff0 - make these proper tests that run in a way that rspec understands. 2013-04-28 13:27:17 -07:00
Louis Zuckerman
48b32bc10c LOGSTASH-1033 2013-04-21 09:58:26 -04:00
Jordan Sissel
842e3ec182 - add tests coverage for geoip 2013-04-18 22:23:58 -07:00
Piavlo
cc5d6e8b9e support for fields with array values 2013-04-16 13:07:07 -07:00
Piavlo
aa836bf3c0 corrected some rspec tests desciptions 2013-04-16 13:07:07 -07:00
Piavlo
42935e78c8 filter to prune fields from events 2013-04-16 13:07:07 -07:00
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