Commit graph

3725 commits

Author SHA1 Message Date
Aaron Mildenstein
2ef0010002 Refactored the collectd plugin to be a codec
It can now take advantage of the new UDP plugin's enhanced speed.
2014-04-22 13:34:46 -05:00
Jordan Sissel
cf3248332e Merge pull request #1092 from subsection/master
Added option to disable certificate validation in the IMAP input
2014-04-21 17:57:16 -07:00
Colin Surprenant
fed289837a Merge pull request #1285 from coolacid/LOGSTASH-2093
[Documentation] Missing " in grok example
2014-04-18 22:40:26 -04:00
Jason Kendall
2801c906e0 Fix for LOGSTASH-2093 2014-04-17 14:34:19 -04:00
Jason Kendall
df224bff01 Fix for LOGSTASH-2129 2014-04-17 10:46:11 -04:00
Jordan Sissel
066a3b7e1c Merge pull request #1263 from elasticsearch/bug/fix-es-embedded-startup-delay
Start ES embedded server before creating a client.
2014-04-16 21:40:15 -07:00
Jordan Sissel
53356f03cb Merge pull request #1244 from wiibaa/date-success
filter/date: apply on_success actions only when date parsing succeed
2014-04-16 08:42:53 -07:00
Jordan Sissel
64fbfacc86 Merge pull request #1063 from jbochi/metrics_percentile_fix
Fix percentiles on metrics filter
2014-04-16 08:20:36 -07:00
Jordan Sissel
0b41e9d247 Merge pull request #1256 from colinsurprenant/LOGSTASH-2024
fix for undefined method + for nil:NilClass for invalid paramters
2014-04-16 08:19:07 -07:00
Wiibaa
3369335acd Typo 2014-04-15 12:54:22 +02:00
Jordan Sissel
bb22cafe8e Copy-paste typo fix 2014-04-14 16:48:24 -07:00
Jordan Sissel
d70843b2a1 Make embedded => true respect bind_host setting. 2014-04-14 14:30:46 -07:00
Jordan Sissel
67a3fc0ec4 Start ES embedded server before creating a client.
This resolves a startup-delay problem where Node/Transport protocols
would attempt to find a master before continuing, having no master,
After this patch:
waits for a timeout.

Manual test:
    % time bin/logstash -e 'input { generator {  count => 1 } } output { elasticsearch { embedded => true } }'

Before this patch:
    WARN: org.elasticsearch.discovery: [logstash-ds4172-27071-2010]
    waited for 30s and no initial state was set by the discovery

    bin/logstash -e   20.50s user 0.70s system 45% cpu 46.793 total

After this patch:
    bin/logstash -e   21.53s user 0.52s system 115% cpu 19.070 total
