Commit graph

4608 commits

Author SHA1 Message Date
Jordan Sissel
915cae3c7b - Add codec support to the lumberjack input 2013-08-26 18:10:49 +00:00
Jordan Sissel
d3e46427d3 - fix a bug where verbosity? can be nil by default 2013-08-26 18:09:59 +00:00
Jordan Sissel
b612b1225e - also dumpp an oops stacktrace if DEBUGLIST includes stacktrace 2013-08-26 18:09:35 +00:00
Tray Torrance
10cd07c809 Add UTC to the TZ grok pattern 2013-08-26 09:43:59 -07:00
Richard Pijnenburg
94f51ca216 Merge pull request #594 from adambro/patch-1
Correct documentation: parsing json, not xml
2013-08-26 06:16:50 -07:00
Adam Brodziak
a7d959adc1 Correct documentation: parsing json, not xml 2013-08-26 15:03:16 +02:00
Jordan Sissel
1bc0fc13a7 - use milestone labels instead of the older plugin_status 2013-08-25 15:36:46 -07:00
Jordan Sissel
c855a2f876 Fix logging style 2013-08-25 15:36:25 -07:00
Jordan Sissel
7cb6f23bac - remove 'kibana' command; it's just 'web' now. 2013-08-25 15:34:10 -07:00
Jordan Sissel
f6eb5a8f18 - json codec encodes and includes a trailing newline now; fix the test. 2013-08-25 01:04:27 -07:00
Jordan Sissel
c969a8a694 - remove more references to @field names and %{@message} and such... 2013-08-25 00:57:37 -07:00
Jordan Sissel
7600b8188d - fix references to @source_host 2013-08-25 00:50:51 -07:00
Jordan Sissel
376c450c1a - fix up gelf output after the last batch of event/codec/etc refactoring 2013-08-25 00:50:31 -07:00
Jordan Sissel
bdbca8f369 - use newer apis
- remove warning about deprecation; syslog will eventually become a
codec, but in general support will stay in logstash.
2013-08-25 00:50:04 -07:00
Jordan Sissel
98e49b1bf7 Fix gelf input to work again; also improve remapping 2013-08-25 00:49:54 -07:00
Jordan Sissel
c8d834b306 @timestamp is now a time object 2013-08-25 00:49:33 -07:00
Jordan Sissel
0f306d0012 Refactor to match newer event methods 2013-08-25 00:49:22 -07:00
Jordan Sissel
800cafcf9f - use newer tag api 2013-08-25 00:48:56 -07:00
Jordan Sissel
05ab32f47e - refactor now that @timestamp is a Time object 2013-08-25 00:24:27 -07:00
Jordan Sissel
9b8162c204 - add doc 2013-08-25 00:17:09 -07:00
Jordan Sissel
e5ad7f2675 - improve docs for plain codec 2013-08-25 00:14:44 -07:00
Jordan Sissel
a71e17b34e - add udp output 2013-08-25 00:11:54 -07:00
Jordan Sissel
8b109303e5 - support shutting down. 2013-08-25 00:07:10 -07:00
Jordan Sissel
75b2574fd3 - message_format is deprecated 2013-08-25 00:06:58 -07:00
Jordan Sissel
376aa7725d - use codecs 2013-08-25 00:06:50 -07:00
Jordan Sissel
99a03a88c8 - Make 'host' required.
- Fix doc for port setting
- add doc for index
- add doc for query
2013-08-25 00:06:11 -07:00
Jordan Sissel
61ebd0aa0f Get timestamp as a number the new way 2013-08-25 00:05:57 -07:00
Jordan Sissel
10e42a6c88 - set @timestamp field correctly 2013-08-25 00:05:24 -07:00
Jordan Sissel
b5a71c9ce6 - fix bug: actually yield events on decode
- convert @foo names to just 'foo'
2013-08-24 23:56:49 -07:00
Jordan Sissel
b24d4cab8f - fix nagios output (refactor for new event methods, etc) 2013-08-24 23:43:20 -07:00
Jordan Sissel
1bb463ae2e - start working on proper codec support in the tcp input
(json doesn't work yet because there is no json streaming library that
  I know of that works in both jruby and mri ruby)
2013-08-24 23:34:57 -07:00
Jordan Sissel
ca99d83079 - add 'flush' method 2013-08-24 23:32:25 -07:00
Jordan Sissel
312ca86892 - style (whitespace changes, mainly) 2013-08-24 23:32:03 -07:00
Jordan Sissel
8ea429942e - use 'inspect' to help make the invalid setting error message more
clear (so strings are quoted, etc)
2013-08-24 23:29:21 -07:00
Jordan Sissel
5cb39ff087 - make Time#inspect return an iso8601 string. 2013-08-24 22:56:46 -07:00
Jordan Sissel
b413416b2d - add backwards compatibility for debug and debug_format.
- deprecate debug_format, but not 'debug'
2013-08-24 22:55:20 -07:00
Jordan Sissel
332451cbf7 - remove unused code
- support shutdown
2013-08-24 22:51:27 -07:00
Jordan Sissel
51b1b0b25b - require a port 2013-08-24 22:51:17 -07:00
Jordan Sissel
0b028b5224 - add codec support to zeromq output 2013-08-24 22:47:27 -07:00
Jordan Sissel
d756181ac1 - remove unused exception (I think it's unused, either way we should be
retrying anyway)
2013-08-24 22:47:03 -07:00
Jordan Sissel
e0dbee7de9 - support shutdown
- retry on other errors
2013-08-24 22:46:22 -07:00
Jordan Sissel
48c1a77be7 - add codec for the old logstash json schema 2013-08-24 22:34:59 -07:00
Jordan Sissel
3ebd710cc8 - only compute message once 2013-08-24 22:34:32 -07:00
Jordan Sissel
ac379510f6 - set default port
- use %{message} (not %{@message} which is an old logstash 1.1.x thing)
2013-08-24 22:33:35 -07:00
Jordan Sissel
ad9b267d4a - set default port number
- use channel as a string
2013-08-24 22:33:05 -07:00
Jordan Sissel
0fd9c45e1b Set default codec to 'line' as this keeps old backwards-compatible behavior 2013-08-24 22:32:58 -07:00
Jordan Sissel
06245b0da2 Actually include a newline ;) 2013-08-24 22:32:38 -07:00
Jordan Sissel
5767c28da6 - use Numeric instead of Fixnum (covers Float, too) 2013-08-24 22:32:06 -07:00
Jordan Sissel
f8948bf694 Add a trailling \n to the json encoding to keep backwards
compatibility to old behavior.
2013-08-24 22:31:19 -07:00
Jordan Sissel
4b3c0a34af - add codec support
- message_format is deprecated
2013-08-24 22:07:01 -07:00