Skip to content

Latest commit

 

History

History
137 lines (102 loc) · 5.06 KB

File metadata and controls

137 lines (102 loc) · 5.06 KB

Validation Codes

Validation Short description
JSE JSON Schema Errors
JSE00001 Rename message to event.original
PSR Package Spec Rule
PSR00001 Non GA spec used in GA package
PSR00002 Prerelease feature used in GA package
SVR Semantic Validation Rules
SVR00001 Dashboard with query but no filter
SVR00002 Dashboard without filter
SVR00003 Dangling object IDs
SVR00004 Visualization by value
SVR00005 Minimum Kibana version
SVR00006 Processor tag is required
SVR00007 Kibana tag is duplicate
SVR00008 Pipeline failure handler must set event.kind
SVR00009 Pipeline failure handler must set error.message

JSE00001 - Rename message to event.original

Available since 3.1.0

PSR00001 - Non GA spec used in GA package

Available since 3.0.1

PSR00002 - Prerelease feature used in GA package

Available since 3.0.0

SVR00001 - Dashboard with query but no filter

Available since 2.13.0

SVR00002 - Dashboard without filter

Available since 2.13.0

SVR00003 - Dangling object IDs

Available since 2.13.0

SVR00004 - Visualization by value

Available since 3.0.0

SVR00005 - Minimum Kibana version

Available since 3.0.0

SVR00006 - Processor tag is required

Available since 3.6.0

Every processor in an ingest pipeline must include a unique tag, which is used to annotate the processor in metrics and logs. Processors in the global pipeline on_failure handler are excluded from this check.

set:
  tag: set_event_category
  field: event.category
  value: [network]

SVR00007 - Kibana tag is duplicate

Available since 3.5.5

Kibana tags declared under kibana/tags.yml are duplicated or package tags under kibana/tag directory are sharing the same id.

SVR00008 - Pipeline failure handler must set event.kind

Available since 3.6.0

The global on_failure handler for an ingest pipeline must set event.kind to pipeline_error. This value indicates that an error occurred during the ingestion of this event, and that event data may be missing, inconsistent, or incorrect.

on_failure:
  - set:
      field: event.kind
      value: pipeline_error

SVR00009 - Pipeline failure handler must set error.message

Available since 3.6.0

The global on_failure handler for an ingest pipeline must set or append to error.message and the value must include the following:

  • _ingest.on_failure_processor_type
  • _ingest.on_failure_processor_tag
  • _ingest.on_failure_message
  • _ingest.pipeline

In cases where more than one error.message value is expected or could occur, the append processor should be used.

on_failure:
  - append:
      field: error.message
      value: >-
        Processor '{{{ _ingest.on_failure_processor_type }}}'
        with tag '{{{ _ingest.on_failure_processor_tag }}}'
        in pipeline '{{{ _ingest.pipeline }}}'
        failed with message '{{{ _ingest.on_failure_message }}}'
on_failure:
  - set:
      field: error.message
      value: >-
        Processor '{{{ _ingest.on_failure_processor_type }}}'
        with tag '{{{ _ingest.on_failure_processor_tag }}}'
        in pipeline '{{{ _ingest.pipeline }}}'
        failed with message '{{{ _ingest.on_failure_message }}}'