Nick Ethier
fd89b220d5
Fix json codec to accept json on a single line
2013-10-09 14:10:35 +02:00
Jordan Sissel
ec9c1d4d1d
Merge pull request #673 from shadyabhi/fix_prefix_and_include_exclude_keys_related_bug
...
Fix prefix and include exclude keys related bug
2013-10-08 07:49:53 -07:00
Jordan Sissel
187251dc50
- don't use deprecated things
2013-10-08 07:17:02 -07:00
Jordan Sissel
faf6023dea
- copy tests from elasticsearch_http to test type settings
2013-10-03 11:57:05 -07:00
Jordan Sissel
1729db4f89
- Add more tests to verify document index and index type settings
2013-10-03 11:27:54 -07:00
Matt Dainty
deb87b2582
Make 'if "something" not in [nonexistent] { ... }' succeed
...
My argument is checking for the absence of a value in a field that doesn't
exist should return true, currently it is false.
This fixes the case where an event which has never been tagged now works with
this logic:
grok {
...
}
if "_grokparsefailure" not in [tags] {
...
}
2013-10-01 11:56:41 +01:00
Jordan Sissel
12b75fc260
- disable one test that has broken behavior (edge case, will resolve
...
later)
- work around inadequate support in LogStash::Event#include? to keep the
test passing correctly
2013-09-30 13:31:12 -07:00
Abhijeet Rastogi
bc724fe723
Write a failing test when prefix & include/exclude keys are used together
2013-09-27 15:14:06 +05:30
Adam Tucker
c801054ab1
Forgot to specify second field name in spec config.
2013-09-26 21:24:27 -04:00
Adam Tucker
90d3c195ff
Unique filter and spec.
2013-09-26 20:06:12 -04:00
Nick Ethier
8981ab2b33
Merge pull request #660 from logstash/remove-old-event-shims
...
remove old event shims and fix any uses of it
2013-09-26 09:57:37 -07:00
Nick Ethier
7145647cd2
improve coverage reporting [ci skip]
2013-09-25 16:11:16 -06:00
Nick Ethier
84545e1125
Merge branch 'filter-tests' into travis
2013-09-25 14:11:21 -06:00
Nick Ethier
5854667f7e
add coverage
2013-09-24 16:31:56 -06:00
Nick Ethier
305f699451
Merge pull request #609 from fbird/master
...
add sort filter
2013-09-24 12:46:39 -07:00
Neway Liu
167dd73649
1) adjust the comments
...
2) change milestone to 1
3) add comments for the ignored case.
2013-09-24 10:13:12 +08:00
Bernd Ahlers
a063f2fc0e
Allow empty plugin sections again.
...
This used to work with 1.1.x.
See: https://logstash.jira.com/browse/LOGSTASH-1344
2013-09-23 18:50:43 +02:00
Neway Liu
6cf2e57a19
add test case, found some issue and fixed them.
2013-09-24 00:24:48 +08:00
Nick Ethier
b0a8ac30eb
remove old event shims and fix any uses of it
2013-09-20 14:34:01 -06:00
Nick Ethier
42f11e3bec
Merge pull request #633 from wiibaa/spec-output-file
...
Correct test case spec/output/file.rb
2013-09-19 12:58:31 -07:00
Juarez Bochi
313923e7e6
Add metrics filter tests for clear and flush intervals
2013-09-19 16:02:14 -03:00
Juarez Bochi
de0bdacbf7
Adds tests for metrics filter and fixes key collision
...
When using multiple instances of the metrics filter,
the keys collided, making the counters interfere with
each other.
2013-09-19 16:02:13 -03:00
Nick Ethier
9e76afa87d
Add tests for the checksum filter.
2013-09-18 16:38:58 -06:00
Nick Ethier
38f705a2cd
fix broken graphite codec spec
2013-09-18 11:02:25 -06:00
Nick Ethier
23d9eecf89
Graphite Codec Tests
...
I added more tests the the graphite codec to cover
instances when various parameters are set. I choose
not to write tests for inlcude/exclude_metrics
because the default value is used when encoding.
2013-09-17 14:52:54 -06:00
Nick Ethier
ab23fc2676
New Graphite Codec
...
This codec will soon replace the need for a graphite input and output.
The tcp inputs/outputs can be used in conjunction with the graphite codec.
This lets us consolidate the many different ways various tcp based plugins
handle timeouts, exceptions, etc.
2013-09-17 14:02:44 -06:00
Jordan Sissel
0d7a6e5547
- permit overwriting source (or really, overwriting any non-hash field)
2013-09-16 22:30:52 -07:00
Jordan Sissel
b1395d8614
- hand-merge #485 's test
2013-09-16 16:33:52 -07:00
Wiibaa
edded01ab8
Repair outputs/file test + add use of zcat command to cover LOGSTASH-997
2013-09-11 14:39:14 +02:00
Jordan Sissel
f1d6d1d71c
- swear less, and never in documentation.
2013-09-08 21:01:47 -07:00
Jordan Sissel
51a24e8de1
- Add "not in" operator based on feedback from this logstash 1.2.0
...
writeup:
http://tobrunet.ch/2013/09/logstash-1-2-0-upgrade-notes-included/
2013-09-06 20:22:41 -07:00
Jordan Sissel
74a6210b3b
disable for now
2013-09-06 18:49:05 -07:00
Jordan Sissel
a6d21997c7
- restore multiline filter from 1.1.13 (LOGSTASH-1297, LOGSTASH-1285)
...
It may go away in the future, but it was accidentally removed in the
1.2.0 release and its accidental removal caused backwards
incompatibility, which is bad and I should feel bad. </zoidberg>
2013-09-06 18:27:01 -07:00
Jordan Sissel
1ceeed8628
- add tests to cover grok singles with duplicate field names
2013-09-06 18:04:48 -07:00
Jordan Sissel
9690cde783
style
2013-09-04 10:53:25 -07:00
Jonathan Tron
dcaca7e184
Fix relp input and update spec
2013-09-04 16:04:07 +02:00
Jordan Sissel
87a4391924
- regression test to ensure single-quoted values as attribute names is
...
valid.
2013-09-03 09:08:22 -07:00
Jordan Sissel
48ca389837
Merge branch 'master' of github.com:logstash/logstash
...
Conflicts:
Makefile
2013-09-02 22:39:25 -07:00
Jordan Sissel
a98ba35f98
- skip tests that use jruby-specific features (with an obvious TODO item
...
implied that we'll make it work under MRI/RBX eventually)
2013-09-02 20:17:20 +00:00
Jordan Sissel
b8a0bc209f
- add negated expression examples
2013-09-02 12:16:28 -07:00
Jordan Sissel
5c23e9214d
- stop hacking support for in/regexp stuff; this fixes negating regexps
...
and other things.
2013-09-02 12:10:50 -07:00
Jordan Sissel
516a0b6410
- refactor json_encode filter to use source+target settings
...
- add specs to cover json_encode
2013-08-31 22:43:24 -07:00
Jordan Sissel
ee28786400
- add a tag for events that have multiple lines (keeps backwards compat
...
to the older multiline filter)
- add tests to cover this behavior.
2013-08-30 18:00:11 -07:00
Jordan Sissel
9518347f62
- add tests for drop filter
...
- promote drop filter to milestone 3
2013-08-28 07:12:16 -07:00
Jordan Sissel
bddcc6ccf1
- add more conditional tests (logical operators, unary negate, etc)
2013-08-28 06:41:26 +00:00
Jordan Sissel
582aca3436
- Add /regexp/ support to the config grammar
...
- Add tests for all the conditional comparison operators
2013-08-27 00:03:45 +00:00
Jordan Sissel
f6eb5a8f18
- json codec encodes and includes a trailing newline now; fix the test.
2013-08-25 01:04:27 -07:00
Brad Fritz
0630d51ac1
[syslog5424] do not capture chevrons with priority value
...
Priority is "191", not "<191>". The syslog_pri filter expects a
raw integer without the extra punctuation.
2013-08-24 11:35:51 -04:00
Jordan Sissel
0f946192db
Merge pull request #586 from bfritz/syslog5424-fixes
...
nil instead of "-" for missing structured data with grok pattern for rfc 5424 syslog
2013-08-23 15:36:15 -07:00
Brad Fritz
93990829f2
[syslog5424] structured data should be nil when RFC NILVALUE is used
2013-08-23 14:34:41 -04:00