-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add sophos xg integration * Add tcp and udp system tests * Sync with latest changes from beats * Apply suggestions
- Loading branch information
Showing
34 changed files
with
13,856 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Sophos Integration | ||
|
||
The Sophos integration collects and parses logs from Sophos Products. | ||
|
||
Currently it accepts logs in syslog format or from a file for the following devices: | ||
|
||
- `utm` dataset: supports Astaro Security Gateway logs. | ||
- `xg` dataset: supports Sophos XG SFOS logs. | ||
|
||
To configure a remote syslog destination, please reference the [SophosXG/SFOS Documentation](https://community.sophos.com/kb/en-us/123184). | ||
|
||
The syslog format choosen should be `Default`. | ||
|
||
## Compatibility | ||
|
||
This module has been tested against SFOS version 17.5.x and 18.0.x. | ||
Versions above this are expected to work but have not been tested. | ||
|
||
## Logs | ||
|
||
### Utm log | ||
|
||
The `utm` dataset collects Astaro Security Gateway logs. | ||
|
||
{{fields "utm"}} | ||
|
||
### XG log | ||
|
||
This is the Sophos `xg` dataset. | ||
|
||
{{event "xg"}} | ||
|
||
{{fields "xg"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
packages/sophos/_dev/deploy/docker/sample_logs/sophos-xg.log
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/sophos/data_stream/utm/_dev/test/system/test-logfile-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
service: sophos-utm-logfile | ||
service: sophos-logfile | ||
input: logfile | ||
data_stream: | ||
vars: | ||
|
89 changes: 89 additions & 0 deletions
89
packages/sophos/data_stream/xg/_dev/test/pipeline/test-sophos-xg.log
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
packages/sophos/data_stream/xg/_dev/test/pipeline/test-sophos-xg.log-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"dynamic_fields": { | ||
"event.ingested": ".*" | ||
} | ||
} |
Oops, something went wrong.