Skip to content

Commit

Permalink
Updating an error in config yml format of the docs for Sophos module (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
P1llus authored Sep 7, 2020
1 parent 55622f2 commit 6aa800c
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 6aa800c

Please sign in to comment.