Commit graph

938 commits

Author SHA1 Message Date
DeDe Morton
603ecacdef Add changes and edits for Logstash APIs
Remove alpha annotations for added features

Fixes #5947
2016-09-19 17:35:52 -04:00
Michael Gerbig
e4e6473f45 Update advanced-pipeline.asciidoc
add missing curly brace

Fixes #5913
2016-09-14 21:21:54 -04:00
DeDe Morton
0bca1a9a63 Fix heading levels in logging topic
Fixes #5910
2016-09-13 22:00:16 -04:00
DeDe Morton
7c771ada6e Add changes made in 5.0
Fixes #5902
2016-09-13 21:27:05 -04:00
DeDe Morton
f2eaa4463a Fixed links and foramtting
Fixes #5902
2016-09-13 21:27:04 -04:00
Suyog Rao
ef6bf2d76e Fix typos after review
Fixes #5908
2016-09-13 21:23:19 -04:00
Suyog Rao
f51df78976 Logging API and configuration
Fixes #5896

Fixes #5908
2016-09-13 21:23:19 -04:00
Tal Levy
2cf53cedf5 Set default log.level to INFO
sets default to INFO and updates some verbose logging to
more appropriate, less verbose log levels where it makes sense.

Closes #5735.
Closes #5893.

Fixes #5898
2016-09-13 16:43:20 -04:00
Tal Levy
61ebeb0b4b update path.log to path.logs directory, and respect it in log4j2
Fixes #5876
2016-09-08 18:06:30 -04:00
DeDe Morton
087a09ee71 Update CLI topic with missing options
Fixes #5856
2016-09-07 19:02:23 -04:00
Tal Levy
1b2f7a7668 Migrate Logstash to Log4j2 Logging (#5651)
Migrate to use Log4j2 for Logstash logging
2016-08-25 10:30:22 -07:00
Pier-Hugues Pellerin
228e1fb02b add config_reload_* to the monitoring doc and fix a typo in the hot threads api
Fixes #5780
2016-08-22 12:03:27 -04:00
DeDe Morton
744f836bbe fix typo
Fixes #5797
2016-08-22 11:52:07 -04:00
Pier-Hugues Pellerin
672b369c41 --http.port Now accept a port range
This PR does a few modifications for our webserver:
 - Add a PortRange setting type.
 - allow the --http.port option to accept a port range or a single port, when a range is provided Logstash will incrementally try this list to find a free port for the webserver.
 - Logstash will report in the log which port it is using. (INFO LEVEL)
 - It refactors a few methods of the webserver.
 - It adds test for the binding of the ports.

Notes:

Port range can be defined in the logstash.yml or pass via the command line like this.

 `bin/logstash -e 'input { generator {}} output { null {}}' --log.level verbose --http.port 2000-2005`

Fixes #5774
2016-08-19 08:04:00 -04:00
Andrew Cholakian
f68b2c0841 Cleans up output delegators and simplifies a few other aspects of plugins
The new way Output Delegators work is that events flow from:
OutputDelegator -> OutputDelegatorStrategy -> Output

The output delegator handles all the common denominator tasks (like metrics) and
a few other things. The OutputDelegatorStrategy handles concurrency and Output instantiation.
This is a significant improvement and simplification over the past where we used mixins and dynamic method
redifinition.

This removes the concept of plugin 'unique_names' and replaces it with the 'id'.
Also consistently autogenerates plugin IDs based on a given config file using SHA1 hashing.

Fixes #5752
2016-08-18 16:50:41 -04:00
DeDe Morton
d9fa4f2248 reformat as table and clarify logging options
Fixes #5713
2016-08-08 19:51:54 -04:00
DeDe Morton
c19314f256 improve doc on settings file by describing options
Fixes #5713
2016-08-08 19:51:54 -04:00
Suyog Rao
dfa3dbe970 Nuke old files no longger used
Fixes #5724
2016-08-02 18:52:01 -04:00
DeDe Morton
6e7d7f9b48 fix issues from PR review
Fixes #5701
2016-07-29 17:44:30 -04:00
DeDe Morton
50578b49b4 add changes made to monitoring APIs for alpha5
Fixes #5701
2016-07-29 17:44:30 -04:00
7lima
fd1a58e3a4 Doc: fix quoting in shell source. (#5684)
Logstash can be invoked this way: "bin/logstash -w 1", so the example should be made to look like that.
2016-07-26 09:09:41 -07:00
Pau Ruŀlan Ferragut
3c499b25e9 Update plugin manager --path.plugins (#5690)
The plugin manager `--path.plugins` (old --pluginpath) is completely wrong in the documentation. It cost me FOUR hours to find the bug and I hope this fix will remove pain for other developers.

This change should be backported to the current documentation.
2016-07-26 09:07:44 -07:00
7lima
fcae528ad9 Doc: typo and missing word. (#5691) 2016-07-26 09:05:35 -07:00
7lima
07f802c0ac Doc: quote shell glob pattern (#5692)
... otherwise it may pick up some real file name in the current working directory - which is not what's intended!
2016-07-26 09:05:20 -07:00
DeDe Morton
f5cf122f3b Edit performance troubleshooting guide
Fixes #5635
2016-07-14 11:55:45 -04:00
Andrew Cholakian
f7f1af64b4 Add quicktune guide (#5619)
Fixes #5635
2016-07-14 11:55:45 -04:00
DeDe Morton
4045aea1ff Convert examples from table to text to fix rendering issue
tweak

Fixes #5612
2016-07-11 19:26:34 -04:00
DeDe Morton
a597110fd9 Update coming annotations to reflect current release state
Fixes #5589
2016-07-06 19:11:42 -04:00
DeDe Morton
72f0740e09 Remove obsolete logstash startup messages
Fixes #5571
2016-07-01 14:18:58 -04:00
DeDe Morton
5f1e7596cf Fix TOC and apply light edits
Fixes #5569
2016-07-01 14:11:08 -04:00
DeDe Morton
6a1e64660d Resolve comments from review
Fixes #5553
2016-06-28 15:26:14 -04:00
DeDe Morton
82519ef940 Add docs for monitoring API changes in Alpha4
Fixes #5553
2016-06-28 15:26:14 -04:00
DeDe Morton
2d059cd1db Minor fixes to gs
Fixes #5493
2016-06-14 18:53:03 -04:00
DeDe Morton
293b053461 Add light edits to breaking changes docs
Fixes #5435
2016-06-13 16:30:22 -04:00
Andrew Cholakian
76c4bc9971 Add new :list property to configuration parameters.
If set to try this will allow the user to specify one or more values.
This generally replaces the :array type, which had fewer type checks.

The array type is still needed for lists of complex objects, e.g. hashes.

Fixes #5453
2016-06-13 14:13:56 -04:00
Andrew Cholakian
35cffb5b39 Add URI config validator/type
Often times plugins (like the Elasticsearch output) can naturally use URIs for their configuration.
Unfortunately using the :string type here means that the password portion of the URI can easily be leaked.

This wraps the URI class in a new LogStash::Util::SafeURI class that proxies all regular URI methods but masks
the password when `#to_s` and `#inspect` are invoked.

Fixes #5439
2016-06-09 08:33:00 -04:00
arnaudblancher
5ede7afcae typo
Fixes #5432
2016-06-02 17:55:46 +00:00
arnaudblancher
71290426f9 Update life-of-an-event.asciidoc (#5409)
correct graphite url
2016-06-02 14:36:28 +02:00
DeDe Morton
a3b41fa904 Add node stats API changes
Fixes #5420
2016-06-02 09:15:42 +00:00
Suyog Rao
ea4143602f Update plugin-manager.asciidoc (#5424) 2016-06-01 16:44:04 +02:00
DeDe Morton
85f4cdfc1d Update command flags
Fixes #5422
2016-06-01 14:15:55 +00:00
Suyog Rao
d2f1484625 Add docs about plugin generator (#5418) 2016-06-01 14:15:24 +02:00
DeDe Morton
829467400d Fix broken doc build
Fixes #5408
2016-05-31 17:22:18 +00:00
DeDe Morton
a982f434a4 Add fixes from the review
Fixes #5387
2016-05-31 16:04:32 +00:00
DeDe Morton
0f1ff0f428 Restructure getting started content
Fixes #5387
2016-05-31 16:04:32 +00:00
Suyog Rao
ec627a1f40 Add breaking changes doc (#5402)
* Add breaking changes doc for 5.0.0-alpha3
2016-05-31 16:17:59 +02:00
DeDe Morton
5811c1ad28 Remove ps command for checking init system type
Fixes #5376
2016-05-27 16:15:09 +00:00
DeDe Morton
27e41eac14 Add overview links
Fixes #5367
2016-05-26 18:56:56 +00:00
DeDe Morton
9408d2165d Add more coming labels for Alpha3
Fixes #5367
2016-05-26 18:56:56 +00:00
DeDe Morton
90fa570639 Add docs for new packaging
Fixes #5364
2016-05-26 18:19:30 +00:00