README.md in logstash-cli-0.0.6 vs README.md in logstash-cli-0.0.7
- old
+ new
@@ -23,10 +23,14 @@
## Usage
### Using the Gem
+ # If you no rvm
+ $ bundle exec bin/logstash-cli
+
+ # If you have rvm , there is an alias in .rvmrc
$ logstash-cli
### Using the Github version - through bundler
$ bundle exec bin/logstash-cli
@@ -44,22 +48,22 @@
[--fields=FIELDS] # Logstash Fields to show
# Default: message,program
[--meta=META] # Meta Logstash fields to show
# Default: type,message
[--to=TO] # End date
- # Default: Today in YYYY-MM-DD form
+ # Default: Today in YYYY-MM-DD HH:MM:SS form (the time is optional)
[--delim=DELIM] # plain or csv delimiter
# Default: |
[--format=FORMAT] # Format to use for exporting
# Default: csv
[--from=FROM] # Begin date
- # Default: Today in YYYY-MM-DD form
+ # Default: Today in YYYY-MM-DD HH:MM:SS form (the time is optional)
[--size=SIZE] # Number of results to return
# Default: 500
[--esurl=ESURL] # URL to connect to elasticsearch
# Default: http://localhost:9200
- [--last=LAST] # Specify period since now f.i. 1d
+ [--last=LAST] # Specify period since now (Examples: 10min, 3hrs, 4days, 1wk, 1yr)
Search logstash for a pattern
### Tail
@@ -136,9 +140,8 @@
$ logstash-cli count --esurl="http://logger-1.jedi.be:9200" '@message:jedi4ever' --countfield=program
## TODO
- find a way to query existing instances
-- specify last 15m
- find a way to get the results by streaming instead of loading all in memory (maybe pagination will help here)
- produce ascii histograms
- or sparklines