Commit graph

10955 commits

Author SHA1 Message Date
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
35a789a9f3 - Make ignore a little better on test/setup 2011-02-19 13:50:56 -08:00
Jordan Sissel
2421d66d39 - don't require anymore; config will autorequire 2011-02-19 13:50:00 -08:00
Pete Fritchman
4d395c8674 Merge branch 'master' into experimental/petef-jruby 2011-02-19 11:47:02 -08:00
Pete Fritchman
d6ecf48fab ignore test/setup 2011-02-19 11:46:16 -08:00
Pete Fritchman
e63e63930f update copyright years 2011-02-19 11:45:52 -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
c464ecea8e Merge branch 'issue/17' of github.com:logstash/logstash into issue/17 2011-02-16 11:44: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
Jordan Sissel
9058b5050c - Add Charles Duffy (patched issue/41) 2011-02-16 11:41:16 -08:00
Charles Duffy
764de3095b add vhost and log flag support to AMQP URLs 2011-02-16 11:58:19 -06:00
Jordan Sissel
bc2c59c15d - Add more config settings 2011-02-14 23:27:49 -08:00
Jordan Sissel
8fb2eefc1d - 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-14 22:24:49 -08:00
Jordan Sissel
40a48ab9e5 - Start working on a DSL for describing how each component can be
configured.
2011-02-14 20:01:11 -08: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
Pete Fritchman
e308e16067 first cut at jruby/threaded logstash 2011-02-13 17:24:11 -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
Jordan Sissel
7dadd86f94 - Add error text template 2011-02-13 00:59:19 -08:00
Jordan Sissel
a1d375a4af - Graphs work again; uses new /api/histogram api
This finallys splits search results from data requests.
- Support POST and GET on /api/search
- Support text/html/json for searches
- Upgrade to jquery 1.5.0
2011-02-13 00:29:56 -08:00
Jordan Sissel
c8a55c1874 - Fix require_param 2011-02-13 00:29:34 -08:00
Jordan Sissel
d669639c99 - LogStash::Search::Result#to_json 2011-02-13 00:28:25 -08:00