Commit graph

24 commits

Author SHA1 Message Date
Jordan Sissel
0ec869bca0 - fix redis tests 2013-08-20 22:59:04 -07:00
Jordan Sissel
85be32b5ca - use real tcp sockets 2013-07-03 22:48:25 -07:00
Jordan Sissel
e48f05e607 Remove '@' from '@message' 2013-06-19 10:03:38 -07:00
Jordan Sissel
86dc8ba4cc Merge pull request #480 from wiibaa/output-mails
Allow @message, @source etc in match for email output
2013-05-28 23:59:03 -07:00
Wiibaa
8d644ba281 Rebase of previous pull to execute spec tests and integrate ibrahima comment:
* Allow @message @source in match for email output
* Restore lost plugin documentation from some time ago
  6c9b36b227
* Integrate ibrahima comments: use respond_to? :each
2013-05-14 08:20:16 +02:00
Wiibaa
dc4aff493d initial spec test for output/file 2013-05-14 07:20:49 +02:00
Jordan Sissel
bc6965d521 - Add coverage for LOGSTASH-968 2013-05-01 13:02:09 -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
Rene Lengwinat
4888c4ec07 Replaced placeholder %{metric} with '*' as aligned with jordansissel 2013-03-24 14:58:03 +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
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
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
a5ece58282 - add test converting US-ASCII to UTF-8 from generator input to redis
output
2012-11-22 09:05:00 +00:00
Laust Rud Jacobsen
60fc1693d4 Logstash::Outputs::Redis: JSON-encode message outside of Redis reconnect
Fixes LOGSTASH-712
2012-11-19 11:17:57 +01:00
Jordan Sissel
83218266a4 Give up for now; will probably do vagrant in the future. For now just requiring a live redis server externally for redis tests 2012-10-21 00:17:04 -07:00
Jordan Sissel
8e17cc292b - Add 'redis' test service (download/build/run redis)
- Make redis input/output specs use a real redis server
- Fix test_utils bugs to make around(:each) work.
2012-10-20 23:28:10 -07:00
Jordan Sissel
968ed8c72d Fake redis for now until I get some vagrant/puppet stuff going to build proper servicse 2012-10-19 00:24:53 -07:00
Jordan Sissel
6e0fc203b3 - add elasticsearch output tests 2012-10-18 23:26:20 -07:00
Jordan Sissel
52e8ee0ef4 purge unused stuff 2012-09-10 20:26:17 -07:00
Jordan Sissel
6205866212 Fix name 2012-09-03 23:36:14 -07:00
Jordan Sissel
fa40fcf304 - Add redis output test; currently covers 'list' mode only. 2012-09-03 22:12:21 -07:00
Jordan Sissel
571d66d587 - report stats on completion
- randomize flush_size
2012-09-01 16:40:56 -07:00
Jordan Sissel
4203c788ed Add outputs/elasticsearch_http tests 2012-09-01 16:26:32 -07:00