dynatrace.LogProcessing
Explore with Pulumi AI
Create LogProcessing Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogProcessing(name: string, args: LogProcessingArgs, opts?: CustomResourceOptions);
@overload
def LogProcessing(resource_name: str,
args: LogProcessingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogProcessing(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
processor_definition: Optional[LogProcessingProcessorDefinitionArgs] = None,
query: Optional[str] = None,
rule_name: Optional[str] = None,
rule_testing: Optional[LogProcessingRuleTestingArgs] = None)
func NewLogProcessing(ctx *Context, name string, args LogProcessingArgs, opts ...ResourceOption) (*LogProcessing, error)
public LogProcessing(string name, LogProcessingArgs args, CustomResourceOptions? opts = null)
public LogProcessing(String name, LogProcessingArgs args)
public LogProcessing(String name, LogProcessingArgs args, CustomResourceOptions options)
type: dynatrace:LogProcessing
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 LogProcessingArgs
- 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 LogProcessingArgs
- 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 LogProcessingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogProcessingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogProcessingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
var logProcessingResource = new Dynatrace.LogProcessing("logProcessingResource", new()
{
Enabled = false,
ProcessorDefinition = new Dynatrace.Inputs.LogProcessingProcessorDefinitionArgs
{
Rule = "string",
},
Query = "string",
RuleName = "string",
RuleTesting = new Dynatrace.Inputs.LogProcessingRuleTestingArgs
{
SampleLog = "string",
},
});
example, err := dynatrace.NewLogProcessing(ctx, "logProcessingResource", &dynatrace.LogProcessingArgs{
Enabled: pulumi.Bool(false),
ProcessorDefinition: &dynatrace.LogProcessingProcessorDefinitionArgs{
Rule: pulumi.String("string"),
},
Query: pulumi.String("string"),
RuleName: pulumi.String("string"),
RuleTesting: &dynatrace.LogProcessingRuleTestingArgs{
SampleLog: pulumi.String("string"),
},
})
var logProcessingResource = new LogProcessing("logProcessingResource", LogProcessingArgs.builder()
.enabled(false)
.processorDefinition(LogProcessingProcessorDefinitionArgs.builder()
.rule("string")
.build())
.query("string")
.ruleName("string")
.ruleTesting(LogProcessingRuleTestingArgs.builder()
.sampleLog("string")
.build())
.build());
log_processing_resource = dynatrace.LogProcessing("logProcessingResource",
enabled=False,
processor_definition=dynatrace.LogProcessingProcessorDefinitionArgs(
rule="string",
),
query="string",
rule_name="string",
rule_testing=dynatrace.LogProcessingRuleTestingArgs(
sample_log="string",
))
const logProcessingResource = new dynatrace.LogProcessing("logProcessingResource", {
enabled: false,
processorDefinition: {
rule: "string",
},
query: "string",
ruleName: "string",
ruleTesting: {
sampleLog: "string",
},
});
type: dynatrace:LogProcessing
properties:
enabled: false
processorDefinition:
rule: string
query: string
ruleName: string
ruleTesting:
sampleLog: string
LogProcessing 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 LogProcessing resource accepts the following input properties:
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Processor
Definition Lbrlabs.Pulumi Package. Dynatrace. Inputs. Log Processing Processor Definition Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- Query string
- Matcher
- Rule
Name string - Rule name
- Rule
Testing Lbrlabs.Pulumi Package. Dynatrace. Inputs. Log Processing Rule Testing Rule testing ### 1. Paste a log / JSON sample
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Processor
Definition LogProcessing Processor Definition Args Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- Query string
- Matcher
- Rule
Name string - Rule name
- Rule
Testing LogProcessing Rule Testing Args Rule testing ### 1. Paste a log / JSON sample
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - processor
Definition LogProcessing Processor Definition Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- query String
- Matcher
- rule
Name String - Rule name
- rule
Testing LogProcessing Rule Testing Rule testing ### 1. Paste a log / JSON sample
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - processor
Definition LogProcessing Processor Definition Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- query string
- Matcher
- rule
Name string - Rule name
- rule
Testing LogProcessing Rule Testing Rule testing ### 1. Paste a log / JSON sample
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - processor_
definition LogProcessing Processor Definition Args Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- query str
- Matcher
- rule_
name str - Rule name
- rule_
testing LogProcessing Rule Testing Args Rule testing ### 1. Paste a log / JSON sample
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - processor
Definition Property Map Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- query String
- Matcher
- rule
Name String - Rule name
- rule
Testing Property Map Rule testing ### 1. Paste a log / JSON sample
Outputs
All input properties are implicitly available as output properties. Additionally, the LogProcessing 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 LogProcessing Resource
Get an existing LogProcessing 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?: LogProcessingState, opts?: CustomResourceOptions): LogProcessing
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
processor_definition: Optional[LogProcessingProcessorDefinitionArgs] = None,
query: Optional[str] = None,
rule_name: Optional[str] = None,
rule_testing: Optional[LogProcessingRuleTestingArgs] = None) -> LogProcessing
func GetLogProcessing(ctx *Context, name string, id IDInput, state *LogProcessingState, opts ...ResourceOption) (*LogProcessing, error)
public static LogProcessing Get(string name, Input<string> id, LogProcessingState? state, CustomResourceOptions? opts = null)
public static LogProcessing get(String name, Output<String> id, LogProcessingState 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.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Processor
Definition Lbrlabs.Pulumi Package. Dynatrace. Inputs. Log Processing Processor Definition Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- Query string
- Matcher
- Rule
Name string - Rule name
- Rule
Testing Lbrlabs.Pulumi Package. Dynatrace. Inputs. Log Processing Rule Testing Rule testing ### 1. Paste a log / JSON sample
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Processor
Definition LogProcessing Processor Definition Args Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- Query string
- Matcher
- Rule
Name string - Rule name
- Rule
Testing LogProcessing Rule Testing Args Rule testing ### 1. Paste a log / JSON sample
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - processor
Definition LogProcessing Processor Definition Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- query String
- Matcher
- rule
Name String - Rule name
- rule
Testing LogProcessing Rule Testing Rule testing ### 1. Paste a log / JSON sample
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - processor
Definition LogProcessing Processor Definition Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- query string
- Matcher
- rule
Name string - Rule name
- rule
Testing LogProcessing Rule Testing Rule testing ### 1. Paste a log / JSON sample
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - processor_
definition LogProcessing Processor Definition Args Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- query str
- Matcher
- rule_
name str - Rule name
- rule_
testing LogProcessing Rule Testing Args Rule testing ### 1. Paste a log / JSON sample
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - processor
Definition Property Map Processor definition Add a rule definition using our syntax. In our documentation you
will find instructions and application examples.
- query String
- Matcher
- rule
Name String - Rule name
- rule
Testing Property Map Rule testing ### 1. Paste a log / JSON sample
Supporting Types
LogProcessingProcessorDefinition, LogProcessingProcessorDefinitionArgs
- Rule string
- Rule string
- rule String
- rule string
- rule str
- rule String
LogProcessingRuleTesting, LogProcessingRuleTestingArgs
- Sample
Log string
- Sample
Log string
- sample
Log String
- sample
Log string
- sample_
log str
- sample
Log String
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.