Skip to content

Commit

Permalink
Remove Dynamic Script Compilations warning in Cisco module (#19840) (#…
Browse files Browse the repository at this point in the history
…19994)

(cherry picked from commit e3ca37a)
  • Loading branch information
stu-elastic authored Jul 16, 2020
1 parent af116fa commit 7e2f6f0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 86 deletions.
27 changes: 0 additions & 27 deletions filebeat/docs/modules/cisco.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,6 @@ 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}.

[WARNING]
=======================================
Some filesets in this module make extensive use of ingest pipeline scripts.
This can cause their ingest pipelines to fail loading due to exceeding the
default compilation limits:
`[script] Too many dynamic script compilations within, max: [75/5m]`
Check the <<dynamic-script-compilations>> section for more information.
=======================================

include::../include/what-happens.asciidoc[]

include::../include/gs-link.asciidoc[]
Expand Down Expand Up @@ -347,22 +336,6 @@ will be found under `rsa.raw`. The default is false.

:fileset_ex!:

[float]
[[dynamic-script-compilations]]
=== Dynamic Script Compilations

The `asa` and `ftd` filesets are based on Elasticsearch ingest pipelines and
make extensive use of script processors and painless conditions. This can cause
the pipelines to fail loading the first time the module is used, due to exceeding
the maximum script compilation limits. It is recommended to tune the following
parameters on your Elasticsearch cluster:

- {ref}/circuit-breaker.html#script-compilation-circuit-breaker[script.max_compilations_rate]:
Increase to at least `100/5m`.

- {ref}/modules-scripting-using.html#modules-scripting-using-caching[script.cache.max_size]:
Increase to at least `200` if using both filesets or other script-heavy modules.

[float]
=== Example dashboard

Expand Down
16 changes: 0 additions & 16 deletions filebeat/docs/modules/sophosxg.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -132,22 +132,6 @@ This is a list of FortiOS fields that are mapped to ECS.

:fileset_ex!:

[float]
[[dynamic-script-compilations-sophosxg]]
=== Dynamic Script Compilations

The `sophosxg` filesets are based on Elasticsearch ingest pipelines and
make extensive use of script processors and painless conditions. This can cause
the pipelines to fail loading the first time the module is used, due to exceeding
the maximum script compilation limits. It is recommended to tune the following
parameters on your Elasticsearch cluster:

- {ref}/circuit-breaker.html#script-compilation-circuit-breaker[script.max_compilations_rate]:
Increase to at least `100/5m`.

- {ref}/modules-scripting-using.html#modules-scripting-using-caching[script.cache.max_size]:
Increase to at least `300` if using both filesets or other script-heavy modules.

:modulename!:


Expand Down
27 changes: 0 additions & 27 deletions x-pack/filebeat/module/cisco/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,6 @@ 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}.

[WARNING]
=======================================
Some filesets in this module make extensive use of ingest pipeline scripts.
This can cause their ingest pipelines to fail loading due to exceeding the
default compilation limits:
`[script] Too many dynamic script compilations within, max: [75/5m]`
Check the <<dynamic-script-compilations>> section for more information.
=======================================

include::../include/what-happens.asciidoc[]

include::../include/gs-link.asciidoc[]
Expand Down Expand Up @@ -342,22 +331,6 @@ will be found under `rsa.raw`. The default is false.

:fileset_ex!:

[float]
[[dynamic-script-compilations]]
=== Dynamic Script Compilations

The `asa` and `ftd` filesets are based on Elasticsearch ingest pipelines and
make extensive use of script processors and painless conditions. This can cause
the pipelines to fail loading the first time the module is used, due to exceeding
the maximum script compilation limits. It is recommended to tune the following
parameters on your Elasticsearch cluster:

- {ref}/circuit-breaker.html#script-compilation-circuit-breaker[script.max_compilations_rate]:
Increase to at least `100/5m`.

- {ref}/modules-scripting-using.html#modules-scripting-using-caching[script.cache.max_size]:
Increase to at least `200` if using both filesets or other script-heavy modules.

[float]
=== Example dashboard

Expand Down
16 changes: 0 additions & 16 deletions x-pack/filebeat/module/sophosxg/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,4 @@ This is a list of FortiOS fields that are mapped to ECS.

:fileset_ex!:

[float]
[[dynamic-script-compilations-sophosxg]]
=== Dynamic Script Compilations

The `sophosxg` filesets are based on Elasticsearch ingest pipelines and
make extensive use of script processors and painless conditions. This can cause
the pipelines to fail loading the first time the module is used, due to exceeding
the maximum script compilation limits. It is recommended to tune the following
parameters on your Elasticsearch cluster:

- {ref}/circuit-breaker.html#script-compilation-circuit-breaker[script.max_compilations_rate]:
Increase to at least `100/5m`.

- {ref}/modules-scripting-using.html#modules-scripting-using-caching[script.cache.max_size]:
Increase to at least `300` if using both filesets or other script-heavy modules.

:modulename!:

0 comments on commit 7e2f6f0

Please sign in to comment.