forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Filebeat] Cisco ASA module (elastic#11171)
This adds a cisco module to x-pack/filebeat. The only fileset currently, asa, will ingest Cisco ASA logs received over syslog. Closes elastic#9200
- Loading branch information
Showing
24 changed files
with
6,581 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
//// | ||
This file is generated! See scripts/docs_collector.py | ||
//// | ||
|
||
[[filebeat-module-cisco]] | ||
[role="xpack"] | ||
|
||
:modulename: cisco | ||
:has-dashboards: true | ||
|
||
== Cisco module | ||
|
||
This is a module for Cisco network device's logs. Currently supports the `asa` | ||
fileset for Cisco ASA firewall logs received over syslog or read from a file. | ||
|
||
Cisco ASA devices also support exporting flow records using NetFlow, which is | ||
supported by the {filebeat-ref}/filebeat-module-netflow.html[netflow module] in | ||
{beatname_uc}. | ||
|
||
include::../include/what-happens.asciidoc[] | ||
|
||
[float] | ||
=== Compatibility | ||
|
||
This module requires the {plugins}/ingest-geoip.html[ingest-geoip] | ||
Elasticsearch plugin. | ||
|
||
include::../include/running-modules.asciidoc[] | ||
|
||
[float] | ||
=== Example dashboard | ||
|
||
This module comes with a sample dashboard: | ||
|
||
[role="screenshot"] | ||
image::./images/kibana-cisco-asa.png[] | ||
|
||
include::../include/configuring-intro.asciidoc[] | ||
|
||
The module is by default configured to run via syslog on port 9001. However | ||
it can also be configured to read from a file path. See the following example. | ||
|
||
["source","yaml",subs="attributes"] | ||
----- | ||
- module: cisco | ||
asa: | ||
enabled: true | ||
var.paths: ["/var/log/cisco-asa.log"] | ||
var.input: "file" | ||
----- | ||
|
||
:fileset_ex: asa | ||
|
||
include::../include/config-option-intro.asciidoc[] | ||
|
||
[float] | ||
==== `asa` fileset settings | ||
|
||
Example config: | ||
|
||
[source,yaml] | ||
---- | ||
asa: | ||
var.log_level: 5 | ||
---- | ||
|
||
include::../include/var-paths.asciidoc[] | ||
|
||
*`var.log_level`*:: | ||
|
||
An integer between 1 and 7 that allows to filter messages based on the | ||
severity level. The different severity levels supported by the Cisco ASA are: | ||
|
||
[width="30%",cols="^1,2",options="header"] | ||
|=========================== | ||
| log_level | severity | ||
| 1 | Alert | ||
| 2 | Critical | ||
| 3 | Error | ||
| 4 | Warning | ||
| 5 | Notification | ||
| 6 | Informational | ||
| 7 | Debugging | ||
|=========================== | ||
|
||
A value of 7 (default) will not filter any messages. A lower value will drop | ||
any messages with a severity level higher than the specified value. For | ||
example, `var.log_level: 3` will allow messages of level 1 (Alert), 2 (Critical) | ||
and 3 (Error). All other messages will be dropped. | ||
|
||
:has-dashboards!: | ||
|
||
:fileset_ex!: | ||
|
||
:modulename!: | ||
|
||
|
||
[float] | ||
=== Fields | ||
|
||
For a description of each field in the module, see the | ||
<<exported-fields-cisco,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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 @@ | ||
# Cisco module | ||
|
||
## Caveats | ||
|
||
* Module is to be considered _beta_. | ||
|
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,15 @@ | ||
- module: cisco | ||
asa: | ||
enabled: true | ||
|
||
# Set which input to use between syslog (default) or file. | ||
#var.input: | ||
|
||
# Set custom paths for the log files. If left empty, | ||
# Filebeat will choose the paths depending on your OS. | ||
#var.paths: | ||
|
||
# Set the log level from 1 (alerts only) to 7 (include all messages). | ||
# Messages with a log level higher than the specified will be dropped. | ||
# See https://www.cisco.com/c/en/us/td/docs/security/asa/syslog/b_syslog/syslogs-sev-level.html | ||
#var.log_level: 7 |
Oops, something went wrong.