Pete Fritchman
0290314775
deal with empty parameter lists properly
2011-02-20 20:27:17 -08:00
Pete Fritchman
f7f574340a
Merge remote branch 'origin/issue/17' into experimental/petef-jruby
...
Conflicts:
lib/logstash/inputs/file.rb
2011-02-20 13:36:41 -08:00
Jordan Sissel
8dbcbef97a
- make config accessible externally.
2011-02-20 03:55:48 -08:00
Jordan Sissel
071a0e0242
- fix grammar build
...
- Add Config mixin instance method 'config_init' which performs
validation and sets instance variable values.
If you define a config value like this:
config :pants => :boolean
You can expect to do this in the config file:
pants => true
And have this in your class:
@pants # == true or false
2011-02-20 03:48:17 -08:00
Jordan Sissel
99b182645b
- the 'lgtm' config now passes validation.
...
- Added enum support to the config, like this:
config :mykey => ["value1", "value2", ...]
- Added simple value validation (:string, :number, :boolean)
- Added value coersion so :number would actually set a proper value of
type number in the parameter hash.
2011-02-20 03:26:33 -08:00
Jordan Sissel
9b09652bdd
- Dynamically load plugins based on data from the config file.
...
- Add prototype of validation to the config dsl
2011-02-20 02:45:30 -08:00
Jordan Sissel
2a56742cbb
- += if an array, otherwise << shift in
2011-02-20 02:41:23 -08:00
Jordan Sissel
33d6619c5e
- Config parsing works again; bug was causing '\' in a string to
...
terminate parsing of the config file. Oops! Was using 'return' from a
code block.
- Update all the plugins to specify 'config_name'
- Start working more on agent integration
2011-02-20 01:37:50 -08:00
Jordan Sissel
affed158a0
- add missing files
2011-02-19 20:50:48 -08:00
Pete Fritchman
ea0a978281
Merge remote branch 'origin/issue/17' into experimental/petef-jruby
2011-02-19 19:13:26 -08:00
Jordan Sissel
a3ebbec089
- More work towards a config file format.
2011-02-19 19:12:55 -08:00
Jordan Sissel
93ec55f20f
- update for new config dsl
2011-02-19 19:12:40 -08:00
Pete Fritchman
f79e10be98
minor cleanup
2011-02-19 19:12:29 -08:00
Pete Fritchman
2c24c35dfd
merge issue/17 branch
2011-02-19 19:08:15 -08:00
Pete Fritchman
5159f091a3
String#bytesize fix for ruby < 1.8.7 using amqp
2011-02-19 19:03:14 -08:00
Jordan Sissel
96eb87d56f
Merge branch 'master' into issue/17
2011-02-19 17:54:51 -08:00
Jordan Sissel
2421d66d39
- don't require anymore; config will autorequire
2011-02-19 13:50:00 -08:00
Pete Fritchman
13b036b81f
Merge branch 'master' into experimental/petef-jruby
2011-02-19 11:43:23 -08:00
Jordan Sissel
988826195b
- Got config parsing picking up implementations.
...
For example, this config:
input {
file {
}
amqp {
}
}
Will load:
logstash/inputs/base
logstash/inputs/file
2011-02-18 23:47:12 -08:00
Jordan Sissel
a3014f2d61
- clean up extra output from the parser
...
- expose config object after parsing.
- Clean up some of the grammar
2011-02-18 03:48:28 -08:00
Jordan Sissel
aee28de463
- Grammar is almost complete.
2011-02-18 03:11:43 -08:00
Jordan Sissel
31e2bebde7
- cherrypick petef's stdout:///debug support
2011-02-16 11:52:14 -08:00
Jordan Sissel
c0551dfaaf
- default 'logging' of true removed since it is immediately overridden.
2011-02-16 11:43:32 -08:00
Jordan Sissel
dfbfc4e7e7
- Add more config settings
2011-02-16 11:41:48 -08:00
Jordan Sissel
9c9932bebe
- Make configs inheritable and other goodies in this prototype
...
Example:
% RUBYLIB=lib ruby -rubygems -e 'require "logstash/config"; require "logstash/inputs/file"; require "logstash/inputs/amqp"; LogStash::Inputs::Amqp.dsl_gen; LogStash::Inputs::File.dsl_gen'
input { #parent
amqp { #node
"somename":
tag => string,
path => string,
pantscon => string,
} #node
} #parent
input { #parent
file { #node
"somename":
tag => string,
path => string,
} #node
} #parent
2011-02-16 11:41:48 -08:00
Jordan Sissel
b025425e73
- Start working on a DSL for describing how each component can be
...
configured.
2011-02-16 11:41:48 -08:00
Pete Fritchman
c081a9eec7
first cut at jruby/threaded logstash
2011-02-16 11:41:48 -08:00
Charles Duffy
764de3095b
add vhost and log flag support to AMQP URLs
2011-02-16 11:58:19 -06:00
Pete Fritchman
5bd23ceca3
grok filter (using latest jls-grok with ffi) works now
2011-02-14 01:04:45 -08:00
Pete Fritchman
0c776e071d
Merge branch 'master' into experimental/petef-jruby
2011-02-13 17:58:42 -08:00
Jordan Sissel
441f022bb0
Local var.
2011-02-13 16:38:59 -08:00
Pete Fritchman
df8de8b155
first cut at jruby/threaded logstash
2011-02-13 16:25:22 -08:00
Jordan Sissel
3b6ae5bd9d
- Don't bother retrying if we got 0 results for our histogram.
2011-02-13 03:53:31 -08:00
Jordan Sissel
782ab1b04c
- Bump tries to 7 on histogram sizing
...
- Abort if somehow the histogram interval gets below 1 second
2011-02-13 03:44:37 -08:00
Jordan Sissel
025ebbcf7d
- Add another geocities gif for when the graph is updating.
2011-02-13 03:29:59 -08:00
Jordan Sissel
ecb0afad5d
- Try to dynamically size the histogram based on number of data points
...
found. This will incur multiple backend queries if a happy range of
data points is not found. Currently will try again with a new
histogram interval if point count, x is outside range [6, 50]
2011-02-13 03:26:20 -08:00
Jordan Sissel
6d98b64514
- add doc comments
2011-02-13 03:13:55 -08:00
Jordan Sissel
19ce814677
- Reset search offset when drilling into the histogram
2011-02-13 02:58:00 -08:00
Jordan Sissel
d0e08d44e7
- always include 'first' link
...
- fix bug in 'last' link
2011-02-13 02:50:42 -08:00
Jordan Sissel
f021fd72be
- Add 'refresh' link to searches
2011-02-13 02:42:58 -08:00
Jordan Sissel
cc0b0565cd
- Let's use the underconstruction gif.
2011-02-13 02:37:23 -08:00
Jordan Sissel
e53a6929dd
- Ok, but really, geocities-era construction gif is way better.
...
Picked one of these from http://www.textfiles.com/underconstruction/
2011-02-13 02:35:17 -08:00
Jordan Sissel
0c20391a91
- Add a throbber for more web2.0 sadness.
...
Created with http://ajaxload.info/
2011-02-13 02:29:20 -08:00
Jordan Sissel
13481d80ba
- Make the log messages into links so the iphone/ipad can click on them.
...
- Don't reload the graph if we are just paging through results
2011-02-13 02:21:32 -08:00
Jordan Sissel
1655b080c4
- Always include first/prev/next/last; otherwise, hiding them makes you
...
have to move the mouse if the next result set has a different list.
2011-02-13 02:01:05 -08:00
Jordan Sissel
6242ef2755
- Style and doc fixes
2011-02-13 01:49:25 -08:00
Jordan Sissel
b74d7166ac
Add documentation for the search methods
2011-02-13 01:47:28 -08:00
Jordan Sissel
f97619a373
include query time in results
2011-02-13 01:36:07 -08:00
Jordan Sissel
9c6a1495d9
- Add twitter backend support. This isn't intended for use.
...
The point of writing this was to make it easy to show a real use case
that implements a logstash-web search backend other than
ElasticSearch.
2011-02-13 01:25:02 -08:00
Jordan Sissel
c852a9eb4b
- Fix search/error
2011-02-13 01:20:53 -08:00