diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/gsub.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/gsub.tsx
index a42df6873d57b1..2f2a75853d9e90 100644
--- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/gsub.tsx
+++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/gsub.tsx
@@ -6,8 +6,6 @@
import React, { FunctionComponent } from 'react';
import { i18n } from '@kbn/i18n';
-import { FormattedMessage } from '@kbn/i18n/react';
-import { EuiCode } from '@elastic/eui';
import { FIELD_TYPES, fieldValidators, UseField, Field } from '../../../../../../shared_imports';
@@ -87,17 +85,7 @@ export const Gsub: FunctionComponent = () => {
- {'field'},
- }}
- />
- }
- />
+
>
diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/html_strip.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/html_strip.tsx
index fb1a2d97672b01..c3f38cb0213718 100644
--- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/html_strip.tsx
+++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/html_strip.tsx
@@ -6,8 +6,6 @@
import React, { FunctionComponent } from 'react';
import { i18n } from '@kbn/i18n';
-import { FormattedMessage } from '@kbn/i18n/react';
-import { EuiCode } from '@elastic/eui';
import { FieldNameField } from './common_fields/field_name_field';
import { IgnoreMissingField } from './common_fields/ignore_missing_field';
@@ -23,15 +21,7 @@ export const HtmlStrip: FunctionComponent = () => {
)}
/>
- {'field'} }}
- />
- }
- />
+
>
diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/join.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/join.tsx
index ab077d3337f632..c70f48e0297e41 100644
--- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/join.tsx
+++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/join.tsx
@@ -6,8 +6,6 @@
import React, { FunctionComponent } from 'react';
import { i18n } from '@kbn/i18n';
-import { FormattedMessage } from '@kbn/i18n/react';
-import { EuiCode } from '@elastic/eui';
import { FIELD_TYPES, fieldValidators, UseField, Field } from '../../../../../../shared_imports';
@@ -55,17 +53,7 @@ export const Join: FunctionComponent = () => {
- {'field'},
- }}
- />
- }
- />
+
>
);
};
diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/json.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/json.tsx
index b68b398325085f..f01228a26297b2 100644
--- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/json.tsx
+++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_processors_editor/components/manage_processor_form/processors/json.tsx
@@ -65,12 +65,7 @@ export const Json: FunctionComponent = () => {
)}
/>
-
+
+ {'enrich policy'}
+
+ ),
+ }}
+ />
+ );
+ },
},
fail: {
FieldsComponent: Fail,
@@ -135,6 +158,10 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
label: i18n.translate('xpack.ingestPipelines.processors.label.fail', {
defaultMessage: 'Fail',
}),
+ description: i18n.translate('xpack.ingestPipelines.processors.description.fail', {
+ defaultMessage:
+ 'Returns a custom error message on failure. Often used to notify requesters of required conditions.',
+ }),
},
foreach: {
FieldsComponent: Foreach,
@@ -142,6 +169,9 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
label: i18n.translate('xpack.ingestPipelines.processors.label.foreach', {
defaultMessage: 'Foreach',
}),
+ description: i18n.translate('xpack.ingestPipelines.processors.description.foreach', {
+ defaultMessage: 'Applies an ingest processor to each value in an array.',
+ }),
},
geoip: {
FieldsComponent: GeoIP,
@@ -149,6 +179,10 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
label: i18n.translate('xpack.ingestPipelines.processors.label.geoip', {
defaultMessage: 'GeoIP',
}),
+ description: i18n.translate('xpack.ingestPipelines.processors.description.geoip', {
+ defaultMessage:
+ 'Adds geo data based on an IP address. Uses geo data from a Maxmind database file.',
+ }),
},
grok: {
FieldsComponent: Grok,
@@ -156,6 +190,25 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
label: i18n.translate('xpack.ingestPipelines.processors.label.grok', {
defaultMessage: 'Grok',
}),
+ description: function Description() {
+ const {
+ services: { documentation },
+ } = useKibana();
+ const esDocUrl = documentation.getEsDocsBasePath();
+ return (
+
+ {'grok'}
+
+ ),
+ }}
+ />
+ );
+ },
},
gsub: {
FieldsComponent: Gsub,
@@ -163,6 +216,9 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
label: i18n.translate('xpack.ingestPipelines.processors.label.gsub', {
defaultMessage: 'Gsub',
}),
+ description: i18n.translate('xpack.ingestPipelines.processors.description.gsub', {
+ defaultMessage: 'Uses a regular expression to replace field substrings.',
+ }),
},
html_strip: {
FieldsComponent: HtmlStrip,
@@ -170,6 +226,9 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
label: i18n.translate('xpack.ingestPipelines.processors.label.htmlStrip', {
defaultMessage: 'HTML strip',
}),
+ description: i18n.translate('xpack.ingestPipelines.processors.description.htmlStrip', {
+ defaultMessage: 'Removes HTML tags from a field.',
+ }),
},
inference: {
FieldsComponent: Inference,
@@ -177,6 +236,10 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
label: i18n.translate('xpack.ingestPipelines.processors.label.inference', {
defaultMessage: 'Inference',
}),
+ description: i18n.translate('xpack.ingestPipelines.processors.description.inference', {
+ defaultMessage:
+ 'Uses a pre-trained data frame analytics model to infer against incoming data.',
+ }),
},
join: {
FieldsComponent: Join,
@@ -184,6 +247,10 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
label: i18n.translate('xpack.ingestPipelines.processors.label.join', {
defaultMessage: 'Join',
}),
+ description: i18n.translate('xpack.ingestPipelines.processors.description.join', {
+ defaultMessage:
+ 'Joins array elements into a string. Inserts a separator between each element.',
+ }),
},
json: {
FieldsComponent: Json,
@@ -191,6 +258,9 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
label: i18n.translate('xpack.ingestPipelines.processors.label.json', {
defaultMessage: 'JSON',
}),
+ description: i18n.translate('xpack.ingestPipelines.processors.description.json', {
+ defaultMessage: 'Creates a JSON object from a compatible string.',
+ }),
},
kv: {
FieldsComponent: Kv,