mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- style fix
This commit is contained in:
parent
897487896f
commit
6af16b788d
1 changed files with 3 additions and 3 deletions
|
@ -25,12 +25,12 @@ apache logs: [SampleLogster.py](https://github.com/etsy/logster/blob/master/pars
|
||||||
|
|
||||||
The above code is roughly 50 lines of python and only solves one specific
|
The above code is roughly 50 lines of python and only solves one specific
|
||||||
problem in only apache logs: count http response codes by major number (1xx,
|
problem in only apache logs: count http response codes by major number (1xx,
|
||||||
2xx, 3xx, etc. (To be completely fair, you could shrink the code required for
|
2xx, 3xx, etc). To be completely fair, you could shrink the code required for
|
||||||
a Logster parser, but size is not strictly the point, here)
|
a Logster parser, but size is not strictly the point, here.
|
||||||
|
|
||||||
## Keep it simple
|
## Keep it simple
|
||||||
|
|
||||||
Logstash can do the above simpler and without much coding skill:
|
Logstash can do more than the above, simpler, and without much coding skill:
|
||||||
|
|
||||||
input {
|
input {
|
||||||
file { path => "/var/log/apache/access.log" }
|
file { path => "/var/log/apache/access.log" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue