Skip to content

Commit

Permalink
Renaming of http fileset to log (elastic#8405)
Browse files Browse the repository at this point in the history
(cherry picked from commit 058916c)
  • Loading branch information
sayden committed Sep 25, 2018
1 parent 4f14d66 commit ab5fd2b
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions filebeat/docs/modules/haproxy.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ it can also be configured to read from a file path. See the following example.
["source","yaml",subs="attributes"]
-----
- module: haproxy
http:
log:
enabled: true
var.paths: ["/var/log/haproxy.log"]
var.input: "file"
-----

:fileset_ex: http
:fileset_ex: log

include::../include/config-option-intro.asciidoc[]


[float]
==== `http` log fileset settings
==== `log` fileset settings

include::../include/var-paths.asciidoc[]

Expand Down
2 changes: 1 addition & 1 deletion filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ filebeat.modules:
#------------------------------- haproxy Module ------------------------------
- module: haproxy
# All logs
http:
log:
enabled: true

# Set which input to use between syslog (default) or file.
Expand Down
2 changes: 1 addition & 1 deletion filebeat/module/haproxy/_meta/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- module: haproxy
# All logs
http:
log:
enabled: true

# Set which input to use between syslog (default) or file.
Expand Down
6 changes: 3 additions & 3 deletions filebeat/module/haproxy/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ it can also be configured to read from a file path. See the following example.
["source","yaml",subs="attributes"]
-----
- module: haproxy
http:
log:
enabled: true
var.paths: ["/var/log/haproxy.log"]
var.input: "file"
-----

:fileset_ex: http
:fileset_ex: log

include::../include/config-option-intro.asciidoc[]


[float]
==== `http` log fileset settings
==== `log` fileset settings

include::../include/var-paths.asciidoc[]
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"@timestamp": "2018-07-30T09:03:52.726Z",
"fileset.module": "haproxy",
"fileset.name": "http",
"fileset.name": "log",
"haproxy.backend_name": "docs_microservice",
"haproxy.backend_queue": 0,
"haproxy.client_ip": "1.2.3.4",
Expand Down
2 changes: 1 addition & 1 deletion filebeat/modules.d/haproxy.yml.disabled
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- module: haproxy
# All logs
http:
log:
enabled: true

# Set which input to use between syslog (default) or file.
Expand Down

0 comments on commit ab5fd2b

Please sign in to comment.