Jordan Sissel
025a5f2eef
- make sure grok only adds fields on a successful match
2011-08-19 19:17:05 -07:00
Jordan Sissel
ed0e6277f6
- enable elasticsearch testing from the jar again
2011-08-16 23:24:15 -07:00
Jordan Sissel
f57d8367cf
- for now space has to follow due to bug in the config parser.
2011-07-01 17:15:11 -07:00
Jordan Sissel
0753c65331
- Add simpler runner scripts for testing configs. Uses new agent '-e'
...
flag
2011-07-01 17:14:30 -07:00
Jordan Sissel
b6f17ce58b
- add grok config 'break_on_match' defaults to previous behavior of
...
'true'. If false, grok will attempt to match all given patterns and
produce new fields as they are matched.
- Added test coverage to ensure the above
2011-07-01 15:25:26 -07:00
Jordan Sissel
919122dcbc
Grok update.
...
- Add docs for feature-specific libgrok version requirements
- Add 'match' config; takes a hash.
- Allow anything that looks like a field name as a config attribute.
- Deprecate 'pattern' config. It now is the equivalent of:
pattern => "mypattern"
match => [ "@message", "mypattern" ]
- Add some new tests to verify new libgrok inline-patterns and such.
2011-07-01 00:02:10 -07:00
Jordan Sissel
a1f6614848
- set port so we don't need to be root
2011-06-30 19:58:30 -07:00
Jordan Sissel
358636d686
- add testing syslog config
2011-06-30 18:43:07 -07:00
Jordan Sissel
56e68807ee
- some systems might not have unzip but probably have jar since
...
java is required.
2011-06-30 17:55:38 -07:00
Jordan Sissel
e98f463fac
- fix runners and test launcher
2011-06-30 17:51:35 -07:00
Jordan Sissel
ce67dbcefb
- purge data before elasticsearch test runs
...
- fix test runner
2011-06-30 17:01:17 -07:00
Jordan Sissel
e0e10882f3
- finally fix the elasticsearch output test
2011-06-30 16:27:31 -07:00
Jordan Sissel
adc39d1932
- set exchange type to fanout
2011-06-29 00:02:49 -07:00
Jordan Sissel
1c75880d09
- update test configs
2011-06-29 00:02:21 -07:00
Jordan Sissel
a6f3fdfa55
- re-enable tests
2011-06-09 10:32:06 -07:00
Jordan Sissel
5319eb65c2
- improve elasticsearch 'embedded' support
2011-06-09 00:08:48 -07:00
Jordan Sissel
aa226a09e1
- add test description for web/api
2011-05-08 11:03:12 -07:00
Jordan Sissel
fc4bee74a5
add new testing config
2011-05-08 11:02:54 -07:00
Jordan Sissel
4ec683e160
- If a config is a password, make sure the default value, if used, is
...
also a password object.
- Update some test configs.
2011-05-08 10:58:13 -07:00
Jordan Sissel
2f4be0a8e9
- add configs for testing
2011-05-06 14:06:00 -07:00
Jordan Sissel
c30ce8b0ea
- test against 0.16.0
2011-05-06 14:03:37 -07:00
Jordan Sissel
d4ab66da12
- update gemspec for 1.0 prep
...
- move loadlibs to lib
2011-05-01 11:40:09 -07:00
Jordan Sissel
6335bb08ad
- rename test runner for easier launching from the jar.
2011-04-09 01:58:13 -07:00
Jordan Sissel
f76c88a1ad
- fix broken tests
2011-04-07 17:25:51 -07:00
Jordan Sissel
424aef4803
- Update grok filter to handle multiple messages if
...
LogStash::Event#message is an array. (LOGSTASH-38)
2011-04-03 22:40:27 -07:00
Jordan Sissel
b4ff4ce64e
- split Agent#run into #run and #run_with_config for easier testing.
...
- yield in run_with_config if we get a block (this is necessary for
testing so we can determine when the agent is done setting up
inputs/outputs/etc)
- Allow LogStash::Config::File.new to take a string that is the value
for the config text. Used for testing.
- Fix outputs/internal to work with the new jruby/thread model
- fix the file input tests in jrubyland
Test status for inputs/test_file.rb
Finished in 2.3 seconds.
1 tests, 32 assertions, 0 failures, 0 errors
2011-03-27 20:58:19 -07:00
Jordan Sissel
1b906e8fa2
- Add spoon gem for tests
...
- Update some Gemfile deps/versions
- Make LogStash::Search::ElasticSearch#search support sync and async
Also finish converting it to use jruby-elasticsearch
- Make outputs/test_elasticsearch.rb pass! Whew!
Full test suite result:
Finished in 38.082 seconds.
25 tests, 112 assertions, 0 failures, 0 errors
2011-03-27 01:23:31 -07:00
Jordan Sissel
8f478c56a4
more in-progress work on elasticsearch testing
2011-03-26 23:46:22 -07:00
Jordan Sissel
5f4f5bfef3
- Add cluster name support to outputs/elasticsearch
...
- converted search/elasticsearch to use jruby-elasticsearch internally
(was em-http-request)
- Started working on jruby-ifying the outputs/elasticsearch test. Slow
goings...
- Added gem 'spoon' (implements posix_spawn) since jruby doesn't have
fork.
2011-03-26 01:40:16 -07:00
Jordan Sissel
2e160365a0
Merge branch 'master' of github.com:logstash/logstash
...
Conflicts:
Gemfile
2011-03-18 22:44:39 -07:00
Jordan Sissel
0697cdfc7f
- use jruby 1.6.0
...
- some ordering changes
2011-03-18 22:42:38 -07:00
Jordan Sissel
cc7137d62e
- Fix some date testing that broke after DST switch
...
- disable some tests until they get converted to be jruby-friendly
2011-03-17 01:18:48 -07:00
Jordan Sissel
f204610c5e
- Update lib loading; dump any jars into vendor/
2011-03-08 01:04:12 -08:00
Jordan Sissel
94b69d87c3
- timeout speed test if it runs long
...
- use [foo] not foo.to_a for String, since Object#to_a is going away.
2011-03-08 01:03:19 -08:00
Jordan Sissel
072a9bb1a3
- Add test for grok type hinting
...
(http://code.google.com/p/logstash/issues/detail?id=45 )
2011-03-01 17:30:43 -08:00
Jordan Sissel
0c0101206b
- saner rate formatting
2011-02-27 03:15:31 -08:00
Jordan Sissel
03a8a37bdb
- Add speed test for grok filter
2011-02-27 03:10:42 -08:00
Jordan Sissel
c2ae6f2412
- periodically check assertions in speed test
...
- remove trailing comma
2011-02-27 03:02:42 -08:00
Jordan Sissel
624b02e7b2
- Trim debug output
...
- Add speed test for date parsing
- Remove timezone 'missing' format check since we don't need it anymore.
2011-02-27 02:26:01 -08:00
Jordan Sissel
4f6e8f5cf7
- require jls-grok >=0.4.3
...
- Add basic tests for grok filter
2011-02-27 00:58:25 -08:00
Jordan Sissel
2f81eb1d1d
- Fixup the multiline tests with after th enew config and jruby moves.
...
LOGSTASH-17
2011-02-26 23:22:06 -08:00
Jordan Sissel
5c5433b9e5
- Update grep to use the new config format and be happy in jruby.
...
(LOGSTASH-15)
2011-02-26 22:29:21 -08:00
Jordan Sissel
5126318719
- Push tz setting into setup
2011-02-26 21:52:52 -08:00
Jordan Sissel
6f1d479676
- filters/date unit tests pass again. LOGSTASH-13
2011-02-26 20:32:07 -08:00
Jordan Sissel
805d8b1774
- More awesome?
2011-02-22 00:37:23 -08:00
Jordan Sissel
d31e8caeb1
- don't use grok for now
2011-02-22 00:36:58 -08:00
Jordan Sissel
003a680d78
- Oops, already implemented sprintf. Move the new format to sprintf.
...
- Fix unit tests to support new %{} syntax (was ${})
2011-02-20 23:53:37 -08:00
Jordan Sissel
15bb95dc87
- Start working on issue/30 (refactor the search api to be pluggable)
...
- Updated test_elasticsearch to use the new api, passes.
2011-02-09 03:19:23 -08:00
Jordan Sissel
f852b63ede
- specify rubies
2011-02-06 22:57:05 -08:00
Jordan Sissel
eb967d8f57
- don't do git stuff anymore
2011-02-06 21:38:20 -08:00