Documentation ¶
Index ¶
- Variables
- func CompactFieldsProcessorFromModel(plan *CompactFieldsProcessorModel, previousState *CompactFieldsProcessorModel) (*Processor, diag.Diagnostics)
- func CompactFieldsProcessorResourceSchema() schema.Schema
- func CompactFieldsProcessorToModel(plan *CompactFieldsProcessorModel, component *Processor)
- func DecryptFieldsProcessorFromModel(plan *DecryptFieldsProcessorModel, previousState *DecryptFieldsProcessorModel) (*Processor, diag.Diagnostics)
- func DecryptFieldsProcessorResourceSchema() schema.Schema
- func DecryptFieldsProcessorToModel(plan *DecryptFieldsProcessorModel, component *Processor)
- func DedupeProcessorFromModel(plan *DedupeProcessorModel, previousState *DedupeProcessorModel) (*Processor, diag.Diagnostics)
- func DedupeProcessorResourceSchema() schema.Schema
- func DedupeProcessorToModel(plan *DedupeProcessorModel, component *Processor)
- func DropFieldsProcessorFromModel(plan *DropFieldsProcessorModel, previousState *DropFieldsProcessorModel) (*Processor, diag.Diagnostics)
- func DropFieldsProcessorResourceSchema() schema.Schema
- func DropFieldsProcessorToModel(plan *DropFieldsProcessorModel, component *Processor)
- func EncryptFieldsProcessorFromModel(plan *EncryptFieldsProcessorModel, previousState *EncryptFieldsProcessorModel) (*Processor, diag.Diagnostics)
- func EncryptFieldsProcessorResourceSchema() schema.Schema
- func EncryptFieldsProcessorToModel(plan *EncryptFieldsProcessorModel, component *Processor)
- func FlattenFieldsProcessorFromModel(plan *FlattenFieldsProcessorModel, previousState *FlattenFieldsProcessorModel) (*Processor, diag.Diagnostics)
- func FlattenFieldsProcessorResourceSchema() schema.Schema
- func FlattenFieldsProcessorToModel(plan *FlattenFieldsProcessorModel, component *Processor)
- func ParseProcessorFromModel(plan *ParseProcessorModel, previousState *ParseProcessorModel) (*Processor, diag.Diagnostics)
- func ParseProcessorResourceSchema() schema.Schema
- func ParseProcessorToModel(plan *ParseProcessorModel, component *Processor)
- func ParseSequentiallyProcessorFromModel(plan *ParseSequentiallyProcessorModel, ...) (*Processor, diag.Diagnostics)
- func ParseSequentiallyProcessorResourceSchema() schema.Schema
- func ParseSequentiallyProcessorToModel(plan *ParseSequentiallyProcessorModel, component *Processor)
- func ReduceProcessorFromModel(plan *ReduceProcessorModel, previousState *ReduceProcessorModel) (*Processor, diag.Diagnostics)
- func ReduceProcessorResourceSchema() schema.Schema
- func ReduceProcessorToModel(plan *ReduceProcessorModel, component *Processor)
- func RouteProcessorFromModel(plan *RouteProcessorModel, previousState *RouteProcessorModel) (*Processor, diag.Diagnostics)
- func RouteProcessorResourceSchema() schema.Schema
- func RouteProcessorToModel(plan *RouteProcessorModel, component *Processor)
- func SampleProcessorFromModel(plan *SampleProcessorModel, previousState *SampleProcessorModel) (*Processor, diag.Diagnostics)
- func SampleProcessorResourceSchema() schema.Schema
- func SampleProcessorToModel(plan *SampleProcessorModel, component *Processor)
- func ScriptExecutionProcessorFromModel(plan *ScriptExecutionProcessorModel, ...) (*Processor, diag.Diagnostics)
- func ScriptExecutionProcessorResourceSchema() schema.Schema
- func ScriptExecutionProcessorToModel(plan *ScriptExecutionProcessorModel, component *Processor)
- func StringifyProcessorFromModel(plan *StringifyProcessorModel, previousState *StringifyProcessorModel) (*Processor, diag.Diagnostics)
- func StringifyProcessorResourceSchema() schema.Schema
- func StringifyProcessorToModel(plan *StringifyProcessorModel, component *Processor)
- func UnrollProcessorFromModel(plan *UnrollProcessorModel, previousState *UnrollProcessorModel) (*Processor, diag.Diagnostics)
- func UnrollProcessorResourceSchema() schema.Schema
- func UnrollProcessorToModel(plan *UnrollProcessorModel, component *Processor)
- type CompactFieldsProcessorModel
- type DecryptFieldsProcessorModel
- type DedupeProcessorModel
- type DropFieldsProcessorModel
- type EncryptFieldsProcessorModel
- type FlattenFieldsProcessorModel
- type ParseProcessorModel
- type ParseSequentiallyProcessorModel
- type ReduceProcessorModel
- type RouteProcessorModel
- type SampleProcessorModel
- type SchemaAttributes
- type ScriptExecutionProcessorModel
- type StringifyProcessorModel
- type UnrollProcessorModel
Constants ¶
This section is empty.
Variables ¶
View Source
var ParseSequentiallyProcessorName = "parse_sequentially"
View Source
var RouteProcessorName = "route"
Functions ¶
func CompactFieldsProcessorFromModel ¶
func CompactFieldsProcessorFromModel(plan *CompactFieldsProcessorModel, previousState *CompactFieldsProcessorModel) (*Processor, diag.Diagnostics)
func CompactFieldsProcessorToModel ¶
func CompactFieldsProcessorToModel(plan *CompactFieldsProcessorModel, component *Processor)
func DecryptFieldsProcessorFromModel ¶
func DecryptFieldsProcessorFromModel(plan *DecryptFieldsProcessorModel, previousState *DecryptFieldsProcessorModel) (*Processor, diag.Diagnostics)
func DecryptFieldsProcessorToModel ¶
func DecryptFieldsProcessorToModel(plan *DecryptFieldsProcessorModel, component *Processor)
func DedupeProcessorFromModel ¶
func DedupeProcessorFromModel(plan *DedupeProcessorModel, previousState *DedupeProcessorModel) (*Processor, diag.Diagnostics)
func DedupeProcessorToModel ¶
func DedupeProcessorToModel(plan *DedupeProcessorModel, component *Processor)
func DropFieldsProcessorFromModel ¶
func DropFieldsProcessorFromModel(plan *DropFieldsProcessorModel, previousState *DropFieldsProcessorModel) (*Processor, diag.Diagnostics)
func DropFieldsProcessorToModel ¶
func DropFieldsProcessorToModel(plan *DropFieldsProcessorModel, component *Processor)
func EncryptFieldsProcessorFromModel ¶
func EncryptFieldsProcessorFromModel(plan *EncryptFieldsProcessorModel, previousState *EncryptFieldsProcessorModel) (*Processor, diag.Diagnostics)
func EncryptFieldsProcessorToModel ¶
func EncryptFieldsProcessorToModel(plan *EncryptFieldsProcessorModel, component *Processor)
func FlattenFieldsProcessorFromModel ¶
func FlattenFieldsProcessorFromModel(plan *FlattenFieldsProcessorModel, previousState *FlattenFieldsProcessorModel) (*Processor, diag.Diagnostics)
func FlattenFieldsProcessorToModel ¶
func FlattenFieldsProcessorToModel(plan *FlattenFieldsProcessorModel, component *Processor)
func ParseProcessorFromModel ¶
func ParseProcessorFromModel(plan *ParseProcessorModel, previousState *ParseProcessorModel) (*Processor, diag.Diagnostics)
func ParseProcessorToModel ¶
func ParseProcessorToModel(plan *ParseProcessorModel, component *Processor)
func ParseSequentiallyProcessorFromModel ¶
func ParseSequentiallyProcessorFromModel(plan *ParseSequentiallyProcessorModel, previousState *ParseSequentiallyProcessorModel) (*Processor, diag.Diagnostics)
func ParseSequentiallyProcessorToModel ¶
func ParseSequentiallyProcessorToModel(plan *ParseSequentiallyProcessorModel, component *Processor)
func ReduceProcessorFromModel ¶
func ReduceProcessorFromModel(plan *ReduceProcessorModel, previousState *ReduceProcessorModel) (*Processor, diag.Diagnostics)
func ReduceProcessorToModel ¶
func ReduceProcessorToModel(plan *ReduceProcessorModel, component *Processor)
func RouteProcessorFromModel ¶
func RouteProcessorFromModel(plan *RouteProcessorModel, previousState *RouteProcessorModel) (*Processor, diag.Diagnostics)
func RouteProcessorToModel ¶
func RouteProcessorToModel(plan *RouteProcessorModel, component *Processor)
func SampleProcessorFromModel ¶
func SampleProcessorFromModel(plan *SampleProcessorModel, previousState *SampleProcessorModel) (*Processor, diag.Diagnostics)
func SampleProcessorToModel ¶
func SampleProcessorToModel(plan *SampleProcessorModel, component *Processor)
func ScriptExecutionProcessorFromModel ¶
func ScriptExecutionProcessorFromModel(plan *ScriptExecutionProcessorModel, previousState *ScriptExecutionProcessorModel) (*Processor, diag.Diagnostics)
func ScriptExecutionProcessorToModel ¶
func ScriptExecutionProcessorToModel(plan *ScriptExecutionProcessorModel, component *Processor)
func StringifyProcessorFromModel ¶
func StringifyProcessorFromModel(plan *StringifyProcessorModel, previousState *StringifyProcessorModel) (*Processor, diag.Diagnostics)
func StringifyProcessorToModel ¶
func StringifyProcessorToModel(plan *StringifyProcessorModel, component *Processor)
func UnrollProcessorFromModel ¶
func UnrollProcessorFromModel(plan *UnrollProcessorModel, previousState *UnrollProcessorModel) (*Processor, diag.Diagnostics)
func UnrollProcessorToModel ¶
func UnrollProcessorToModel(plan *UnrollProcessorModel, component *Processor)
Types ¶
type CompactFieldsProcessorModel ¶
type CompactFieldsProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Fields List `tfsdk:"fields" user_config:"true"` CompactArray Bool `tfsdk:"compact_array" user_config:"true"` CompactObject Bool `tfsdk:"compact_object" user_config:"true"` }
type DecryptFieldsProcessorModel ¶
type DecryptFieldsProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Field String `tfsdk:"field" user_config:"true"` Algorithm String `tfsdk:"algorithm" user_config:"true"` Key String `tfsdk:"key" user_config:"true"` IvField String `tfsdk:"iv_field" user_config:"true"` DecodeRawBytes Bool `tfsdk:"decode_raw_bytes" user_config:"true"` }
type DedupeProcessorModel ¶
type DedupeProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Fields List `tfsdk:"fields" user_config:"true"` NumberOfEvents Int64 `tfsdk:"number_of_events" user_config:"true"` ComparisonType String `tfsdk:"comparison_type" user_config:"true"` }
type DropFieldsProcessorModel ¶
type DropFieldsProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Fields List `tfsdk:"fields" user_config:"true"` }
type EncryptFieldsProcessorModel ¶
type EncryptFieldsProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Field String `tfsdk:"field" user_config:"true"` Algorithm String `tfsdk:"algorithm" user_config:"true"` Key String `tfsdk:"key" user_config:"true"` IvField String `tfsdk:"iv_field" user_config:"true"` EncodeRawBytes Bool `tfsdk:"encode_raw_bytes" user_config:"true"` }
type FlattenFieldsProcessorModel ¶
type FlattenFieldsProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Fields List `tfsdk:"fields" user_config:"true"` Delimiter String `tfsdk:"delimiter" user_config:"true"` }
type ParseProcessorModel ¶
type ParseProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Field String `tfsdk:"field" user_config:"true"` TargetField String `tfsdk:"target_field" user_config:"true"` Parser String `tfsdk:"parser" user_config:"true"` ApacheOptions Object `tfsdk:"apache_log_options" user_config:"true"` CefOptions Object `tfsdk:"cef_log_options" user_config:"true"` CsvOptions Object `tfsdk:"csv_row_options" user_config:"true"` GrokOptions Object `tfsdk:"grok_parser_options" user_config:"true"` KeyValueOptions Object `tfsdk:"key_value_log_options" user_config:"true"` NginxOptions Object `tfsdk:"nginx_log_options" user_config:"true"` RegexOptions Object `tfsdk:"regex_parser_options" user_config:"true"` TimestampOptions Object `tfsdk:"timestamp_parser_options" user_config:"true"` }
type ParseSequentiallyProcessorModel ¶
type ParseSequentiallyProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Field String `tfsdk:"field" user_config:"true"` TargetField String `tfsdk:"target_field" user_config:"true"` Parsers List `tfsdk:"parsers" user_config:"true"` }
type ReduceProcessorModel ¶
type ReduceProcessorModel struct { Id StringValue `tfsdk:"id"` PipelineId StringValue `tfsdk:"pipeline_id"` Title StringValue `tfsdk:"title"` Description StringValue `tfsdk:"description"` Inputs ListValue `tfsdk:"inputs"` GenerationId Int64Value `tfsdk:"generation_id"` DurationMs Int64Value `tfsdk:"duration_ms" user_config:"true"` GroupBy ListValue `tfsdk:"group_by" user_config:"true"` DateFormats ListValue `tfsdk:"date_formats" user_config:"true"` MergeStrategies ListValue `tfsdk:"merge_strategies" user_config:"true"` FlushCondition ObjectValue `tfsdk:"flush_condition" user_config:"true"` }
type RouteProcessorModel ¶
type RouteProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Conditionals List `tfsdk:"conditionals" user_config:"true"` }
type SampleProcessorModel ¶
type SampleProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Rate Int64 `tfsdk:"rate" user_config:"true"` AlwaysInclude Object `tfsdk:"always_include" user_config:"true"` }
type SchemaAttributes ¶
func ExtendBaseAttributes ¶
func ExtendBaseAttributes(target SchemaAttributes) SchemaAttributes
func ExtendSchemaAttributes ¶
func ExtendSchemaAttributes(fromAttributes SchemaAttributes, toAttributes SchemaAttributes) SchemaAttributes
type ScriptExecutionProcessorModel ¶
type ScriptExecutionProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Script String `tfsdk:"script" user_config:"true"` }
type StringifyProcessorModel ¶
type StringifyProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` }
type UnrollProcessorModel ¶
type UnrollProcessorModel struct { Id String `tfsdk:"id"` PipelineId String `tfsdk:"pipeline_id"` Title String `tfsdk:"title"` Description String `tfsdk:"description"` Inputs List `tfsdk:"inputs"` GenerationId Int64 `tfsdk:"generation_id"` Field String `tfsdk:"field" user_config:"true"` ValuesOnly Bool `tfsdk:"values_only" user_config:"true"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.