Skip to content

Commit

Permalink
Updating an error in config yml format of the docs for Sophos module (e…
Browse files Browse the repository at this point in the history
…lastic#21004) (elastic#21009)

(cherry picked from commit 6aa800c)

Co-authored-by: Marius Iversen <[email protected]>
  • Loading branch information
marc-gr and P1llus authored Sep 8, 2020
1 parent 3409acd commit a6eafc8
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
6 changes: 4 additions & 2 deletions filebeat/docs/modules/sophos.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ Below you will see an example configuration file, that sets the default hostname
var.syslog_port: 9005
var.default_host_name: firewall.localgroup.local
var.known_devices:
"1234567890123457": "a.host.local"
"1234234590678557": "b.host.local"
- serial_number: "1234567890123457"
hostname: "a.host.local"
- serial_number: "1234234590678557"
hostname: "b.host.local"
----

include::../include/var-paths.asciidoc[]
Expand Down
6 changes: 4 additions & 2 deletions x-pack/filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1297,8 +1297,10 @@ filebeat.modules:

# known firewalls
#var.known_devices:
# "device1_serialnumber": "a.host.local"
# "device2_serialnumber": "b.host.local"
#- serial_number: "1234567890123457"
# hostname: "a.host.local"
#- serial_number: "1234234590678557"
# hostname: "b.host.local"


#-------------------------------- Squid Module --------------------------------
Expand Down
6 changes: 4 additions & 2 deletions x-pack/filebeat/module/sophos/_meta/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

# known firewalls
#var.known_devices:
# "device1_serialnumber": "a.host.local"
# "device2_serialnumber": "b.host.local"
#- serial_number: "1234567890123457"
# hostname: "a.host.local"
#- serial_number: "1234234590678557"
# hostname: "b.host.local"

6 changes: 4 additions & 2 deletions x-pack/filebeat/module/sophos/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ Below you will see an example configuration file, that sets the default hostname
var.syslog_port: 9005
var.default_host_name: firewall.localgroup.local
var.known_devices:
"1234567890123457": "a.host.local"
"1234234590678557": "b.host.local"
- serial_number: "1234567890123457"
hostname: "a.host.local"
- serial_number: "1234234590678557"
hostname: "b.host.local"
----

include::../include/var-paths.asciidoc[]
Expand Down
6 changes: 4 additions & 2 deletions x-pack/filebeat/modules.d/sophos.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

# known firewalls
#var.known_devices:
# "device1_serialnumber": "a.host.local"
# "device2_serialnumber": "b.host.local"
#- serial_number: "1234567890123457"
# hostname: "a.host.local"
#- serial_number: "1234234590678557"
# hostname: "b.host.local"

0 comments on commit a6eafc8

Please sign in to comment.