pub struct TextStructureFindStructure<'a, 'b, B> { /* private fields */ }
Expand description

Builder for the Text Structure Find Structure API

Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.

Implementations

Creates a new instance of TextStructureFindStructure

The body for the API call

Optional parameter to specify the character set of the file

Optional parameter containing a comma separated list of the column names for a delimited file

Optional parameter to specify the delimiter character for a delimited file - must be a single character

Optional parameter to specify the compatibility mode with ECS Grok patterns - may be either ‘v1’ or ‘disabled’

Include the stack trace of returned errors.

Whether to include a commentary on how the structure was derived

A comma-separated list of filters used to reduce the response.

Optional parameter to specify the high level file format

Optional parameter to specify the Grok pattern that should be used to extract fields from messages in a semi-structured text file

Optional parameter to specify whether a delimited file includes the column names in its first row

Adds a HTTP header

Return human readable values for statistics.

Maximum number of characters permitted in a single message when lines are merged to create messages.

How many lines of the file should be included in the analysis

Pretty format the returned JSON response.

Optional parameter to specify the quote character for a delimited file - must be a single character

Sets a request timeout for this API call.

The timeout is applied from when the request starts connecting until the response body has finished.

Optional parameter to specify whether the values between delimiters in a delimited file should have whitespace trimmed from them

The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.

Timeout after which the analysis will be aborted

Optional parameter to specify the timestamp field in the file

Optional parameter to specify the timestamp format in the file - may be either a Joda or Java time format

Creates an asynchronous call to the Text Structure Find Structure API that can be awaited

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more