-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Filebeat module for monitoring Santa (#9540)
* Add Filebeat module for monitoring Santa This adds a Filebeat module for monitoring and parsing the log file generated by the Google Santa, a process monitoring tools for MacOS. This module includes an overview dashboard. https://github.com/google/santa * Add grok pattern for action=DISKAPPEAR
- Loading branch information
1 parent
19de133
commit 4962a59
Showing
21 changed files
with
751 additions
and
1 deletion.
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,71 @@ | ||
//// | ||
This file is generated! See scripts/docs_collector.py | ||
//// | ||
|
||
[[filebeat-module-santa]] | ||
:modulename: santa | ||
:has-dashboards: true | ||
|
||
== Santa module | ||
|
||
The +{modulename}+ module collects and parses logs from | ||
https://github.com/google/santa[Google Santa], a security | ||
tool for macOS that monitors process executions and can blacklist/whitelist | ||
binaries. | ||
|
||
include::../include/what-happens.asciidoc[] | ||
|
||
[float] | ||
=== Compatibility | ||
|
||
The +{modulename}+ module was tested with logs from Santa 0.9.14. | ||
|
||
This module is available for MacOS only. | ||
|
||
include::../include/running-modules.asciidoc[] | ||
|
||
[float] | ||
=== Example dashboard | ||
|
||
This module comes with a sample dashboard showing and overview of the processes | ||
that are executing. | ||
|
||
[role="screenshot"] | ||
image::./images/kibana-santa-log-overview.png[] | ||
|
||
include::../include/configuring-intro.asciidoc[] | ||
|
||
The module is by default configured to read logs from `/var/log/santa.log`. | ||
|
||
["source","yaml",subs="attributes"] | ||
----- | ||
- module: santa | ||
log: | ||
enabled: true | ||
var.paths: ["/var/log/santa.log"] | ||
var.input: "file" | ||
----- | ||
|
||
:fileset_ex: log | ||
|
||
include::../include/config-option-intro.asciidoc[] | ||
|
||
|
||
[float] | ||
==== `log` fileset settings | ||
|
||
include::../include/var-paths.asciidoc[] | ||
|
||
:has-dashboards!: | ||
|
||
:fileset_ex!: | ||
|
||
:modulename!: | ||
|
||
|
||
[float] | ||
=== Fields | ||
|
||
For a description of each field in the module, see the | ||
<<exported-fields-santa,exported fields>> section. | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- module: santa | ||
log: | ||
enabled: true | ||
# Set custom paths for the log files. If left empty, | ||
# Filebeat will choose the the default path. | ||
#var.paths: |
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,58 @@ | ||
:modulename: santa | ||
:has-dashboards: true | ||
|
||
== Santa module | ||
|
||
The +{modulename}+ module collects and parses logs from | ||
https://github.com/google/santa[Google Santa], a security | ||
tool for macOS that monitors process executions and can blacklist/whitelist | ||
binaries. | ||
|
||
include::../include/what-happens.asciidoc[] | ||
|
||
[float] | ||
=== Compatibility | ||
|
||
The +{modulename}+ module was tested with logs from Santa 0.9.14. | ||
|
||
This module is available for MacOS only. | ||
|
||
include::../include/running-modules.asciidoc[] | ||
|
||
[float] | ||
=== Example dashboard | ||
|
||
This module comes with a sample dashboard showing and overview of the processes | ||
that are executing. | ||
|
||
[role="screenshot"] | ||
image::./images/kibana-santa-log-overview.png[] | ||
|
||
include::../include/configuring-intro.asciidoc[] | ||
|
||
The module is by default configured to read logs from `/var/log/santa.log`. | ||
|
||
["source","yaml",subs="attributes"] | ||
----- | ||
- module: santa | ||
log: | ||
enabled: true | ||
var.paths: ["/var/log/santa.log"] | ||
var.input: "file" | ||
----- | ||
|
||
:fileset_ex: log | ||
|
||
include::../include/config-option-intro.asciidoc[] | ||
|
||
|
||
[float] | ||
==== `log` fileset settings | ||
|
||
include::../include/var-paths.asciidoc[] | ||
|
||
:has-dashboards!: | ||
|
||
:fileset_ex!: | ||
|
||
:modulename!: |
Oops, something went wrong.