Class DissectProcessorDescriptor<T>
Similar to the Grok Processor, dissect also extracts structured fields out of a single text field
within a document. However unlike the Grok Processor, dissect does not use Regular Expressions.
This allows dissect’s syntax to be simple and, for some cases faster, than the Grok Processor.
Inheritance
DissectProcessorDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class DissectProcessorDescriptor<T> : ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>, IDescriptor, IDissectProcessor, IProcessor where T : class
Type Parameters
Properties
|
Edit this page
View Source
Name
Declaration
protected override string Name { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
AppendSeparator(string)
The character(s) that separate the appended fields.
Declaration
public DissectProcessorDescriptor<T> AppendSeparator(string appendSeparator)
Parameters
Type |
Name |
Description |
string |
appendSeparator |
|
Returns
|
Edit this page
View Source
Field(Field)
Declaration
public DissectProcessorDescriptor<T> Field(Field field)
Parameters
Type |
Name |
Description |
Field |
field |
|
Returns
|
Edit this page
View Source
Field<TValue>(Expression<Func<T, TValue>>)
Declaration
public DissectProcessorDescriptor<T> Field<TValue>(Expression<Func<T, TValue>> objectPath)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
IgnoreMissing(bool?)
If true
and field does not exist or is null, the processor quietly exits without modifying the document
Declaration
public DissectProcessorDescriptor<T> IgnoreMissing(bool? traceMatch = true)
Parameters
Type |
Name |
Description |
bool? |
traceMatch |
|
Returns
|
Edit this page
View Source
Pattern(string)
The pattern to apply to the field
Declaration
public DissectProcessorDescriptor<T> Pattern(string pattern)
Parameters
Type |
Name |
Description |
string |
pattern |
|
Returns
Implements
Extension Methods