2014-04-14 18:30:14 +00:00
Colin Surprenant
5c6ecf48dc fix and regression tests for github issue #1258 2014-04-11 15:43:52 -04:00
Colin Surprenant
0715a63bd5 fix for undefined method + for nil:NilClass for invalid paramters 2014-04-11 10:14:34 -04:00
Colin Surprenant
cbb7f47b94 flush support in multiline filter 2014-04-11 01:34:54 -04:00
Juarez Bochi
8835036a79 Add comment to document the percentile 2014-04-10 15:28:57 -03:00
Wiibaa
e6c6a2d3fa apply on_success actions only when date parsing succeed 2014-04-10 07:00:25 +02:00
Colin Surprenant
161e87b3c4 Merge pull request #1233 from colinsurprenant/jar_loading
jar loading refactor
2014-04-09 13:48:38 -04:00
Colin Surprenant
adf942c342 removed assess_jruby! & renamed spec/environment.rb 2014-04-09 13:41:40 -04:00
Jordan Sissel
a33553ad02 Bump to 1.4.1.dev 2014-04-09 16:37:41 +02:00
Colin Surprenant
3337c910d2 changed assess_jruby! to use block param, added specs & doc 2014-04-09 10:10:41 -04:00
Colin Surprenant
d306b0c1af use refactored jar loading for embedded elasticsearch loading 2014-04-09 00:05:54 -04:00
Colin Surprenant
6271cbf8fb refactor jar loading 2014-04-08 23:32:45 -04:00
Colin Surprenant
8d8cd0bd10 remove logstash/test.rb and abandon bin/logstash test, rub all specs by default for bin/logstash rspec 2014-04-08 23:26:05 -04:00
Colin Surprenant
6e1e799aae Merge pull request #1216 from jdve/fix-array-accessor
Fix problem accessing array-indexed fields.
2014-04-07 18:50:09 -04:00
Colin Surprenant
120d47c4f5 deprecate json_spooler codec 2014-04-07 17:24:02 -04:00
Colin Surprenant
8c5b44518e unsused charset option 2014-04-07 17:23:32 -04:00
Van Eenwyk, Jonathan
82650a21ba Fix problem accessing array-indexed fields.
This change fixes accessing fields of the form [list][0][key], where
[list] is an array, [0] is the numeric index into the array, and [key]
is the hash key into one of the items in the array.
2014-04-07 15:21:40 -06:00
Colin Surprenant
2c8fdbc8b1 proper charset encoding with specs 2014-04-02 16:00:16 -04:00
Jordan Sissel
357b561acc Merge pull request #1212 from colinsurprenant/agent_stall
fix agent stall when also using web argument
2014-04-02 11:26:08 -07:00
Colin Surprenant
74d2fe2b04 refactor valid_caller? into autorun? 2014-04-01 20:23:45 -04:00
Jordan Sissel
816d9662d1 Merge pull request #1187 from colinsurprenant/disconnected_specs
Disconnected specs
2014-04-01 16:28:31 -07:00
Colin Surprenant
323f42fdfd fix agent stall when also using web argument 2014-03-27 20:03:32 -04:00
Colin Surprenant
e0542d5ad0 missing accessors reset on overwrite & specs 2014-03-27 14:17:27 -04:00
Kurt Hurtado
3e9df26af0 Merge pull request #1151 from GregMefford/docfix_json_lines
Doc-fix for json_lines codec
2014-03-26 18:06:38 -07:00
Alex Tambellini
12114c26fa No need to force_encoding to utf8 twice 2014-03-25 20:04:37 -04:00
Colin Surprenant
3ed6078a65 Accessor#strict_set for encoding validation in specs 2014-03-22 01:06:25 -04:00
Jordan Sissel
7de32a52e0 Add option 'full_tweet' (default false)
When enabled, the full twitter tweet object and structure is used
as the event.
2014-03-21 13:33:38 -07:00
Colin Surprenant
52d2181a26 cleaned up rspec runner and remove rspec thread 2014-03-19 23:59:58 -04:00
Jordan Sissel
c82dc09586 Version bump 2014-03-19 23:10:40 +00:00
Jordan Sissel
e9bfe3fbce Restore patch from #1144 that was somehow lost. 2014-03-18 18:01:18 -07:00
Jordan Sissel
1f7509a4be Retry errors writing to Elasticsearch
Stud::Buffer's flush invocation automatically retries (forever) any
failures to flush.

Supersedes #1180
2014-03-18 17:36:45 -07:00
Jordan Sissel
b25b33e0c0 Merge pull request #1181 from jordansissel/bugfixes
Bugfixes
2014-03-18 16:48:36 -07:00
Jordan Sissel
7bd2bfd018 Merge remote-tracking branch 'upstream/master' 2014-03-18 16:35:09 -07:00
Jordan Sissel
d44c46bf2b Sometimes ua_version.major and ua_version.minor are nil 2014-03-18 16:32:09 -07:00
Jordan Sissel
1eb240e166 Fix default value handling 2014-03-18 16:31:53 -07:00
Jordan Sissel
6cc124f478 Merge pull request #1178 from jordansissel/prep-1.4.0-GA
Prepare 1.4.0 GA
2014-03-18 16:28:13 -07:00
Jordan Sissel
ae5eeda39a Merge branch 'doc/output/statsd' of https://github.com/kurtado/logstash into kurtado-doc/output/statsd
Conflicts:
	lib/logstash/outputs/statsd.rb
2014-03-18 15:32:49 -07:00
Jordan Sissel
ac0ed3540f Merge pull request #1179 from jordansissel/improve-e-flag
Allow -f and -e flags together.
2014-03-18 15:29:32 -07:00