import * as pulumi from "@pulumi/pulumi"; /** * Splits a field into an array using a separator character. Only works on string fields. * * See: https://www.elastic.co/guide/en/elasticsearch/reference/current/split-processor.html * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as elasticstack from "@pulumi/elasticstack"; * * const split = elasticstack.ElasticsearchIngestProcessorSplit({ * field: "my_field", * separator: "\\s+", * }); * const myIngestPipeline = new elasticstack.ElasticsearchIngestPipeline("myIngestPipeline", {processors: [split.then(split => split.json)]}); * ``` */ export declare function elasticsearchIngestProcessorSplit(args: ElasticsearchIngestProcessorSplitArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking ElasticsearchIngestProcessorSplit. */ export interface ElasticsearchIngestProcessorSplitArgs { /** * Description of the processor. */ description?: string; /** * The field to split */ field: string; /** * Conditionally execute the processor */ if?: string; /** * Ignore failures for the processor. */ ignoreFailure?: boolean; /** * If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document. */ ignoreMissing?: boolean; /** * Handle failures for the processor. */ onFailures?: string[]; /** * Preserves empty trailing fields, if any. */ preserveTrailing?: boolean; /** * A regex which matches the separator, eg `,` or `\s+` */ separator: string; /** * Identifier for the processor. */ tag?: string; /** * The field to assign the converted value to, by default `field` is updated in-place. */ targetField?: string; } /** * A collection of values returned by ElasticsearchIngestProcessorSplit. */ export interface ElasticsearchIngestProcessorSplitResult { /** * Description of the processor. */ readonly description?: string; /** * The field to split */ readonly field: string; /** * Internal identifier of the resource. */ readonly id: string; /** * Conditionally execute the processor */ readonly if?: string; /** * Ignore failures for the processor. */ readonly ignoreFailure?: boolean; /** * If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document. */ readonly ignoreMissing?: boolean; /** * JSON representation of this data source. */ readonly json: string; /** * Handle failures for the processor. */ readonly onFailures?: string[]; /** * Preserves empty trailing fields, if any. */ readonly preserveTrailing?: boolean; /** * A regex which matches the separator, eg `,` or `\s+` */ readonly separator: string; /** * Identifier for the processor. */ readonly tag?: string; /** * The field to assign the converted value to, by default `field` is updated in-place. */ readonly targetField?: string; } export declare function elasticsearchIngestProcessorSplitOutput(args: ElasticsearchIngestProcessorSplitOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking ElasticsearchIngestProcessorSplit. */ export interface ElasticsearchIngestProcessorSplitOutputArgs { /** * Description of the processor. */ description?: pulumi.Input; /** * The field to split */ field: pulumi.Input; /** * Conditionally execute the processor */ if?: pulumi.Input; /** * Ignore failures for the processor. */ ignoreFailure?: pulumi.Input; /** * If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document. */ ignoreMissing?: pulumi.Input; /** * Handle failures for the processor. */ onFailures?: pulumi.Input[]>; /** * Preserves empty trailing fields, if any. */ preserveTrailing?: pulumi.Input; /** * A regex which matches the separator, eg `,` or `\s+` */ separator: pulumi.Input; /** * Identifier for the processor. */ tag?: pulumi.Input; /** * The field to assign the converted value to, by default `field` is updated in-place. */ targetField?: pulumi.Input; }