datadog.LogsCustomPipeline
Explore with Pulumi AI
Provides a Datadog Logs Pipeline API resource, which is used to create and manage Datadog logs custom pipelines. Each datadog.LogsCustomPipeline
resource defines a complete pipeline. The order of the pipelines is maintained in a different resource: datadog.LogsPipelineOrder
. When creating a new pipeline, you need to explicitly add this pipeline to the datadog.LogsPipelineOrder
resource to track the pipeline. Similarly, when a pipeline needs to be destroyed, remove its references from the datadog.LogsPipelineOrder
resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const samplePipeline = new datadog.LogsCustomPipeline("sample_pipeline", {
filters: [{
query: "source:foo",
}],
name: "sample pipeline",
isEnabled: true,
processors: [
{
arithmeticProcessor: {
expression: "(time1 - time2)*1000",
target: "my_arithmetic",
isReplaceMissing: true,
name: "sample arithmetic processor",
isEnabled: true,
},
},
{
attributeRemapper: {
sources: ["db.instance"],
sourceType: "tag",
target: "db",
targetType: "attribute",
targetFormat: "string",
preserveSource: true,
overrideOnConflict: false,
name: "sample attribute processor",
isEnabled: true,
},
},
{
categoryProcessor: {
target: "foo.severity",
categories: [
{
name: "debug",
filter: {
query: "@severity: \".\"",
},
},
{
name: "verbose",
filter: {
query: "@severity: \"-\"",
},
},
],
name: "sample category processor",
isEnabled: true,
},
},
{
dateRemapper: {
sources: [
"_timestamp",
"published_date",
],
name: "sample date remapper",
isEnabled: true,
},
},
{
geoIpParser: {
sources: ["network.client.ip"],
target: "network.client.geoip",
name: "sample geo ip parser",
isEnabled: true,
},
},
{
grokParser: {
samples: ["sample log 1"],
source: "message",
grok: {
supportRules: "",
matchRules: "Rule %{word:my_word2} %{number:my_float2}",
},
name: "sample grok parser",
isEnabled: true,
},
},
{
lookupProcessor: {
source: "service_id",
target: "service_name",
lookupTables: ["1,my service"],
defaultLookup: "unknown service",
name: "sample lookup processor",
isEnabled: true,
},
},
{
messageRemapper: {
sources: ["msg"],
name: "sample message remapper",
isEnabled: true,
},
},
{
pipeline: {
filters: [{
query: "source:foo",
}],
processors: [{
urlParser: {
name: "sample url parser",
sources: [
"url",
"extra",
],
target: "http_url",
normalizeEndingSlashes: true,
},
}],
name: "nested pipeline",
isEnabled: true,
},
},
{
serviceRemapper: {
sources: ["service"],
name: "sample service remapper",
isEnabled: true,
},
},
{
statusRemapper: {
sources: [
"info",
"trace",
],
name: "sample status remapper",
isEnabled: true,
},
},
{
stringBuilderProcessor: {
target: "user_activity",
template: "%{user.name} logged in at %{timestamp}",
name: "sample string builder processor",
isEnabled: true,
isReplaceMissing: false,
},
},
{
traceIdRemapper: {
sources: ["dd.trace_id"],
name: "sample trace id remapper",
isEnabled: true,
},
},
{
userAgentParser: {
sources: [
"user",
"agent",
],
target: "http_agent",
isEncoded: false,
name: "sample user agent parser",
isEnabled: true,
},
},
],
});
import pulumi
import pulumi_datadog as datadog
sample_pipeline = datadog.LogsCustomPipeline("sample_pipeline",
filters=[{
"query": "source:foo",
}],
name="sample pipeline",
is_enabled=True,
processors=[
{
"arithmetic_processor": {
"expression": "(time1 - time2)*1000",
"target": "my_arithmetic",
"is_replace_missing": True,
"name": "sample arithmetic processor",
"is_enabled": True,
},
},
{
"attribute_remapper": {
"sources": ["db.instance"],
"source_type": "tag",
"target": "db",
"target_type": "attribute",
"target_format": "string",
"preserve_source": True,
"override_on_conflict": False,
"name": "sample attribute processor",
"is_enabled": True,
},
},
{
"category_processor": {
"target": "foo.severity",
"categories": [
{
"name": "debug",
"filter": {
"query": "@severity: \".\"",
},
},
{
"name": "verbose",
"filter": {
"query": "@severity: \"-\"",
},
},
],
"name": "sample category processor",
"is_enabled": True,
},
},
{
"date_remapper": {
"sources": [
"_timestamp",
"published_date",
],
"name": "sample date remapper",
"is_enabled": True,
},
},
{
"geo_ip_parser": {
"sources": ["network.client.ip"],
"target": "network.client.geoip",
"name": "sample geo ip parser",
"is_enabled": True,
},
},
{
"grok_parser": {
"samples": ["sample log 1"],
"source": "message",
"grok": {
"support_rules": "",
"match_rules": "Rule %{word:my_word2} %{number:my_float2}",
},
"name": "sample grok parser",
"is_enabled": True,
},
},
{
"lookup_processor": {
"source": "service_id",
"target": "service_name",
"lookup_tables": ["1,my service"],
"default_lookup": "unknown service",
"name": "sample lookup processor",
"is_enabled": True,
},
},
{
"message_remapper": {
"sources": ["msg"],
"name": "sample message remapper",
"is_enabled": True,
},
},
{
"pipeline": {
"filters": [{
"query": "source:foo",
}],
"processors": [{
"url_parser": {
"name": "sample url parser",
"sources": [
"url",
"extra",
],
"target": "http_url",
"normalize_ending_slashes": True,
},
}],
"name": "nested pipeline",
"is_enabled": True,
},
},
{
"service_remapper": {
"sources": ["service"],
"name": "sample service remapper",
"is_enabled": True,
},
},
{
"status_remapper": {
"sources": [
"info",
"trace",
],
"name": "sample status remapper",
"is_enabled": True,
},
},
{
"string_builder_processor": {
"target": "user_activity",
"template": "%{user.name} logged in at %{timestamp}",
"name": "sample string builder processor",
"is_enabled": True,
"is_replace_missing": False,
},
},
{
"trace_id_remapper": {
"sources": ["dd.trace_id"],
"name": "sample trace id remapper",
"is_enabled": True,
},
},
{
"user_agent_parser": {
"sources": [
"user",
"agent",
],
"target": "http_agent",
"is_encoded": False,
"name": "sample user agent parser",
"is_enabled": True,
},
},
])
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datadog.NewLogsCustomPipeline(ctx, "sample_pipeline", &datadog.LogsCustomPipelineArgs{
Filters: datadog.LogsCustomPipelineFilterArray{
&datadog.LogsCustomPipelineFilterArgs{
Query: pulumi.String("source:foo"),
},
},
Name: pulumi.String("sample pipeline"),
IsEnabled: pulumi.Bool(true),
Processors: datadog.LogsCustomPipelineProcessorArray{
&datadog.LogsCustomPipelineProcessorArgs{
ArithmeticProcessor: &datadog.LogsCustomPipelineProcessorArithmeticProcessorArgs{
Expression: pulumi.String("(time1 - time2)*1000"),
Target: pulumi.String("my_arithmetic"),
IsReplaceMissing: pulumi.Bool(true),
Name: pulumi.String("sample arithmetic processor"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
AttributeRemapper: &datadog.LogsCustomPipelineProcessorAttributeRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("db.instance"),
},
SourceType: pulumi.String("tag"),
Target: pulumi.String("db"),
TargetType: pulumi.String("attribute"),
TargetFormat: pulumi.String("string"),
PreserveSource: pulumi.Bool(true),
OverrideOnConflict: pulumi.Bool(false),
Name: pulumi.String("sample attribute processor"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
CategoryProcessor: &datadog.LogsCustomPipelineProcessorCategoryProcessorArgs{
Target: pulumi.String("foo.severity"),
Categories: datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArray{
&datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{
Name: pulumi.String("debug"),
Filter: &datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{
Query: pulumi.String("@severity: \".\""),
},
},
&datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{
Name: pulumi.String("verbose"),
Filter: &datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{
Query: pulumi.String("@severity: \"-\""),
},
},
},
Name: pulumi.String("sample category processor"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
DateRemapper: &datadog.LogsCustomPipelineProcessorDateRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("_timestamp"),
pulumi.String("published_date"),
},
Name: pulumi.String("sample date remapper"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
GeoIpParser: &datadog.LogsCustomPipelineProcessorGeoIpParserArgs{
Sources: pulumi.StringArray{
pulumi.String("network.client.ip"),
},
Target: pulumi.String("network.client.geoip"),
Name: pulumi.String("sample geo ip parser"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
GrokParser: &datadog.LogsCustomPipelineProcessorGrokParserArgs{
Samples: pulumi.StringArray{
pulumi.String("sample log 1"),
},
Source: pulumi.String("message"),
Grok: &datadog.LogsCustomPipelineProcessorGrokParserGrokArgs{
SupportRules: pulumi.String(""),
MatchRules: pulumi.String("Rule %{word:my_word2} %{number:my_float2}"),
},
Name: pulumi.String("sample grok parser"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
LookupProcessor: &datadog.LogsCustomPipelineProcessorLookupProcessorArgs{
Source: pulumi.String("service_id"),
Target: pulumi.String("service_name"),
LookupTables: pulumi.StringArray{
pulumi.String("1,my service"),
},
DefaultLookup: pulumi.String("unknown service"),
Name: pulumi.String("sample lookup processor"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
MessageRemapper: &datadog.LogsCustomPipelineProcessorMessageRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("msg"),
},
Name: pulumi.String("sample message remapper"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
Pipeline: &datadog.LogsCustomPipelineProcessorPipelineArgs{
Filters: datadog.LogsCustomPipelineProcessorPipelineFilterArray{
&datadog.LogsCustomPipelineProcessorPipelineFilterArgs{
Query: pulumi.String("source:foo"),
},
},
Processors: datadog.LogsCustomPipelineProcessorPipelineProcessorArray{
&datadog.LogsCustomPipelineProcessorPipelineProcessorArgs{
UrlParser: &datadog.LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{
Name: pulumi.String("sample url parser"),
Sources: pulumi.StringArray{
pulumi.String("url"),
pulumi.String("extra"),
},
Target: pulumi.String("http_url"),
NormalizeEndingSlashes: pulumi.Bool(true),
},
},
},
Name: pulumi.String("nested pipeline"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
ServiceRemapper: &datadog.LogsCustomPipelineProcessorServiceRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("service"),
},
Name: pulumi.String("sample service remapper"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
StatusRemapper: &datadog.LogsCustomPipelineProcessorStatusRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("info"),
pulumi.String("trace"),
},
Name: pulumi.String("sample status remapper"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
StringBuilderProcessor: &datadog.LogsCustomPipelineProcessorStringBuilderProcessorArgs{
Target: pulumi.String("user_activity"),
Template: pulumi.String("%{user.name} logged in at %{timestamp}"),
Name: pulumi.String("sample string builder processor"),
IsEnabled: pulumi.Bool(true),
IsReplaceMissing: pulumi.Bool(false),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
TraceIdRemapper: &datadog.LogsCustomPipelineProcessorTraceIdRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("dd.trace_id"),
},
Name: pulumi.String("sample trace id remapper"),
IsEnabled: pulumi.Bool(true),
},
},
&datadog.LogsCustomPipelineProcessorArgs{
UserAgentParser: &datadog.LogsCustomPipelineProcessorUserAgentParserArgs{
Sources: pulumi.StringArray{
pulumi.String("user"),
pulumi.String("agent"),
},
Target: pulumi.String("http_agent"),
IsEncoded: pulumi.Bool(false),
Name: pulumi.String("sample user agent parser"),
IsEnabled: pulumi.Bool(true),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
var samplePipeline = new Datadog.LogsCustomPipeline("sample_pipeline", new()
{
Filters = new[]
{
new Datadog.Inputs.LogsCustomPipelineFilterArgs
{
Query = "source:foo",
},
},
Name = "sample pipeline",
IsEnabled = true,
Processors = new[]
{
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
ArithmeticProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorArithmeticProcessorArgs
{
Expression = "(time1 - time2)*1000",
Target = "my_arithmetic",
IsReplaceMissing = true,
Name = "sample arithmetic processor",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
AttributeRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorAttributeRemapperArgs
{
Sources = new[]
{
"db.instance",
},
SourceType = "tag",
Target = "db",
TargetType = "attribute",
TargetFormat = "string",
PreserveSource = true,
OverrideOnConflict = false,
Name = "sample attribute processor",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
CategoryProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorArgs
{
Target = "foo.severity",
Categories = new[]
{
new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs
{
Name = "debug",
Filter = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs
{
Query = "@severity: \".\"",
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs
{
Name = "verbose",
Filter = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs
{
Query = "@severity: \"-\"",
},
},
},
Name = "sample category processor",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
DateRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorDateRemapperArgs
{
Sources = new[]
{
"_timestamp",
"published_date",
},
Name = "sample date remapper",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
GeoIpParser = new Datadog.Inputs.LogsCustomPipelineProcessorGeoIpParserArgs
{
Sources = new[]
{
"network.client.ip",
},
Target = "network.client.geoip",
Name = "sample geo ip parser",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
GrokParser = new Datadog.Inputs.LogsCustomPipelineProcessorGrokParserArgs
{
Samples = new[]
{
"sample log 1",
},
Source = "message",
Grok = new Datadog.Inputs.LogsCustomPipelineProcessorGrokParserGrokArgs
{
SupportRules = "",
MatchRules = "Rule %{word:my_word2} %{number:my_float2}",
},
Name = "sample grok parser",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
LookupProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorLookupProcessorArgs
{
Source = "service_id",
Target = "service_name",
LookupTables = new[]
{
"1,my service",
},
DefaultLookup = "unknown service",
Name = "sample lookup processor",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
MessageRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorMessageRemapperArgs
{
Sources = new[]
{
"msg",
},
Name = "sample message remapper",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
Pipeline = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineArgs
{
Filters = new[]
{
new Datadog.Inputs.LogsCustomPipelineProcessorPipelineFilterArgs
{
Query = "source:foo",
},
},
Processors = new[]
{
new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorArgs
{
UrlParser = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs
{
Name = "sample url parser",
Sources = new[]
{
"url",
"extra",
},
Target = "http_url",
NormalizeEndingSlashes = true,
},
},
},
Name = "nested pipeline",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
ServiceRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorServiceRemapperArgs
{
Sources = new[]
{
"service",
},
Name = "sample service remapper",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
StatusRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorStatusRemapperArgs
{
Sources = new[]
{
"info",
"trace",
},
Name = "sample status remapper",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
StringBuilderProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorStringBuilderProcessorArgs
{
Target = "user_activity",
Template = "%{user.name} logged in at %{timestamp}",
Name = "sample string builder processor",
IsEnabled = true,
IsReplaceMissing = false,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
TraceIdRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorTraceIdRemapperArgs
{
Sources = new[]
{
"dd.trace_id",
},
Name = "sample trace id remapper",
IsEnabled = true,
},
},
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
UserAgentParser = new Datadog.Inputs.LogsCustomPipelineProcessorUserAgentParserArgs
{
Sources = new[]
{
"user",
"agent",
},
Target = "http_agent",
IsEncoded = false,
Name = "sample user agent parser",
IsEnabled = true,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.LogsCustomPipeline;
import com.pulumi.datadog.LogsCustomPipelineArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineFilterArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorArithmeticProcessorArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorAttributeRemapperArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorCategoryProcessorArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorDateRemapperArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorGeoIpParserArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorGrokParserArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorGrokParserGrokArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorLookupProcessorArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorMessageRemapperArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorPipelineArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorServiceRemapperArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorStatusRemapperArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorStringBuilderProcessorArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorTraceIdRemapperArgs;
import com.pulumi.datadog.inputs.LogsCustomPipelineProcessorUserAgentParserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var samplePipeline = new LogsCustomPipeline("samplePipeline", LogsCustomPipelineArgs.builder()
.filters(LogsCustomPipelineFilterArgs.builder()
.query("source:foo")
.build())
.name("sample pipeline")
.isEnabled(true)
.processors(
LogsCustomPipelineProcessorArgs.builder()
.arithmeticProcessor(LogsCustomPipelineProcessorArithmeticProcessorArgs.builder()
.expression("(time1 - time2)*1000")
.target("my_arithmetic")
.isReplaceMissing(true)
.name("sample arithmetic processor")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.attributeRemapper(LogsCustomPipelineProcessorAttributeRemapperArgs.builder()
.sources("db.instance")
.sourceType("tag")
.target("db")
.targetType("attribute")
.targetFormat("string")
.preserveSource(true)
.overrideOnConflict(false)
.name("sample attribute processor")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.categoryProcessor(LogsCustomPipelineProcessorCategoryProcessorArgs.builder()
.target("foo.severity")
.categories(
LogsCustomPipelineProcessorCategoryProcessorCategoryArgs.builder()
.name("debug")
.filter(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs.builder()
.query("@severity: \".\"")
.build())
.build(),
LogsCustomPipelineProcessorCategoryProcessorCategoryArgs.builder()
.name("verbose")
.filter(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs.builder()
.query("@severity: \"-\"")
.build())
.build())
.name("sample category processor")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.dateRemapper(LogsCustomPipelineProcessorDateRemapperArgs.builder()
.sources(
"_timestamp",
"published_date")
.name("sample date remapper")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.geoIpParser(LogsCustomPipelineProcessorGeoIpParserArgs.builder()
.sources("network.client.ip")
.target("network.client.geoip")
.name("sample geo ip parser")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.grokParser(LogsCustomPipelineProcessorGrokParserArgs.builder()
.samples("sample log 1")
.source("message")
.grok(LogsCustomPipelineProcessorGrokParserGrokArgs.builder()
.supportRules("")
.matchRules("Rule %{word:my_word2} %{number:my_float2}")
.build())
.name("sample grok parser")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.lookupProcessor(LogsCustomPipelineProcessorLookupProcessorArgs.builder()
.source("service_id")
.target("service_name")
.lookupTables("1,my service")
.defaultLookup("unknown service")
.name("sample lookup processor")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.messageRemapper(LogsCustomPipelineProcessorMessageRemapperArgs.builder()
.sources("msg")
.name("sample message remapper")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.pipeline(LogsCustomPipelineProcessorPipelineArgs.builder()
.filters(LogsCustomPipelineProcessorPipelineFilterArgs.builder()
.query("source:foo")
.build())
.processors(LogsCustomPipelineProcessorPipelineProcessorArgs.builder()
.urlParser(LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs.builder()
.name("sample url parser")
.sources(
"url",
"extra")
.target("http_url")
.normalizeEndingSlashes(true)
.build())
.build())
.name("nested pipeline")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.serviceRemapper(LogsCustomPipelineProcessorServiceRemapperArgs.builder()
.sources("service")
.name("sample service remapper")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.statusRemapper(LogsCustomPipelineProcessorStatusRemapperArgs.builder()
.sources(
"info",
"trace")
.name("sample status remapper")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.stringBuilderProcessor(LogsCustomPipelineProcessorStringBuilderProcessorArgs.builder()
.target("user_activity")
.template("%{user.name} logged in at %{timestamp}")
.name("sample string builder processor")
.isEnabled(true)
.isReplaceMissing(false)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.traceIdRemapper(LogsCustomPipelineProcessorTraceIdRemapperArgs.builder()
.sources("dd.trace_id")
.name("sample trace id remapper")
.isEnabled(true)
.build())
.build(),
LogsCustomPipelineProcessorArgs.builder()
.userAgentParser(LogsCustomPipelineProcessorUserAgentParserArgs.builder()
.sources(
"user",
"agent")
.target("http_agent")
.isEncoded(false)
.name("sample user agent parser")
.isEnabled(true)
.build())
.build())
.build());
}
}
resources:
samplePipeline:
type: datadog:LogsCustomPipeline
name: sample_pipeline
properties:
filters:
- query: source:foo
name: sample pipeline
isEnabled: true
processors:
- arithmeticProcessor:
expression: (time1 - time2)*1000
target: my_arithmetic
isReplaceMissing: true
name: sample arithmetic processor
isEnabled: true
- attributeRemapper:
sources:
- db.instance
sourceType: tag
target: db
targetType: attribute
targetFormat: string
preserveSource: true
overrideOnConflict: false
name: sample attribute processor
isEnabled: true
- categoryProcessor:
target: foo.severity
categories:
- name: debug
filter:
query: '@severity: "."'
- name: verbose
filter:
query: '@severity: "-"'
name: sample category processor
isEnabled: true
- dateRemapper:
sources:
- _timestamp
- published_date
name: sample date remapper
isEnabled: true
- geoIpParser:
sources:
- network.client.ip
target: network.client.geoip
name: sample geo ip parser
isEnabled: true
- grokParser:
samples:
- sample log 1
source: message
grok:
supportRules:
matchRules: Rule %{word:my_word2} %{number:my_float2}
name: sample grok parser
isEnabled: true
- lookupProcessor:
source: service_id
target: service_name
lookupTables:
- 1,my service
defaultLookup: unknown service
name: sample lookup processor
isEnabled: true
- messageRemapper:
sources:
- msg
name: sample message remapper
isEnabled: true
- pipeline:
filters:
- query: source:foo
processors:
- urlParser:
name: sample url parser
sources:
- url
- extra
target: http_url
normalizeEndingSlashes: true
name: nested pipeline
isEnabled: true
- serviceRemapper:
sources:
- service
name: sample service remapper
isEnabled: true
- statusRemapper:
sources:
- info
- trace
name: sample status remapper
isEnabled: true
- stringBuilderProcessor:
target: user_activity
template: '%{user.name} logged in at %{timestamp}'
name: sample string builder processor
isEnabled: true
isReplaceMissing: false
- traceIdRemapper:
sources:
- dd.trace_id
name: sample trace id remapper
isEnabled: true
- userAgentParser:
sources:
- user
- agent
target: http_agent
isEncoded: false
name: sample user agent parser
isEnabled: true
Create LogsCustomPipeline Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogsCustomPipeline(name: string, args: LogsCustomPipelineArgs, opts?: CustomResourceOptions);
@overload
def LogsCustomPipeline(resource_name: str,
args: LogsCustomPipelineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogsCustomPipeline(resource_name: str,
opts: Optional[ResourceOptions] = None,
filters: Optional[Sequence[LogsCustomPipelineFilterArgs]] = None,
name: Optional[str] = None,
is_enabled: Optional[bool] = None,
processors: Optional[Sequence[LogsCustomPipelineProcessorArgs]] = None)
func NewLogsCustomPipeline(ctx *Context, name string, args LogsCustomPipelineArgs, opts ...ResourceOption) (*LogsCustomPipeline, error)
public LogsCustomPipeline(string name, LogsCustomPipelineArgs args, CustomResourceOptions? opts = null)
public LogsCustomPipeline(String name, LogsCustomPipelineArgs args)
public LogsCustomPipeline(String name, LogsCustomPipelineArgs args, CustomResourceOptions options)
type: datadog:LogsCustomPipeline
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LogsCustomPipelineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LogsCustomPipelineArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LogsCustomPipelineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogsCustomPipelineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogsCustomPipelineArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var logsCustomPipelineResource = new Datadog.LogsCustomPipeline("logsCustomPipelineResource", new()
{
Filters = new[]
{
new Datadog.Inputs.LogsCustomPipelineFilterArgs
{
Query = "string",
},
},
Name = "string",
IsEnabled = false,
Processors = new[]
{
new Datadog.Inputs.LogsCustomPipelineProcessorArgs
{
ArithmeticProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorArithmeticProcessorArgs
{
Expression = "string",
Target = "string",
IsEnabled = false,
IsReplaceMissing = false,
Name = "string",
},
AttributeRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorAttributeRemapperArgs
{
SourceType = "string",
Sources = new[]
{
"string",
},
Target = "string",
TargetType = "string",
IsEnabled = false,
Name = "string",
OverrideOnConflict = false,
PreserveSource = false,
TargetFormat = "string",
},
CategoryProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorArgs
{
Categories = new[]
{
new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs
{
Filter = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs
{
Query = "string",
},
Name = "string",
},
},
Target = "string",
IsEnabled = false,
Name = "string",
},
DateRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorDateRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
GeoIpParser = new Datadog.Inputs.LogsCustomPipelineProcessorGeoIpParserArgs
{
Sources = new[]
{
"string",
},
Target = "string",
IsEnabled = false,
Name = "string",
},
GrokParser = new Datadog.Inputs.LogsCustomPipelineProcessorGrokParserArgs
{
Grok = new Datadog.Inputs.LogsCustomPipelineProcessorGrokParserGrokArgs
{
MatchRules = "string",
SupportRules = "string",
},
Source = "string",
IsEnabled = false,
Name = "string",
Samples = new[]
{
"string",
},
},
LookupProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorLookupProcessorArgs
{
LookupTables = new[]
{
"string",
},
Source = "string",
Target = "string",
DefaultLookup = "string",
IsEnabled = false,
Name = "string",
},
MessageRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorMessageRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
Pipeline = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineArgs
{
Filters = new[]
{
new Datadog.Inputs.LogsCustomPipelineProcessorPipelineFilterArgs
{
Query = "string",
},
},
Name = "string",
IsEnabled = false,
Processors = new[]
{
new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorArgs
{
ArithmeticProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs
{
Expression = "string",
Target = "string",
IsEnabled = false,
IsReplaceMissing = false,
Name = "string",
},
AttributeRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs
{
SourceType = "string",
Sources = new[]
{
"string",
},
Target = "string",
TargetType = "string",
IsEnabled = false,
Name = "string",
OverrideOnConflict = false,
PreserveSource = false,
TargetFormat = "string",
},
CategoryProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs
{
Categories = new[]
{
new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs
{
Filter = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs
{
Query = "string",
},
Name = "string",
},
},
Target = "string",
IsEnabled = false,
Name = "string",
},
DateRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
GeoIpParser = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs
{
Sources = new[]
{
"string",
},
Target = "string",
IsEnabled = false,
Name = "string",
},
GrokParser = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs
{
Grok = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs
{
MatchRules = "string",
SupportRules = "string",
},
Source = "string",
IsEnabled = false,
Name = "string",
Samples = new[]
{
"string",
},
},
LookupProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs
{
LookupTables = new[]
{
"string",
},
Source = "string",
Target = "string",
DefaultLookup = "string",
IsEnabled = false,
Name = "string",
},
MessageRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
ReferenceTableLookupProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs
{
LookupEnrichmentTable = "string",
Source = "string",
Target = "string",
IsEnabled = false,
Name = "string",
},
ServiceRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
StatusRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
StringBuilderProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs
{
Target = "string",
Template = "string",
IsEnabled = false,
IsReplaceMissing = false,
Name = "string",
},
TraceIdRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
UrlParser = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs
{
Sources = new[]
{
"string",
},
Target = "string",
IsEnabled = false,
Name = "string",
NormalizeEndingSlashes = false,
},
UserAgentParser = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs
{
Sources = new[]
{
"string",
},
Target = "string",
IsEnabled = false,
IsEncoded = false,
Name = "string",
},
},
},
},
ReferenceTableLookupProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs
{
LookupEnrichmentTable = "string",
Source = "string",
Target = "string",
IsEnabled = false,
Name = "string",
},
ServiceRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorServiceRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
StatusRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorStatusRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
StringBuilderProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorStringBuilderProcessorArgs
{
Target = "string",
Template = "string",
IsEnabled = false,
IsReplaceMissing = false,
Name = "string",
},
TraceIdRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorTraceIdRemapperArgs
{
Sources = new[]
{
"string",
},
IsEnabled = false,
Name = "string",
},
UrlParser = new Datadog.Inputs.LogsCustomPipelineProcessorUrlParserArgs
{
Sources = new[]
{
"string",
},
Target = "string",
IsEnabled = false,
Name = "string",
NormalizeEndingSlashes = false,
},
UserAgentParser = new Datadog.Inputs.LogsCustomPipelineProcessorUserAgentParserArgs
{
Sources = new[]
{
"string",
},
Target = "string",
IsEnabled = false,
IsEncoded = false,
Name = "string",
},
},
},
});
example, err := datadog.NewLogsCustomPipeline(ctx, "logsCustomPipelineResource", &datadog.LogsCustomPipelineArgs{
Filters: datadog.LogsCustomPipelineFilterArray{
&datadog.LogsCustomPipelineFilterArgs{
Query: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Processors: datadog.LogsCustomPipelineProcessorArray{
&datadog.LogsCustomPipelineProcessorArgs{
ArithmeticProcessor: &datadog.LogsCustomPipelineProcessorArithmeticProcessorArgs{
Expression: pulumi.String("string"),
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
IsReplaceMissing: pulumi.Bool(false),
Name: pulumi.String("string"),
},
AttributeRemapper: &datadog.LogsCustomPipelineProcessorAttributeRemapperArgs{
SourceType: pulumi.String("string"),
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Target: pulumi.String("string"),
TargetType: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
OverrideOnConflict: pulumi.Bool(false),
PreserveSource: pulumi.Bool(false),
TargetFormat: pulumi.String("string"),
},
CategoryProcessor: &datadog.LogsCustomPipelineProcessorCategoryProcessorArgs{
Categories: datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArray{
&datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{
Filter: &datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{
Query: pulumi.String("string"),
},
Name: pulumi.String("string"),
},
},
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
DateRemapper: &datadog.LogsCustomPipelineProcessorDateRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
GeoIpParser: &datadog.LogsCustomPipelineProcessorGeoIpParserArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
GrokParser: &datadog.LogsCustomPipelineProcessorGrokParserArgs{
Grok: &datadog.LogsCustomPipelineProcessorGrokParserGrokArgs{
MatchRules: pulumi.String("string"),
SupportRules: pulumi.String("string"),
},
Source: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Samples: pulumi.StringArray{
pulumi.String("string"),
},
},
LookupProcessor: &datadog.LogsCustomPipelineProcessorLookupProcessorArgs{
LookupTables: pulumi.StringArray{
pulumi.String("string"),
},
Source: pulumi.String("string"),
Target: pulumi.String("string"),
DefaultLookup: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
MessageRemapper: &datadog.LogsCustomPipelineProcessorMessageRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
Pipeline: &datadog.LogsCustomPipelineProcessorPipelineArgs{
Filters: datadog.LogsCustomPipelineProcessorPipelineFilterArray{
&datadog.LogsCustomPipelineProcessorPipelineFilterArgs{
Query: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Processors: datadog.LogsCustomPipelineProcessorPipelineProcessorArray{
&datadog.LogsCustomPipelineProcessorPipelineProcessorArgs{
ArithmeticProcessor: &datadog.LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs{
Expression: pulumi.String("string"),
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
IsReplaceMissing: pulumi.Bool(false),
Name: pulumi.String("string"),
},
AttributeRemapper: &datadog.LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs{
SourceType: pulumi.String("string"),
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Target: pulumi.String("string"),
TargetType: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
OverrideOnConflict: pulumi.Bool(false),
PreserveSource: pulumi.Bool(false),
TargetFormat: pulumi.String("string"),
},
CategoryProcessor: &datadog.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs{
Categories: datadog.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArray{
&datadog.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs{
Filter: &datadog.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs{
Query: pulumi.String("string"),
},
Name: pulumi.String("string"),
},
},
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
DateRemapper: &datadog.LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
GeoIpParser: &datadog.LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
GrokParser: &datadog.LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs{
Grok: &datadog.LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs{
MatchRules: pulumi.String("string"),
SupportRules: pulumi.String("string"),
},
Source: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Samples: pulumi.StringArray{
pulumi.String("string"),
},
},
LookupProcessor: &datadog.LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs{
LookupTables: pulumi.StringArray{
pulumi.String("string"),
},
Source: pulumi.String("string"),
Target: pulumi.String("string"),
DefaultLookup: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
MessageRemapper: &datadog.LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
ReferenceTableLookupProcessor: &datadog.LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs{
LookupEnrichmentTable: pulumi.String("string"),
Source: pulumi.String("string"),
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
ServiceRemapper: &datadog.LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
StatusRemapper: &datadog.LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
StringBuilderProcessor: &datadog.LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs{
Target: pulumi.String("string"),
Template: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
IsReplaceMissing: pulumi.Bool(false),
Name: pulumi.String("string"),
},
TraceIdRemapper: &datadog.LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
UrlParser: &datadog.LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
NormalizeEndingSlashes: pulumi.Bool(false),
},
UserAgentParser: &datadog.LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
IsEncoded: pulumi.Bool(false),
Name: pulumi.String("string"),
},
},
},
},
ReferenceTableLookupProcessor: &datadog.LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs{
LookupEnrichmentTable: pulumi.String("string"),
Source: pulumi.String("string"),
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
ServiceRemapper: &datadog.LogsCustomPipelineProcessorServiceRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
StatusRemapper: &datadog.LogsCustomPipelineProcessorStatusRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
StringBuilderProcessor: &datadog.LogsCustomPipelineProcessorStringBuilderProcessorArgs{
Target: pulumi.String("string"),
Template: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
IsReplaceMissing: pulumi.Bool(false),
Name: pulumi.String("string"),
},
TraceIdRemapper: &datadog.LogsCustomPipelineProcessorTraceIdRemapperArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
},
UrlParser: &datadog.LogsCustomPipelineProcessorUrlParserArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
NormalizeEndingSlashes: pulumi.Bool(false),
},
UserAgentParser: &datadog.LogsCustomPipelineProcessorUserAgentParserArgs{
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Target: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
IsEncoded: pulumi.Bool(false),
Name: pulumi.String("string"),
},
},
},
})
var logsCustomPipelineResource = new LogsCustomPipeline("logsCustomPipelineResource", LogsCustomPipelineArgs.builder()
.filters(LogsCustomPipelineFilterArgs.builder()
.query("string")
.build())
.name("string")
.isEnabled(false)
.processors(LogsCustomPipelineProcessorArgs.builder()
.arithmeticProcessor(LogsCustomPipelineProcessorArithmeticProcessorArgs.builder()
.expression("string")
.target("string")
.isEnabled(false)
.isReplaceMissing(false)
.name("string")
.build())
.attributeRemapper(LogsCustomPipelineProcessorAttributeRemapperArgs.builder()
.sourceType("string")
.sources("string")
.target("string")
.targetType("string")
.isEnabled(false)
.name("string")
.overrideOnConflict(false)
.preserveSource(false)
.targetFormat("string")
.build())
.categoryProcessor(LogsCustomPipelineProcessorCategoryProcessorArgs.builder()
.categories(LogsCustomPipelineProcessorCategoryProcessorCategoryArgs.builder()
.filter(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs.builder()
.query("string")
.build())
.name("string")
.build())
.target("string")
.isEnabled(false)
.name("string")
.build())
.dateRemapper(LogsCustomPipelineProcessorDateRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.geoIpParser(LogsCustomPipelineProcessorGeoIpParserArgs.builder()
.sources("string")
.target("string")
.isEnabled(false)
.name("string")
.build())
.grokParser(LogsCustomPipelineProcessorGrokParserArgs.builder()
.grok(LogsCustomPipelineProcessorGrokParserGrokArgs.builder()
.matchRules("string")
.supportRules("string")
.build())
.source("string")
.isEnabled(false)
.name("string")
.samples("string")
.build())
.lookupProcessor(LogsCustomPipelineProcessorLookupProcessorArgs.builder()
.lookupTables("string")
.source("string")
.target("string")
.defaultLookup("string")
.isEnabled(false)
.name("string")
.build())
.messageRemapper(LogsCustomPipelineProcessorMessageRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.pipeline(LogsCustomPipelineProcessorPipelineArgs.builder()
.filters(LogsCustomPipelineProcessorPipelineFilterArgs.builder()
.query("string")
.build())
.name("string")
.isEnabled(false)
.processors(LogsCustomPipelineProcessorPipelineProcessorArgs.builder()
.arithmeticProcessor(LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs.builder()
.expression("string")
.target("string")
.isEnabled(false)
.isReplaceMissing(false)
.name("string")
.build())
.attributeRemapper(LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs.builder()
.sourceType("string")
.sources("string")
.target("string")
.targetType("string")
.isEnabled(false)
.name("string")
.overrideOnConflict(false)
.preserveSource(false)
.targetFormat("string")
.build())
.categoryProcessor(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs.builder()
.categories(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs.builder()
.filter(LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs.builder()
.query("string")
.build())
.name("string")
.build())
.target("string")
.isEnabled(false)
.name("string")
.build())
.dateRemapper(LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.geoIpParser(LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs.builder()
.sources("string")
.target("string")
.isEnabled(false)
.name("string")
.build())
.grokParser(LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs.builder()
.grok(LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs.builder()
.matchRules("string")
.supportRules("string")
.build())
.source("string")
.isEnabled(false)
.name("string")
.samples("string")
.build())
.lookupProcessor(LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs.builder()
.lookupTables("string")
.source("string")
.target("string")
.defaultLookup("string")
.isEnabled(false)
.name("string")
.build())
.messageRemapper(LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.referenceTableLookupProcessor(LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs.builder()
.lookupEnrichmentTable("string")
.source("string")
.target("string")
.isEnabled(false)
.name("string")
.build())
.serviceRemapper(LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.statusRemapper(LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.stringBuilderProcessor(LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs.builder()
.target("string")
.template("string")
.isEnabled(false)
.isReplaceMissing(false)
.name("string")
.build())
.traceIdRemapper(LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.urlParser(LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs.builder()
.sources("string")
.target("string")
.isEnabled(false)
.name("string")
.normalizeEndingSlashes(false)
.build())
.userAgentParser(LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs.builder()
.sources("string")
.target("string")
.isEnabled(false)
.isEncoded(false)
.name("string")
.build())
.build())
.build())
.referenceTableLookupProcessor(LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs.builder()
.lookupEnrichmentTable("string")
.source("string")
.target("string")
.isEnabled(false)
.name("string")
.build())
.serviceRemapper(LogsCustomPipelineProcessorServiceRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.statusRemapper(LogsCustomPipelineProcessorStatusRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.stringBuilderProcessor(LogsCustomPipelineProcessorStringBuilderProcessorArgs.builder()
.target("string")
.template("string")
.isEnabled(false)
.isReplaceMissing(false)
.name("string")
.build())
.traceIdRemapper(LogsCustomPipelineProcessorTraceIdRemapperArgs.builder()
.sources("string")
.isEnabled(false)
.name("string")
.build())
.urlParser(LogsCustomPipelineProcessorUrlParserArgs.builder()
.sources("string")
.target("string")
.isEnabled(false)
.name("string")
.normalizeEndingSlashes(false)
.build())
.userAgentParser(LogsCustomPipelineProcessorUserAgentParserArgs.builder()
.sources("string")
.target("string")
.isEnabled(false)
.isEncoded(false)
.name("string")
.build())
.build())
.build());
logs_custom_pipeline_resource = datadog.LogsCustomPipeline("logsCustomPipelineResource",
filters=[datadog.LogsCustomPipelineFilterArgs(
query="string",
)],
name="string",
is_enabled=False,
processors=[datadog.LogsCustomPipelineProcessorArgs(
arithmetic_processor=datadog.LogsCustomPipelineProcessorArithmeticProcessorArgs(
expression="string",
target="string",
is_enabled=False,
is_replace_missing=False,
name="string",
),
attribute_remapper=datadog.LogsCustomPipelineProcessorAttributeRemapperArgs(
source_type="string",
sources=["string"],
target="string",
target_type="string",
is_enabled=False,
name="string",
override_on_conflict=False,
preserve_source=False,
target_format="string",
),
category_processor=datadog.LogsCustomPipelineProcessorCategoryProcessorArgs(
categories=[datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs(
filter=datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs(
query="string",
),
name="string",
)],
target="string",
is_enabled=False,
name="string",
),
date_remapper=datadog.LogsCustomPipelineProcessorDateRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
geo_ip_parser=datadog.LogsCustomPipelineProcessorGeoIpParserArgs(
sources=["string"],
target="string",
is_enabled=False,
name="string",
),
grok_parser=datadog.LogsCustomPipelineProcessorGrokParserArgs(
grok=datadog.LogsCustomPipelineProcessorGrokParserGrokArgs(
match_rules="string",
support_rules="string",
),
source="string",
is_enabled=False,
name="string",
samples=["string"],
),
lookup_processor=datadog.LogsCustomPipelineProcessorLookupProcessorArgs(
lookup_tables=["string"],
source="string",
target="string",
default_lookup="string",
is_enabled=False,
name="string",
),
message_remapper=datadog.LogsCustomPipelineProcessorMessageRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
pipeline=datadog.LogsCustomPipelineProcessorPipelineArgs(
filters=[datadog.LogsCustomPipelineProcessorPipelineFilterArgs(
query="string",
)],
name="string",
is_enabled=False,
processors=[datadog.LogsCustomPipelineProcessorPipelineProcessorArgs(
arithmetic_processor=datadog.LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs(
expression="string",
target="string",
is_enabled=False,
is_replace_missing=False,
name="string",
),
attribute_remapper=datadog.LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs(
source_type="string",
sources=["string"],
target="string",
target_type="string",
is_enabled=False,
name="string",
override_on_conflict=False,
preserve_source=False,
target_format="string",
),
category_processor=datadog.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs(
categories=[datadog.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs(
filter=datadog.LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs(
query="string",
),
name="string",
)],
target="string",
is_enabled=False,
name="string",
),
date_remapper=datadog.LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
geo_ip_parser=datadog.LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs(
sources=["string"],
target="string",
is_enabled=False,
name="string",
),
grok_parser=datadog.LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs(
grok=datadog.LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs(
match_rules="string",
support_rules="string",
),
source="string",
is_enabled=False,
name="string",
samples=["string"],
),
lookup_processor=datadog.LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs(
lookup_tables=["string"],
source="string",
target="string",
default_lookup="string",
is_enabled=False,
name="string",
),
message_remapper=datadog.LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
reference_table_lookup_processor=datadog.LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs(
lookup_enrichment_table="string",
source="string",
target="string",
is_enabled=False,
name="string",
),
service_remapper=datadog.LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
status_remapper=datadog.LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
string_builder_processor=datadog.LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs(
target="string",
template="string",
is_enabled=False,
is_replace_missing=False,
name="string",
),
trace_id_remapper=datadog.LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
url_parser=datadog.LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs(
sources=["string"],
target="string",
is_enabled=False,
name="string",
normalize_ending_slashes=False,
),
user_agent_parser=datadog.LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs(
sources=["string"],
target="string",
is_enabled=False,
is_encoded=False,
name="string",
),
)],
),
reference_table_lookup_processor=datadog.LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs(
lookup_enrichment_table="string",
source="string",
target="string",
is_enabled=False,
name="string",
),
service_remapper=datadog.LogsCustomPipelineProcessorServiceRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
status_remapper=datadog.LogsCustomPipelineProcessorStatusRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
string_builder_processor=datadog.LogsCustomPipelineProcessorStringBuilderProcessorArgs(
target="string",
template="string",
is_enabled=False,
is_replace_missing=False,
name="string",
),
trace_id_remapper=datadog.LogsCustomPipelineProcessorTraceIdRemapperArgs(
sources=["string"],
is_enabled=False,
name="string",
),
url_parser=datadog.LogsCustomPipelineProcessorUrlParserArgs(
sources=["string"],
target="string",
is_enabled=False,
name="string",
normalize_ending_slashes=False,
),
user_agent_parser=datadog.LogsCustomPipelineProcessorUserAgentParserArgs(
sources=["string"],
target="string",
is_enabled=False,
is_encoded=False,
name="string",
),
)])
const logsCustomPipelineResource = new datadog.LogsCustomPipeline("logsCustomPipelineResource", {
filters: [{
query: "string",
}],
name: "string",
isEnabled: false,
processors: [{
arithmeticProcessor: {
expression: "string",
target: "string",
isEnabled: false,
isReplaceMissing: false,
name: "string",
},
attributeRemapper: {
sourceType: "string",
sources: ["string"],
target: "string",
targetType: "string",
isEnabled: false,
name: "string",
overrideOnConflict: false,
preserveSource: false,
targetFormat: "string",
},
categoryProcessor: {
categories: [{
filter: {
query: "string",
},
name: "string",
}],
target: "string",
isEnabled: false,
name: "string",
},
dateRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
geoIpParser: {
sources: ["string"],
target: "string",
isEnabled: false,
name: "string",
},
grokParser: {
grok: {
matchRules: "string",
supportRules: "string",
},
source: "string",
isEnabled: false,
name: "string",
samples: ["string"],
},
lookupProcessor: {
lookupTables: ["string"],
source: "string",
target: "string",
defaultLookup: "string",
isEnabled: false,
name: "string",
},
messageRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
pipeline: {
filters: [{
query: "string",
}],
name: "string",
isEnabled: false,
processors: [{
arithmeticProcessor: {
expression: "string",
target: "string",
isEnabled: false,
isReplaceMissing: false,
name: "string",
},
attributeRemapper: {
sourceType: "string",
sources: ["string"],
target: "string",
targetType: "string",
isEnabled: false,
name: "string",
overrideOnConflict: false,
preserveSource: false,
targetFormat: "string",
},
categoryProcessor: {
categories: [{
filter: {
query: "string",
},
name: "string",
}],
target: "string",
isEnabled: false,
name: "string",
},
dateRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
geoIpParser: {
sources: ["string"],
target: "string",
isEnabled: false,
name: "string",
},
grokParser: {
grok: {
matchRules: "string",
supportRules: "string",
},
source: "string",
isEnabled: false,
name: "string",
samples: ["string"],
},
lookupProcessor: {
lookupTables: ["string"],
source: "string",
target: "string",
defaultLookup: "string",
isEnabled: false,
name: "string",
},
messageRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
referenceTableLookupProcessor: {
lookupEnrichmentTable: "string",
source: "string",
target: "string",
isEnabled: false,
name: "string",
},
serviceRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
statusRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
stringBuilderProcessor: {
target: "string",
template: "string",
isEnabled: false,
isReplaceMissing: false,
name: "string",
},
traceIdRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
urlParser: {
sources: ["string"],
target: "string",
isEnabled: false,
name: "string",
normalizeEndingSlashes: false,
},
userAgentParser: {
sources: ["string"],
target: "string",
isEnabled: false,
isEncoded: false,
name: "string",
},
}],
},
referenceTableLookupProcessor: {
lookupEnrichmentTable: "string",
source: "string",
target: "string",
isEnabled: false,
name: "string",
},
serviceRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
statusRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
stringBuilderProcessor: {
target: "string",
template: "string",
isEnabled: false,
isReplaceMissing: false,
name: "string",
},
traceIdRemapper: {
sources: ["string"],
isEnabled: false,
name: "string",
},
urlParser: {
sources: ["string"],
target: "string",
isEnabled: false,
name: "string",
normalizeEndingSlashes: false,
},
userAgentParser: {
sources: ["string"],
target: "string",
isEnabled: false,
isEncoded: false,
name: "string",
},
}],
});
type: datadog:LogsCustomPipeline
properties:
filters:
- query: string
isEnabled: false
name: string
processors:
- arithmeticProcessor:
expression: string
isEnabled: false
isReplaceMissing: false
name: string
target: string
attributeRemapper:
isEnabled: false
name: string
overrideOnConflict: false
preserveSource: false
sourceType: string
sources:
- string
target: string
targetFormat: string
targetType: string
categoryProcessor:
categories:
- filter:
query: string
name: string
isEnabled: false
name: string
target: string
dateRemapper:
isEnabled: false
name: string
sources:
- string
geoIpParser:
isEnabled: false
name: string
sources:
- string
target: string
grokParser:
grok:
matchRules: string
supportRules: string
isEnabled: false
name: string
samples:
- string
source: string
lookupProcessor:
defaultLookup: string
isEnabled: false
lookupTables:
- string
name: string
source: string
target: string
messageRemapper:
isEnabled: false
name: string
sources:
- string
pipeline:
filters:
- query: string
isEnabled: false
name: string
processors:
- arithmeticProcessor:
expression: string
isEnabled: false
isReplaceMissing: false
name: string
target: string
attributeRemapper:
isEnabled: false
name: string
overrideOnConflict: false
preserveSource: false
sourceType: string
sources:
- string
target: string
targetFormat: string
targetType: string
categoryProcessor:
categories:
- filter:
query: string
name: string
isEnabled: false
name: string
target: string
dateRemapper:
isEnabled: false
name: string
sources:
- string
geoIpParser:
isEnabled: false
name: string
sources:
- string
target: string
grokParser:
grok:
matchRules: string
supportRules: string
isEnabled: false
name: string
samples:
- string
source: string
lookupProcessor:
defaultLookup: string
isEnabled: false
lookupTables:
- string
name: string
source: string
target: string
messageRemapper:
isEnabled: false
name: string
sources:
- string
referenceTableLookupProcessor:
isEnabled: false
lookupEnrichmentTable: string
name: string
source: string
target: string
serviceRemapper:
isEnabled: false
name: string
sources:
- string
statusRemapper:
isEnabled: false
name: string
sources:
- string
stringBuilderProcessor:
isEnabled: false
isReplaceMissing: false
name: string
target: string
template: string
traceIdRemapper:
isEnabled: false
name: string
sources:
- string
urlParser:
isEnabled: false
name: string
normalizeEndingSlashes: false
sources:
- string
target: string
userAgentParser:
isEnabled: false
isEncoded: false
name: string
sources:
- string
target: string
referenceTableLookupProcessor:
isEnabled: false
lookupEnrichmentTable: string
name: string
source: string
target: string
serviceRemapper:
isEnabled: false
name: string
sources:
- string
statusRemapper:
isEnabled: false
name: string
sources:
- string
stringBuilderProcessor:
isEnabled: false
isReplaceMissing: false
name: string
target: string
template: string
traceIdRemapper:
isEnabled: false
name: string
sources:
- string
urlParser:
isEnabled: false
name: string
normalizeEndingSlashes: false
sources:
- string
target: string
userAgentParser:
isEnabled: false
isEncoded: false
name: string
sources:
- string
target: string
LogsCustomPipeline Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LogsCustomPipeline resource accepts the following input properties:
- filters List<Property Map>
- name String
- is
Enabled Boolean - processors List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the LogsCustomPipeline resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing LogsCustomPipeline Resource
Get an existing LogsCustomPipeline resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LogsCustomPipelineState, opts?: CustomResourceOptions): LogsCustomPipeline
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
filters: Optional[Sequence[LogsCustomPipelineFilterArgs]] = None,
is_enabled: Optional[bool] = None,
name: Optional[str] = None,
processors: Optional[Sequence[LogsCustomPipelineProcessorArgs]] = None) -> LogsCustomPipeline
func GetLogsCustomPipeline(ctx *Context, name string, id IDInput, state *LogsCustomPipelineState, opts ...ResourceOption) (*LogsCustomPipeline, error)
public static LogsCustomPipeline Get(string name, Input<string> id, LogsCustomPipelineState? state, CustomResourceOptions? opts = null)
public static LogsCustomPipeline get(String name, Output<String> id, LogsCustomPipelineState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- filters List<Property Map>
- is
Enabled Boolean - name String
- processors List<Property Map>
Supporting Types
LogsCustomPipelineFilter, LogsCustomPipelineFilterArgs
- Query string
- Filter criteria of the category.
- Query string
- Filter criteria of the category.
- query String
- Filter criteria of the category.
- query string
- Filter criteria of the category.
- query str
- Filter criteria of the category.
- query String
- Filter criteria of the category.
LogsCustomPipelineProcessor, LogsCustomPipelineProcessorArgs
- Arithmetic
Processor LogsCustom Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- Attribute
Remapper LogsCustom Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- Category
Processor LogsCustom Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- Date
Remapper LogsCustom Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- Geo
Ip LogsParser Custom Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- Grok
Parser LogsCustom Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- Lookup
Processor LogsCustom Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- Message
Remapper LogsCustom Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- Pipeline
Logs
Custom Pipeline Processor Pipeline - Reference
Table LogsLookup Processor Custom Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- Service
Remapper LogsCustom Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- Status
Remapper LogsCustom Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- String
Builder LogsProcessor Custom Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- Trace
Id LogsRemapper Custom Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- Url
Parser LogsCustom Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- User
Agent LogsParser Custom Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- Arithmetic
Processor LogsCustom Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- Attribute
Remapper LogsCustom Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- Category
Processor LogsCustom Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- Date
Remapper LogsCustom Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- Geo
Ip LogsParser Custom Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- Grok
Parser LogsCustom Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- Lookup
Processor LogsCustom Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- Message
Remapper LogsCustom Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- Pipeline
Logs
Custom Pipeline Processor Pipeline - Reference
Table LogsLookup Processor Custom Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- Service
Remapper LogsCustom Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- Status
Remapper LogsCustom Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- String
Builder LogsProcessor Custom Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- Trace
Id LogsRemapper Custom Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- Url
Parser LogsCustom Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- User
Agent LogsParser Custom Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- arithmetic
Processor LogsCustom Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- attribute
Remapper LogsCustom Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- category
Processor LogsCustom Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- date
Remapper LogsCustom Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- geo
Ip LogsParser Custom Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- grok
Parser LogsCustom Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- lookup
Processor LogsCustom Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- message
Remapper LogsCustom Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- pipeline
Logs
Custom Pipeline Processor Pipeline - reference
Table LogsLookup Processor Custom Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- service
Remapper LogsCustom Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- status
Remapper LogsCustom Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- string
Builder LogsProcessor Custom Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- trace
Id LogsRemapper Custom Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- url
Parser LogsCustom Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- user
Agent LogsParser Custom Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- arithmetic
Processor LogsCustom Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- attribute
Remapper LogsCustom Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- category
Processor LogsCustom Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- date
Remapper LogsCustom Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- geo
Ip LogsParser Custom Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- grok
Parser LogsCustom Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- lookup
Processor LogsCustom Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- message
Remapper LogsCustom Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- pipeline
Logs
Custom Pipeline Processor Pipeline - reference
Table LogsLookup Processor Custom Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- service
Remapper LogsCustom Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- status
Remapper LogsCustom Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- string
Builder LogsProcessor Custom Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- trace
Id LogsRemapper Custom Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- url
Parser LogsCustom Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- user
Agent LogsParser Custom Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- arithmetic_
processor LogsCustom Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- attribute_
remapper LogsCustom Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- category_
processor LogsCustom Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- date_
remapper LogsCustom Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- geo_
ip_ Logsparser Custom Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- grok_
parser LogsCustom Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- lookup_
processor LogsCustom Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- message_
remapper LogsCustom Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- pipeline
Logs
Custom Pipeline Processor Pipeline - reference_
table_ Logslookup_ processor Custom Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- service_
remapper LogsCustom Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- status_
remapper LogsCustom Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- string_
builder_ Logsprocessor Custom Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- trace_
id_ Logsremapper Custom Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- url_
parser LogsCustom Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- user_
agent_ Logsparser Custom Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- arithmetic
Processor Property Map - Arithmetic Processor. More information can be found in the official docs
- attribute
Remapper Property Map - Attribute Remapper Processor. More information can be found in the official docs
- category
Processor Property Map - Category Processor. More information can be found in the official docs
- date
Remapper Property Map - Date Remapper Processor. More information can be found in the official docs
- geo
Ip Property MapParser - Date GeoIP Processor. More information can be found in the official docs
- grok
Parser Property Map - Grok Processor. More information can be found in the official docs
- lookup
Processor Property Map - Lookup Processor. More information can be found in the official docs
- message
Remapper Property Map - Message Remapper Processor. More information can be found in the official docs
- pipeline Property Map
- reference
Table Property MapLookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- service
Remapper Property Map - Service Remapper Processor. More information can be found in the official docs
- status
Remapper Property Map - Status Remapper Processor. More information can be found in the official docs
- string
Builder Property MapProcessor - String Builder Processor. More information can be found in the official docs
- trace
Id Property MapRemapper - Trace ID Remapper Processor. More information can be found in the official docs
- url
Parser Property Map - URL Parser Processor. More information can be found in the official docs
- user
Agent Property MapParser - User-Agent Parser Processor. More information can be found in the official docs
LogsCustomPipelineProcessorArithmeticProcessor, LogsCustomPipelineProcessorArithmeticProcessorArgs
- Expression string
- Arithmetic operation between one or more log attributes.
- Target string
- Name of the attribute that contains the result of the arithmetic operation.
- Is
Enabled bool - Boolean value to enable your pipeline.
- Is
Replace boolMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- Name string
- Your pipeline name.
- Expression string
- Arithmetic operation between one or more log attributes.
- Target string
- Name of the attribute that contains the result of the arithmetic operation.
- Is
Enabled bool - Boolean value to enable your pipeline.
- Is
Replace boolMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- Name string
- Your pipeline name.
- expression String
- Arithmetic operation between one or more log attributes.
- target String
- Name of the attribute that contains the result of the arithmetic operation.
- is
Enabled Boolean - Boolean value to enable your pipeline.
- is
Replace BooleanMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- name String
- Your pipeline name.
- expression string
- Arithmetic operation between one or more log attributes.
- target string
- Name of the attribute that contains the result of the arithmetic operation.
- is
Enabled boolean - Boolean value to enable your pipeline.
- is
Replace booleanMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- name string
- Your pipeline name.
- expression str
- Arithmetic operation between one or more log attributes.
- target str
- Name of the attribute that contains the result of the arithmetic operation.
- is_
enabled bool - Boolean value to enable your pipeline.
- is_
replace_ boolmissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- name str
- Your pipeline name.
- expression String
- Arithmetic operation between one or more log attributes.
- target String
- Name of the attribute that contains the result of the arithmetic operation.
- is
Enabled Boolean - Boolean value to enable your pipeline.
- is
Replace BooleanMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- name String
- Your pipeline name.
LogsCustomPipelineProcessorAttributeRemapper, LogsCustomPipelineProcessorAttributeRemapperArgs
- Source
Type string - Defines where the sources are from (log
attribute
ortag
). - Sources List<string>
- List of source attributes or tags.
- Target string
- Final attribute or tag name to remap the sources.
- Target
Type string - Defines if the target is a log
attribute
ortag
. - Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Override
On boolConflict - Override the target element if already set.
- Preserve
Source bool - Remove or preserve the remapped source element.
- Target
Format string - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- Source
Type string - Defines where the sources are from (log
attribute
ortag
). - Sources []string
- List of source attributes or tags.
- Target string
- Final attribute or tag name to remap the sources.
- Target
Type string - Defines if the target is a log
attribute
ortag
. - Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Override
On boolConflict - Override the target element if already set.
- Preserve
Source bool - Remove or preserve the remapped source element.
- Target
Format string - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- source
Type String - Defines where the sources are from (log
attribute
ortag
). - sources List<String>
- List of source attributes or tags.
- target String
- Final attribute or tag name to remap the sources.
- target
Type String - Defines if the target is a log
attribute
ortag
. - is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- override
On BooleanConflict - Override the target element if already set.
- preserve
Source Boolean - Remove or preserve the remapped source element.
- target
Format String - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- source
Type string - Defines where the sources are from (log
attribute
ortag
). - sources string[]
- List of source attributes or tags.
- target string
- Final attribute or tag name to remap the sources.
- target
Type string - Defines if the target is a log
attribute
ortag
. - is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- override
On booleanConflict - Override the target element if already set.
- preserve
Source boolean - Remove or preserve the remapped source element.
- target
Format string - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- source_
type str - Defines where the sources are from (log
attribute
ortag
). - sources Sequence[str]
- List of source attributes or tags.
- target str
- Final attribute or tag name to remap the sources.
- target_
type str - Defines if the target is a log
attribute
ortag
. - is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- override_
on_ boolconflict - Override the target element if already set.
- preserve_
source bool - Remove or preserve the remapped source element.
- target_
format str - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- source
Type String - Defines where the sources are from (log
attribute
ortag
). - sources List<String>
- List of source attributes or tags.
- target String
- Final attribute or tag name to remap the sources.
- target
Type String - Defines if the target is a log
attribute
ortag
. - is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- override
On BooleanConflict - Override the target element if already set.
- preserve
Source Boolean - Remove or preserve the remapped source element.
- target
Format String - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
LogsCustomPipelineProcessorCategoryProcessor, LogsCustomPipelineProcessorCategoryProcessorArgs
- Categories
List<Logs
Custom Pipeline Processor Category Processor Category> - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- Target string
- Name of the target attribute whose value is defined by the matching category.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the category
- Categories
[]Logs
Custom Pipeline Processor Category Processor Category - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- Target string
- Name of the target attribute whose value is defined by the matching category.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the category
- categories
List<Logs
Custom Pipeline Processor Category Processor Category> - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- target String
- Name of the target attribute whose value is defined by the matching category.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the category
- categories
Logs
Custom Pipeline Processor Category Processor Category[] - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- target string
- Name of the target attribute whose value is defined by the matching category.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the category
- categories
Sequence[Logs
Custom Pipeline Processor Category Processor Category] - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- target str
- Name of the target attribute whose value is defined by the matching category.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the category
- categories List<Property Map>
- List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- target String
- Name of the target attribute whose value is defined by the matching category.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the category
LogsCustomPipelineProcessorCategoryProcessorCategory, LogsCustomPipelineProcessorCategoryProcessorCategoryArgs
- filter Property Map
- name String
LogsCustomPipelineProcessorCategoryProcessorCategoryFilter, LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs
- Query string
- Filter criteria of the category.
- Query string
- Filter criteria of the category.
- query String
- Filter criteria of the category.
- query string
- Filter criteria of the category.
- query str
- Filter criteria of the category.
- query String
- Filter criteria of the category.
LogsCustomPipelineProcessorDateRemapper, LogsCustomPipelineProcessorDateRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorGeoIpParser, LogsCustomPipelineProcessorGeoIpParserArgs
- sources Sequence[str]
- List of source attributes.
- target str
- Name of the parent attribute that contains all the extracted details from the sources.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorGrokParser, LogsCustomPipelineProcessorGrokParserArgs
- Grok
Logs
Custom Pipeline Processor Grok Parser Grok - Source string
- Name of the log attribute to parse.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Samples List<string>
- List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters.
- grok
Logs
Custom Pipeline Processor Grok Parser Grok - source String
- Name of the log attribute to parse.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- samples List<String>
- List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters.
- grok
Logs
Custom Pipeline Processor Grok Parser Grok - source string
- Name of the log attribute to parse.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- samples string[]
- List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters.
- grok
Logs
Custom Pipeline Processor Grok Parser Grok - source str
- Name of the log attribute to parse.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- samples Sequence[str]
- List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters.
LogsCustomPipelineProcessorGrokParserGrok, LogsCustomPipelineProcessorGrokParserGrokArgs
- Match
Rules string - Match rules for your grok parser.
- Support
Rules string - Support rules for your grok parser.
- Match
Rules string - Match rules for your grok parser.
- Support
Rules string - Support rules for your grok parser.
- match
Rules String - Match rules for your grok parser.
- support
Rules String - Support rules for your grok parser.
- match
Rules string - Match rules for your grok parser.
- support
Rules string - Support rules for your grok parser.
- match_
rules str - Match rules for your grok parser.
- support_
rules str - Support rules for your grok parser.
- match
Rules String - Match rules for your grok parser.
- support
Rules String - Support rules for your grok parser.
LogsCustomPipelineProcessorLookupProcessor, LogsCustomPipelineProcessorLookupProcessorArgs
- Lookup
Tables List<string> - List of entries of the lookup table using
key,value
format. - Source string
- Name of the source attribute used to do the lookup.
- Target string
- Name of the attribute that contains the result of the lookup.
- Default
Lookup string - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Lookup
Tables []string - List of entries of the lookup table using
key,value
format. - Source string
- Name of the source attribute used to do the lookup.
- Target string
- Name of the attribute that contains the result of the lookup.
- Default
Lookup string - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- lookup
Tables List<String> - List of entries of the lookup table using
key,value
format. - source String
- Name of the source attribute used to do the lookup.
- target String
- Name of the attribute that contains the result of the lookup.
- default
Lookup String - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- lookup
Tables string[] - List of entries of the lookup table using
key,value
format. - source string
- Name of the source attribute used to do the lookup.
- target string
- Name of the attribute that contains the result of the lookup.
- default
Lookup string - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- lookup_
tables Sequence[str] - List of entries of the lookup table using
key,value
format. - source str
- Name of the source attribute used to do the lookup.
- target str
- Name of the attribute that contains the result of the lookup.
- default_
lookup str - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- lookup
Tables List<String> - List of entries of the lookup table using
key,value
format. - source String
- Name of the source attribute used to do the lookup.
- target String
- Name of the attribute that contains the result of the lookup.
- default
Lookup String - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
LogsCustomPipelineProcessorMessageRemapper, LogsCustomPipelineProcessorMessageRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorPipeline, LogsCustomPipelineProcessorPipelineArgs
- filters List<Property Map>
- name String
- is
Enabled Boolean - processors List<Property Map>
LogsCustomPipelineProcessorPipelineFilter, LogsCustomPipelineProcessorPipelineFilterArgs
- Query string
- Filter criteria of the category.
- Query string
- Filter criteria of the category.
- query String
- Filter criteria of the category.
- query string
- Filter criteria of the category.
- query str
- Filter criteria of the category.
- query String
- Filter criteria of the category.
LogsCustomPipelineProcessorPipelineProcessor, LogsCustomPipelineProcessorPipelineProcessorArgs
- Arithmetic
Processor LogsCustom Pipeline Processor Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- Attribute
Remapper LogsCustom Pipeline Processor Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- Category
Processor LogsCustom Pipeline Processor Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- Date
Remapper LogsCustom Pipeline Processor Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- Geo
Ip LogsParser Custom Pipeline Processor Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- Grok
Parser LogsCustom Pipeline Processor Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- Lookup
Processor LogsCustom Pipeline Processor Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- Message
Remapper LogsCustom Pipeline Processor Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- Reference
Table LogsLookup Processor Custom Pipeline Processor Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- Service
Remapper LogsCustom Pipeline Processor Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- Status
Remapper LogsCustom Pipeline Processor Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- String
Builder LogsProcessor Custom Pipeline Processor Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- Trace
Id LogsRemapper Custom Pipeline Processor Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- Url
Parser LogsCustom Pipeline Processor Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- User
Agent LogsParser Custom Pipeline Processor Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- Arithmetic
Processor LogsCustom Pipeline Processor Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- Attribute
Remapper LogsCustom Pipeline Processor Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- Category
Processor LogsCustom Pipeline Processor Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- Date
Remapper LogsCustom Pipeline Processor Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- Geo
Ip LogsParser Custom Pipeline Processor Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- Grok
Parser LogsCustom Pipeline Processor Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- Lookup
Processor LogsCustom Pipeline Processor Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- Message
Remapper LogsCustom Pipeline Processor Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- Reference
Table LogsLookup Processor Custom Pipeline Processor Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- Service
Remapper LogsCustom Pipeline Processor Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- Status
Remapper LogsCustom Pipeline Processor Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- String
Builder LogsProcessor Custom Pipeline Processor Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- Trace
Id LogsRemapper Custom Pipeline Processor Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- Url
Parser LogsCustom Pipeline Processor Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- User
Agent LogsParser Custom Pipeline Processor Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- arithmetic
Processor LogsCustom Pipeline Processor Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- attribute
Remapper LogsCustom Pipeline Processor Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- category
Processor LogsCustom Pipeline Processor Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- date
Remapper LogsCustom Pipeline Processor Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- geo
Ip LogsParser Custom Pipeline Processor Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- grok
Parser LogsCustom Pipeline Processor Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- lookup
Processor LogsCustom Pipeline Processor Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- message
Remapper LogsCustom Pipeline Processor Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- reference
Table LogsLookup Processor Custom Pipeline Processor Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- service
Remapper LogsCustom Pipeline Processor Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- status
Remapper LogsCustom Pipeline Processor Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- string
Builder LogsProcessor Custom Pipeline Processor Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- trace
Id LogsRemapper Custom Pipeline Processor Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- url
Parser LogsCustom Pipeline Processor Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- user
Agent LogsParser Custom Pipeline Processor Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- arithmetic
Processor LogsCustom Pipeline Processor Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- attribute
Remapper LogsCustom Pipeline Processor Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- category
Processor LogsCustom Pipeline Processor Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- date
Remapper LogsCustom Pipeline Processor Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- geo
Ip LogsParser Custom Pipeline Processor Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- grok
Parser LogsCustom Pipeline Processor Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- lookup
Processor LogsCustom Pipeline Processor Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- message
Remapper LogsCustom Pipeline Processor Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- reference
Table LogsLookup Processor Custom Pipeline Processor Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- service
Remapper LogsCustom Pipeline Processor Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- status
Remapper LogsCustom Pipeline Processor Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- string
Builder LogsProcessor Custom Pipeline Processor Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- trace
Id LogsRemapper Custom Pipeline Processor Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- url
Parser LogsCustom Pipeline Processor Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- user
Agent LogsParser Custom Pipeline Processor Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- arithmetic_
processor LogsCustom Pipeline Processor Pipeline Processor Arithmetic Processor - Arithmetic Processor. More information can be found in the official docs
- attribute_
remapper LogsCustom Pipeline Processor Pipeline Processor Attribute Remapper - Attribute Remapper Processor. More information can be found in the official docs
- category_
processor LogsCustom Pipeline Processor Pipeline Processor Category Processor - Category Processor. More information can be found in the official docs
- date_
remapper LogsCustom Pipeline Processor Pipeline Processor Date Remapper - Date Remapper Processor. More information can be found in the official docs
- geo_
ip_ Logsparser Custom Pipeline Processor Pipeline Processor Geo Ip Parser - Date GeoIP Processor. More information can be found in the official docs
- grok_
parser LogsCustom Pipeline Processor Pipeline Processor Grok Parser - Grok Processor. More information can be found in the official docs
- lookup_
processor LogsCustom Pipeline Processor Pipeline Processor Lookup Processor - Lookup Processor. More information can be found in the official docs
- message_
remapper LogsCustom Pipeline Processor Pipeline Processor Message Remapper - Message Remapper Processor. More information can be found in the official docs
- reference_
table_ Logslookup_ processor Custom Pipeline Processor Pipeline Processor Reference Table Lookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- service_
remapper LogsCustom Pipeline Processor Pipeline Processor Service Remapper - Service Remapper Processor. More information can be found in the official docs
- status_
remapper LogsCustom Pipeline Processor Pipeline Processor Status Remapper - Status Remapper Processor. More information can be found in the official docs
- string_
builder_ Logsprocessor Custom Pipeline Processor Pipeline Processor String Builder Processor - String Builder Processor. More information can be found in the official docs
- trace_
id_ Logsremapper Custom Pipeline Processor Pipeline Processor Trace Id Remapper - Trace ID Remapper Processor. More information can be found in the official docs
- url_
parser LogsCustom Pipeline Processor Pipeline Processor Url Parser - URL Parser Processor. More information can be found in the official docs
- user_
agent_ Logsparser Custom Pipeline Processor Pipeline Processor User Agent Parser - User-Agent Parser Processor. More information can be found in the official docs
- arithmetic
Processor Property Map - Arithmetic Processor. More information can be found in the official docs
- attribute
Remapper Property Map - Attribute Remapper Processor. More information can be found in the official docs
- category
Processor Property Map - Category Processor. More information can be found in the official docs
- date
Remapper Property Map - Date Remapper Processor. More information can be found in the official docs
- geo
Ip Property MapParser - Date GeoIP Processor. More information can be found in the official docs
- grok
Parser Property Map - Grok Processor. More information can be found in the official docs
- lookup
Processor Property Map - Lookup Processor. More information can be found in the official docs
- message
Remapper Property Map - Message Remapper Processor. More information can be found in the official docs
- reference
Table Property MapLookup Processor - Reference Table Lookup Processor. Reference Tables are in public beta. More information can be found in the official docs
- service
Remapper Property Map - Service Remapper Processor. More information can be found in the official docs
- status
Remapper Property Map - Status Remapper Processor. More information can be found in the official docs
- string
Builder Property MapProcessor - String Builder Processor. More information can be found in the official docs
- trace
Id Property MapRemapper - Trace ID Remapper Processor. More information can be found in the official docs
- url
Parser Property Map - URL Parser Processor. More information can be found in the official docs
- user
Agent Property MapParser - User-Agent Parser Processor. More information can be found in the official docs
LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessor, LogsCustomPipelineProcessorPipelineProcessorArithmeticProcessorArgs
- Expression string
- Arithmetic operation between one or more log attributes.
- Target string
- Name of the attribute that contains the result of the arithmetic operation.
- Is
Enabled bool - Boolean value to enable your pipeline.
- Is
Replace boolMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- Name string
- Your pipeline name.
- Expression string
- Arithmetic operation between one or more log attributes.
- Target string
- Name of the attribute that contains the result of the arithmetic operation.
- Is
Enabled bool - Boolean value to enable your pipeline.
- Is
Replace boolMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- Name string
- Your pipeline name.
- expression String
- Arithmetic operation between one or more log attributes.
- target String
- Name of the attribute that contains the result of the arithmetic operation.
- is
Enabled Boolean - Boolean value to enable your pipeline.
- is
Replace BooleanMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- name String
- Your pipeline name.
- expression string
- Arithmetic operation between one or more log attributes.
- target string
- Name of the attribute that contains the result of the arithmetic operation.
- is
Enabled boolean - Boolean value to enable your pipeline.
- is
Replace booleanMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- name string
- Your pipeline name.
- expression str
- Arithmetic operation between one or more log attributes.
- target str
- Name of the attribute that contains the result of the arithmetic operation.
- is_
enabled bool - Boolean value to enable your pipeline.
- is_
replace_ boolmissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- name str
- Your pipeline name.
- expression String
- Arithmetic operation between one or more log attributes.
- target String
- Name of the attribute that contains the result of the arithmetic operation.
- is
Enabled Boolean - Boolean value to enable your pipeline.
- is
Replace BooleanMissing - If true, it replaces all missing attributes of expression by 0, false skips the operation if an attribute is missing.
- name String
- Your pipeline name.
LogsCustomPipelineProcessorPipelineProcessorAttributeRemapper, LogsCustomPipelineProcessorPipelineProcessorAttributeRemapperArgs
- Source
Type string - Defines where the sources are from (log
attribute
ortag
). - Sources List<string>
- List of source attributes or tags.
- Target string
- Final attribute or tag name to remap the sources.
- Target
Type string - Defines if the target is a log
attribute
ortag
. - Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Override
On boolConflict - Override the target element if already set.
- Preserve
Source bool - Remove or preserve the remapped source element.
- Target
Format string - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- Source
Type string - Defines where the sources are from (log
attribute
ortag
). - Sources []string
- List of source attributes or tags.
- Target string
- Final attribute or tag name to remap the sources.
- Target
Type string - Defines if the target is a log
attribute
ortag
. - Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Override
On boolConflict - Override the target element if already set.
- Preserve
Source bool - Remove or preserve the remapped source element.
- Target
Format string - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- source
Type String - Defines where the sources are from (log
attribute
ortag
). - sources List<String>
- List of source attributes or tags.
- target String
- Final attribute or tag name to remap the sources.
- target
Type String - Defines if the target is a log
attribute
ortag
. - is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- override
On BooleanConflict - Override the target element if already set.
- preserve
Source Boolean - Remove or preserve the remapped source element.
- target
Format String - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- source
Type string - Defines where the sources are from (log
attribute
ortag
). - sources string[]
- List of source attributes or tags.
- target string
- Final attribute or tag name to remap the sources.
- target
Type string - Defines if the target is a log
attribute
ortag
. - is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- override
On booleanConflict - Override the target element if already set.
- preserve
Source boolean - Remove or preserve the remapped source element.
- target
Format string - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- source_
type str - Defines where the sources are from (log
attribute
ortag
). - sources Sequence[str]
- List of source attributes or tags.
- target str
- Final attribute or tag name to remap the sources.
- target_
type str - Defines if the target is a log
attribute
ortag
. - is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- override_
on_ boolconflict - Override the target element if already set.
- preserve_
source bool - Remove or preserve the remapped source element.
- target_
format str - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
- source
Type String - Defines where the sources are from (log
attribute
ortag
). - sources List<String>
- List of source attributes or tags.
- target String
- Final attribute or tag name to remap the sources.
- target
Type String - Defines if the target is a log
attribute
ortag
. - is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- override
On BooleanConflict - Override the target element if already set.
- preserve
Source Boolean - Remove or preserve the remapped source element.
- target
Format String - If the
target_type
of the remapper isattribute
, try to cast the value to a new specific type. If the cast is not possible, the original type is kept.string
,integer
, ordouble
are the possible types. If thetarget_type
istag
, this parameter may not be specified.
LogsCustomPipelineProcessorPipelineProcessorCategoryProcessor, LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorArgs
- Categories
List<Logs
Custom Pipeline Processor Pipeline Processor Category Processor Category> - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- Target string
- Name of the target attribute whose value is defined by the matching category.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the category
- Categories
[]Logs
Custom Pipeline Processor Pipeline Processor Category Processor Category - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- Target string
- Name of the target attribute whose value is defined by the matching category.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the category
- categories
List<Logs
Custom Pipeline Processor Pipeline Processor Category Processor Category> - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- target String
- Name of the target attribute whose value is defined by the matching category.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the category
- categories
Logs
Custom Pipeline Processor Pipeline Processor Category Processor Category[] - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- target string
- Name of the target attribute whose value is defined by the matching category.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the category
- categories
Sequence[Logs
Custom Pipeline Processor Pipeline Processor Category Processor Category] - List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- target str
- Name of the target attribute whose value is defined by the matching category.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the category
- categories List<Property Map>
- List of filters to match or exclude a log with their corresponding name to assign a custom value to the log.
- target String
- Name of the target attribute whose value is defined by the matching category.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the category
LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategory, LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryArgs
- filter Property Map
- name String
LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilter, LogsCustomPipelineProcessorPipelineProcessorCategoryProcessorCategoryFilterArgs
- Query string
- Filter criteria of the category.
- Query string
- Filter criteria of the category.
- query String
- Filter criteria of the category.
- query string
- Filter criteria of the category.
- query str
- Filter criteria of the category.
- query String
- Filter criteria of the category.
LogsCustomPipelineProcessorPipelineProcessorDateRemapper, LogsCustomPipelineProcessorPipelineProcessorDateRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorPipelineProcessorGeoIpParser, LogsCustomPipelineProcessorPipelineProcessorGeoIpParserArgs
- sources Sequence[str]
- List of source attributes.
- target str
- Name of the parent attribute that contains all the extracted details from the sources.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorPipelineProcessorGrokParser, LogsCustomPipelineProcessorPipelineProcessorGrokParserArgs
- Grok
Logs
Custom Pipeline Processor Pipeline Processor Grok Parser Grok - Source string
- Name of the log attribute to parse.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Samples List<string>
- List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters.
- Grok
Logs
Custom Pipeline Processor Pipeline Processor Grok Parser Grok - Source string
- Name of the log attribute to parse.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Samples []string
- List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters.
- grok
Logs
Custom Pipeline Processor Pipeline Processor Grok Parser Grok - source String
- Name of the log attribute to parse.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- samples List<String>
- List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters.
- grok
Logs
Custom Pipeline Processor Pipeline Processor Grok Parser Grok - source string
- Name of the log attribute to parse.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- samples string[]
- List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters.
- grok
Logs
Custom Pipeline Processor Pipeline Processor Grok Parser Grok - source str
- Name of the log attribute to parse.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- samples Sequence[str]
- List of sample logs for this parser. It can save up to 5 samples. Each sample takes up to 5000 characters.
LogsCustomPipelineProcessorPipelineProcessorGrokParserGrok, LogsCustomPipelineProcessorPipelineProcessorGrokParserGrokArgs
- Match
Rules string - Match rules for your grok parser.
- Support
Rules string - Support rules for your grok parser.
- Match
Rules string - Match rules for your grok parser.
- Support
Rules string - Support rules for your grok parser.
- match
Rules String - Match rules for your grok parser.
- support
Rules String - Support rules for your grok parser.
- match
Rules string - Match rules for your grok parser.
- support
Rules string - Support rules for your grok parser.
- match_
rules str - Match rules for your grok parser.
- support_
rules str - Support rules for your grok parser.
- match
Rules String - Match rules for your grok parser.
- support
Rules String - Support rules for your grok parser.
LogsCustomPipelineProcessorPipelineProcessorLookupProcessor, LogsCustomPipelineProcessorPipelineProcessorLookupProcessorArgs
- Lookup
Tables List<string> - List of entries of the lookup table using
key,value
format. - Source string
- Name of the source attribute used to do the lookup.
- Target string
- Name of the attribute that contains the result of the lookup.
- Default
Lookup string - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Lookup
Tables []string - List of entries of the lookup table using
key,value
format. - Source string
- Name of the source attribute used to do the lookup.
- Target string
- Name of the attribute that contains the result of the lookup.
- Default
Lookup string - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- lookup
Tables List<String> - List of entries of the lookup table using
key,value
format. - source String
- Name of the source attribute used to do the lookup.
- target String
- Name of the attribute that contains the result of the lookup.
- default
Lookup String - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- lookup
Tables string[] - List of entries of the lookup table using
key,value
format. - source string
- Name of the source attribute used to do the lookup.
- target string
- Name of the attribute that contains the result of the lookup.
- default
Lookup string - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- lookup_
tables Sequence[str] - List of entries of the lookup table using
key,value
format. - source str
- Name of the source attribute used to do the lookup.
- target str
- Name of the attribute that contains the result of the lookup.
- default_
lookup str - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- lookup
Tables List<String> - List of entries of the lookup table using
key,value
format. - source String
- Name of the source attribute used to do the lookup.
- target String
- Name of the attribute that contains the result of the lookup.
- default
Lookup String - Default lookup value to use if there is no entry in the lookup table for the value of the source attribute.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
LogsCustomPipelineProcessorPipelineProcessorMessageRemapper, LogsCustomPipelineProcessorPipelineProcessorMessageRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessor, LogsCustomPipelineProcessorPipelineProcessorReferenceTableLookupProcessorArgs
- Lookup
Enrichment stringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- Source string
- Name of the source attribute used to do the lookup.
- Target string
- Name of the attribute that contains the result of the lookup.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Lookup
Enrichment stringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- Source string
- Name of the source attribute used to do the lookup.
- Target string
- Name of the attribute that contains the result of the lookup.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- lookup
Enrichment StringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- source String
- Name of the source attribute used to do the lookup.
- target String
- Name of the attribute that contains the result of the lookup.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- lookup
Enrichment stringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- source string
- Name of the source attribute used to do the lookup.
- target string
- Name of the attribute that contains the result of the lookup.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- lookup_
enrichment_ strtable - Name of the Reference Table for the source attribute and their associated target attribute values.
- source str
- Name of the source attribute used to do the lookup.
- target str
- Name of the attribute that contains the result of the lookup.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- lookup
Enrichment StringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- source String
- Name of the source attribute used to do the lookup.
- target String
- Name of the attribute that contains the result of the lookup.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
LogsCustomPipelineProcessorPipelineProcessorServiceRemapper, LogsCustomPipelineProcessorPipelineProcessorServiceRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorPipelineProcessorStatusRemapper, LogsCustomPipelineProcessorPipelineProcessorStatusRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessor, LogsCustomPipelineProcessorPipelineProcessorStringBuilderProcessorArgs
- Target string
- The name of the attribute that contains the result of the template.
- Template string
- The formula with one or more attributes and raw text.
- Is
Enabled bool - If the processor is enabled or not.
- Is
Replace boolMissing - If it replaces all missing attributes of template by an empty string.
- Name string
- The name of the processor.
- Target string
- The name of the attribute that contains the result of the template.
- Template string
- The formula with one or more attributes and raw text.
- Is
Enabled bool - If the processor is enabled or not.
- Is
Replace boolMissing - If it replaces all missing attributes of template by an empty string.
- Name string
- The name of the processor.
- target String
- The name of the attribute that contains the result of the template.
- template String
- The formula with one or more attributes and raw text.
- is
Enabled Boolean - If the processor is enabled or not.
- is
Replace BooleanMissing - If it replaces all missing attributes of template by an empty string.
- name String
- The name of the processor.
- target string
- The name of the attribute that contains the result of the template.
- template string
- The formula with one or more attributes and raw text.
- is
Enabled boolean - If the processor is enabled or not.
- is
Replace booleanMissing - If it replaces all missing attributes of template by an empty string.
- name string
- The name of the processor.
- target str
- The name of the attribute that contains the result of the template.
- template str
- The formula with one or more attributes and raw text.
- is_
enabled bool - If the processor is enabled or not.
- is_
replace_ boolmissing - If it replaces all missing attributes of template by an empty string.
- name str
- The name of the processor.
- target String
- The name of the attribute that contains the result of the template.
- template String
- The formula with one or more attributes and raw text.
- is
Enabled Boolean - If the processor is enabled or not.
- is
Replace BooleanMissing - If it replaces all missing attributes of template by an empty string.
- name String
- The name of the processor.
LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapper, LogsCustomPipelineProcessorPipelineProcessorTraceIdRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorPipelineProcessorUrlParser, LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs
- Sources List<string>
- List of source attributes.
- Target string
- Name of the parent attribute that contains all the extracted details from the sources.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Normalize
Ending boolSlashes - Normalize the ending slashes or not.
- Sources []string
- List of source attributes.
- Target string
- Name of the parent attribute that contains all the extracted details from the sources.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Normalize
Ending boolSlashes - Normalize the ending slashes or not.
- sources List<String>
- List of source attributes.
- target String
- Name of the parent attribute that contains all the extracted details from the sources.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- normalize
Ending BooleanSlashes - Normalize the ending slashes or not.
- sources string[]
- List of source attributes.
- target string
- Name of the parent attribute that contains all the extracted details from the sources.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- normalize
Ending booleanSlashes - Normalize the ending slashes or not.
- sources Sequence[str]
- List of source attributes.
- target str
- Name of the parent attribute that contains all the extracted details from the sources.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- normalize_
ending_ boolslashes - Normalize the ending slashes or not.
- sources List<String>
- List of source attributes.
- target String
- Name of the parent attribute that contains all the extracted details from the sources.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- normalize
Ending BooleanSlashes - Normalize the ending slashes or not.
LogsCustomPipelineProcessorPipelineProcessorUserAgentParser, LogsCustomPipelineProcessorPipelineProcessorUserAgentParserArgs
- sources Sequence[str]
- List of source attributes.
- target str
- Name of the parent attribute that contains all the extracted details from the sources.
- is_
enabled bool - If the processor is enabled or not.
- is_
encoded bool - If the source attribute is URL encoded or not.
- name str
- Name of the processor
LogsCustomPipelineProcessorReferenceTableLookupProcessor, LogsCustomPipelineProcessorReferenceTableLookupProcessorArgs
- Lookup
Enrichment stringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- Source string
- Name of the source attribute used to do the lookup.
- Target string
- Name of the attribute that contains the result of the lookup.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Lookup
Enrichment stringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- Source string
- Name of the source attribute used to do the lookup.
- Target string
- Name of the attribute that contains the result of the lookup.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- lookup
Enrichment StringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- source String
- Name of the source attribute used to do the lookup.
- target String
- Name of the attribute that contains the result of the lookup.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- lookup
Enrichment stringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- source string
- Name of the source attribute used to do the lookup.
- target string
- Name of the attribute that contains the result of the lookup.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- lookup_
enrichment_ strtable - Name of the Reference Table for the source attribute and their associated target attribute values.
- source str
- Name of the source attribute used to do the lookup.
- target str
- Name of the attribute that contains the result of the lookup.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- lookup
Enrichment StringTable - Name of the Reference Table for the source attribute and their associated target attribute values.
- source String
- Name of the source attribute used to do the lookup.
- target String
- Name of the attribute that contains the result of the lookup.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
LogsCustomPipelineProcessorServiceRemapper, LogsCustomPipelineProcessorServiceRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorStatusRemapper, LogsCustomPipelineProcessorStatusRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorStringBuilderProcessor, LogsCustomPipelineProcessorStringBuilderProcessorArgs
- Target string
- The name of the attribute that contains the result of the template.
- Template string
- The formula with one or more attributes and raw text.
- Is
Enabled bool - If the processor is enabled or not.
- Is
Replace boolMissing - If it replaces all missing attributes of template by an empty string.
- Name string
- The name of the processor.
- Target string
- The name of the attribute that contains the result of the template.
- Template string
- The formula with one or more attributes and raw text.
- Is
Enabled bool - If the processor is enabled or not.
- Is
Replace boolMissing - If it replaces all missing attributes of template by an empty string.
- Name string
- The name of the processor.
- target String
- The name of the attribute that contains the result of the template.
- template String
- The formula with one or more attributes and raw text.
- is
Enabled Boolean - If the processor is enabled or not.
- is
Replace BooleanMissing - If it replaces all missing attributes of template by an empty string.
- name String
- The name of the processor.
- target string
- The name of the attribute that contains the result of the template.
- template string
- The formula with one or more attributes and raw text.
- is
Enabled boolean - If the processor is enabled or not.
- is
Replace booleanMissing - If it replaces all missing attributes of template by an empty string.
- name string
- The name of the processor.
- target str
- The name of the attribute that contains the result of the template.
- template str
- The formula with one or more attributes and raw text.
- is_
enabled bool - If the processor is enabled or not.
- is_
replace_ boolmissing - If it replaces all missing attributes of template by an empty string.
- name str
- The name of the processor.
- target String
- The name of the attribute that contains the result of the template.
- template String
- The formula with one or more attributes and raw text.
- is
Enabled Boolean - If the processor is enabled or not.
- is
Replace BooleanMissing - If it replaces all missing attributes of template by an empty string.
- name String
- The name of the processor.
LogsCustomPipelineProcessorTraceIdRemapper, LogsCustomPipelineProcessorTraceIdRemapperArgs
- sources Sequence[str]
- List of source attributes.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor.
LogsCustomPipelineProcessorUrlParser, LogsCustomPipelineProcessorUrlParserArgs
- Sources List<string>
- List of source attributes.
- Target string
- Name of the parent attribute that contains all the extracted details from the sources.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Normalize
Ending boolSlashes - Normalize the ending slashes or not.
- Sources []string
- List of source attributes.
- Target string
- Name of the parent attribute that contains all the extracted details from the sources.
- Is
Enabled bool - If the processor is enabled or not.
- Name string
- Name of the processor
- Normalize
Ending boolSlashes - Normalize the ending slashes or not.
- sources List<String>
- List of source attributes.
- target String
- Name of the parent attribute that contains all the extracted details from the sources.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- normalize
Ending BooleanSlashes - Normalize the ending slashes or not.
- sources string[]
- List of source attributes.
- target string
- Name of the parent attribute that contains all the extracted details from the sources.
- is
Enabled boolean - If the processor is enabled or not.
- name string
- Name of the processor
- normalize
Ending booleanSlashes - Normalize the ending slashes or not.
- sources Sequence[str]
- List of source attributes.
- target str
- Name of the parent attribute that contains all the extracted details from the sources.
- is_
enabled bool - If the processor is enabled or not.
- name str
- Name of the processor
- normalize_
ending_ boolslashes - Normalize the ending slashes or not.
- sources List<String>
- List of source attributes.
- target String
- Name of the parent attribute that contains all the extracted details from the sources.
- is
Enabled Boolean - If the processor is enabled or not.
- name String
- Name of the processor
- normalize
Ending BooleanSlashes - Normalize the ending slashes or not.
LogsCustomPipelineProcessorUserAgentParser, LogsCustomPipelineProcessorUserAgentParserArgs
- sources Sequence[str]
- List of source attributes.
- target str
- Name of the parent attribute that contains all the extracted details from the sources.
- is_
enabled bool - If the processor is enabled or not.
- is_
encoded bool - If the source attribute is URL encoded or not.
- name str
- Name of the processor
Import
To find the pipeline ID, click the “edit” button in the UI to open the pipeline details.
The pipeline ID is the last part of the URL.
$ pulumi import datadog:index/logsCustomPipeline:LogsCustomPipeline name> <pipelineID>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.