forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Filebeat] Add Pensando DFW Module (elastic#21063)
* Add Pensando module init * explicitly define the ECS version per testing * updates to docs from make update * updates for pensando module * updates to documentation and db screenshot * add dashboard export to repo * update to add pensando beat * Update filebeat/module/pensando/dfw/config/dfw.yml Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * Update pipeline.yml Condensed all "remove" fields to 1 list of fields. * Update pipeline.yml Do not remove the payload_raw field. * Update filebeat/module/pensando/_meta/docs.asciidoc Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co> * Update config.yml Added syslog_host and syslog_port values as suggested. * Update docs.asciidoc Added documentation for syslog_host and syslog_port as suggested. * Update pipeline.yml Removing payload_raw - this and json are, essentially, the same field and no longer needed after parsing. * Update pipeline.yml Changed checks if values are != null to use the filebeat specific ignore_empty_value: true instead. * Remove set of event.module Remove the set param for event.module. Filebeat should add this automatically. * Apply suggestions from code review Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co> * Update test.log * Use convert instead of set for some fields Changed ECS sets for IP addresses and ports to converts of type ip and integer respectively. * Updates for geoip and autonomous system * add pensando dfw fields * fixes from make -C filebeat update * fixes for filebeat check * make update changes * Update filebeat/module/pensando/dfw/config/dfw.yml Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * Update filebeat/module/pensando/dfw/ingest/pipeline.yml Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * Update filebeat/module/pensando/dfw/ingest/pipeline.yml Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * Update filebeat/module/pensando/dfw/ingest/pipeline.yml Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * Update filebeat/module/pensando/dfw/ingest/pipeline.yml Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * remove old json file * ran tests * Update filebeat/module/pensando/dfw/ingest/pipeline.yml Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> * gen after run of 'mage -v pythonIntegTest' * Update fields.yml * mage fmt update request Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
- Loading branch information
1 parent
9dbfd44
commit 4194408
Showing
21 changed files
with
2,152 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
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,69 @@ | ||
//// | ||
This file is generated! See scripts/docs_collector.py | ||
//// | ||
|
||
[[filebeat-module-pensando]] | ||
:modulename: pensando | ||
:has-dashboards: true | ||
|
||
== pensando module | ||
|
||
The +{modulename}+ module parses distributed firewall logs created by the | ||
http://pensando.io/[Pensando] distributed services card (DSC). | ||
|
||
|
||
include::../include/what-happens.asciidoc[] | ||
|
||
include::../include/gs-link.asciidoc[] | ||
|
||
[float] | ||
=== Compatibility | ||
|
||
The Pensando module has been tested with 1.12.0-E-54 and later. | ||
|
||
include::../include/configuring-intro.asciidoc[] | ||
The following example shows how to set parameters in the +modules.d/{modulename}.yml+ | ||
file to listen for firewall logs sent from the Pensando DSC(s) on port 5514 (default is 9001): | ||
|
||
["source","yaml",subs="attributes"] | ||
----- | ||
- module: pensando | ||
access: | ||
enabled: true | ||
var.syslog_host: 0.0.0.0 | ||
var.syslog_port: [9001] | ||
----- | ||
:fileset_ex: dfw | ||
|
||
include::../include/config-option-intro.asciidoc[] | ||
|
||
TODO: document the variables from each fileset. If you're describing a variable | ||
that's common to other modules, you can reuse shared descriptions by including | ||
the relevant file. For example: | ||
|
||
[float] | ||
==== `dfw` log fileset settings | ||
|
||
include::../include/var-paths.asciidoc[] | ||
|
||
[float] | ||
=== Example dashboard | ||
|
||
This module comes with a sample dashboard. For example: | ||
|
||
[role="screenshot"] | ||
image::./images/filebeat-pensando-dfw.png[] | ||
|
||
:has-dashboards!: | ||
|
||
:fileset_ex!: | ||
|
||
:modulename!: | ||
|
||
|
||
[float] | ||
=== Fields | ||
|
||
For a description of each field in the module, see the | ||
<<exported-fields-pensando,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,10 @@ | ||
- module: pensando | ||
# Firewall logs | ||
dfw: | ||
enabled: true | ||
var.syslog_host: 0.0.0.0 | ||
var.syslog_port: 9001 | ||
|
||
# Set custom paths for the log files. If left empty, | ||
# Filebeat will choose the paths depending on your OS. | ||
# 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,56 @@ | ||
:modulename: pensando | ||
:has-dashboards: true | ||
|
||
== pensando module | ||
|
||
The +{modulename}+ module parses distributed firewall logs created by the | ||
http://pensando.io/[Pensando] distributed services card (DSC). | ||
|
||
|
||
include::../include/what-happens.asciidoc[] | ||
|
||
include::../include/gs-link.asciidoc[] | ||
|
||
[float] | ||
=== Compatibility | ||
|
||
The Pensando module has been tested with 1.12.0-E-54 and later. | ||
|
||
include::../include/configuring-intro.asciidoc[] | ||
The following example shows how to set parameters in the +modules.d/{modulename}.yml+ | ||
file to listen for firewall logs sent from the Pensando DSC(s) on port 5514 (default is 9001): | ||
|
||
["source","yaml",subs="attributes"] | ||
----- | ||
- module: pensando | ||
access: | ||
enabled: true | ||
var.syslog_host: 0.0.0.0 | ||
var.syslog_port: [9001] | ||
----- | ||
:fileset_ex: dfw | ||
|
||
include::../include/config-option-intro.asciidoc[] | ||
|
||
TODO: document the variables from each fileset. If you're describing a variable | ||
that's common to other modules, you can reuse shared descriptions by including | ||
the relevant file. For example: | ||
|
||
[float] | ||
==== `dfw` log fileset settings | ||
|
||
include::../include/var-paths.asciidoc[] | ||
|
||
[float] | ||
=== Example dashboard | ||
|
||
This module comes with a sample dashboard. For example: | ||
|
||
[role="screenshot"] | ||
image::./images/filebeat-pensando-dfw.png[] | ||
|
||
:has-dashboards!: | ||
|
||
:fileset_ex!: | ||
|
||
:modulename!: |
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,10 @@ | ||
- key: pensando | ||
title: Pensando | ||
description: > | ||
pensando Module | ||
fields: | ||
- name: pensando | ||
type: group | ||
description: > | ||
Fields from Pensando logs. | ||
fields: |
Oops, something went wrong.