kibana/x-pack/test/alerting_api_integration
Patrick Mueller 11b3ab167d
[alerting] add ignore_above to alerts params mappings to handle immense params (#100726)
resolves https://github.com/elastic/kibana/issues/100607

This fixes a problem when very large parameters (over 32K bytes) are saved with
an alert.  Before this fix, an error from elasticsearch would be thrown with
the following message, and a 400 returned from create (and presumably update).

    Document contains at least one immense term in field=\"alert.params\"
    (whose UTF8 encoding is longer than the max length 32766), all of which
    were skipped.

After the fix, alerts with immense params can be saved and executed.

Note that the immense params will not be searchable, since they won't be indexed,
but that seems both unavoidable, and not a severe issue.
2021-05-27 09:17:12 -04:00
..
basic Create new alerting HTTP APIs that use the new terminology (#93977) 2021-03-30 08:27:28 -04:00
common [Alerting] Passing additional rule fields to rule executor (#99819) 2021-05-24 10:25:52 -04:00
security_and_spaces [Alerting] Passing additional rule fields to rule executor (#99819) 2021-05-24 10:25:52 -04:00
spaces_only [alerting] add ignore_above to alerts params mappings to handle immense params (#100726) 2021-05-27 09:17:12 -04:00