published on Thursday, Jun 11, 2026 by Pulumi
published on Thursday, Jun 11, 2026 by Pulumi
Use this resource to create and manage an additional partition under an existing newrelic.FederatedLogsSetup.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as newrelic from "@pulumi/newrelic";
const foo = new newrelic.FederatedLogsPartition("foo", {
setupId: setup.id,
name: "test-partition-logs",
description: "test partition for logs",
storage: {
table: "my_app_partition_logs",
dataLocationUri: "s3://my-app-fed-logs/my_app_partition_logs",
},
dataRetentionPolicy: {
duration: 365,
unit: "DAYS",
},
forwarderConfiguration: {
type: "PIPELINE_CONTROL",
pipelineControl: {
partitionRule: {
expression: "attributes[\"log.type\"] == \"partition\"",
},
},
},
});
import pulumi
import pulumi_newrelic as newrelic
foo = newrelic.FederatedLogsPartition("foo",
setup_id=setup["id"],
name="test-partition-logs",
description="test partition for logs",
storage={
"table": "my_app_partition_logs",
"data_location_uri": "s3://my-app-fed-logs/my_app_partition_logs",
},
data_retention_policy={
"duration": 365,
"unit": "DAYS",
},
forwarder_configuration={
"type": "PIPELINE_CONTROL",
"pipeline_control": {
"partition_rule": {
"expression": "attributes[\"log.type\"] == \"partition\"",
},
},
})
package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := newrelic.NewFederatedLogsPartition(ctx, "foo", &newrelic.FederatedLogsPartitionArgs{
SetupId: pulumi.Any(setup.Id),
Name: pulumi.String("test-partition-logs"),
Description: pulumi.String("test partition for logs"),
Storage: &newrelic.FederatedLogsPartitionStorageArgs{
Table: pulumi.String("my_app_partition_logs"),
DataLocationUri: pulumi.String("s3://my-app-fed-logs/my_app_partition_logs"),
},
DataRetentionPolicy: &newrelic.FederatedLogsPartitionDataRetentionPolicyArgs{
Duration: pulumi.Int(365),
Unit: pulumi.String("DAYS"),
},
ForwarderConfiguration: &newrelic.FederatedLogsPartitionForwarderConfigurationArgs{
Type: pulumi.String("PIPELINE_CONTROL"),
PipelineControl: &newrelic.FederatedLogsPartitionForwarderConfigurationPipelineControlArgs{
PartitionRule: &newrelic.FederatedLogsPartitionForwarderConfigurationPipelineControlPartitionRuleArgs{
Expression: pulumi.String("attributes[\"log.type\"] == \"partition\""),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using NewRelic = Pulumi.NewRelic;
return await Deployment.RunAsync(() =>
{
var foo = new NewRelic.FederatedLogsPartition("foo", new()
{
SetupId = setup.Id,
Name = "test-partition-logs",
Description = "test partition for logs",
Storage = new NewRelic.Inputs.FederatedLogsPartitionStorageArgs
{
Table = "my_app_partition_logs",
DataLocationUri = "s3://my-app-fed-logs/my_app_partition_logs",
},
DataRetentionPolicy = new NewRelic.Inputs.FederatedLogsPartitionDataRetentionPolicyArgs
{
Duration = 365,
Unit = "DAYS",
},
ForwarderConfiguration = new NewRelic.Inputs.FederatedLogsPartitionForwarderConfigurationArgs
{
Type = "PIPELINE_CONTROL",
PipelineControl = new NewRelic.Inputs.FederatedLogsPartitionForwarderConfigurationPipelineControlArgs
{
PartitionRule = new NewRelic.Inputs.FederatedLogsPartitionForwarderConfigurationPipelineControlPartitionRuleArgs
{
Expression = "attributes[\"log.type\"] == \"partition\"",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.newrelic.FederatedLogsPartition;
import com.pulumi.newrelic.FederatedLogsPartitionArgs;
import com.pulumi.newrelic.inputs.FederatedLogsPartitionStorageArgs;
import com.pulumi.newrelic.inputs.FederatedLogsPartitionDataRetentionPolicyArgs;
import com.pulumi.newrelic.inputs.FederatedLogsPartitionForwarderConfigurationArgs;
import com.pulumi.newrelic.inputs.FederatedLogsPartitionForwarderConfigurationPipelineControlArgs;
import com.pulumi.newrelic.inputs.FederatedLogsPartitionForwarderConfigurationPipelineControlPartitionRuleArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 foo = new FederatedLogsPartition("foo", FederatedLogsPartitionArgs.builder()
.setupId(setup.id())
.name("test-partition-logs")
.description("test partition for logs")
.storage(FederatedLogsPartitionStorageArgs.builder()
.table("my_app_partition_logs")
.dataLocationUri("s3://my-app-fed-logs/my_app_partition_logs")
.build())
.dataRetentionPolicy(FederatedLogsPartitionDataRetentionPolicyArgs.builder()
.duration(365)
.unit("DAYS")
.build())
.forwarderConfiguration(FederatedLogsPartitionForwarderConfigurationArgs.builder()
.type("PIPELINE_CONTROL")
.pipelineControl(FederatedLogsPartitionForwarderConfigurationPipelineControlArgs.builder()
.partitionRule(FederatedLogsPartitionForwarderConfigurationPipelineControlPartitionRuleArgs.builder()
.expression("attributes[\"log.type\"] == \"partition\"")
.build())
.build())
.build())
.build());
}
}
resources:
foo:
type: newrelic:FederatedLogsPartition
properties:
setupId: ${setup.id}
name: test-partition-logs
description: test partition for logs
storage:
table: my_app_partition_logs
dataLocationUri: s3://my-app-fed-logs/my_app_partition_logs
dataRetentionPolicy:
duration: 365
unit: DAYS
forwarderConfiguration:
type: PIPELINE_CONTROL
pipelineControl:
partitionRule:
expression: attributes["log.type"] == "partition"
pulumi {
required_providers {
newrelic = {
source = "pulumi/newrelic"
}
}
}
resource "newrelic_federatedlogspartition" "foo" {
setup_id = setup.id
name = "test-partition-logs"
description = "test partition for logs"
storage = {
table = "my_app_partition_logs"
data_location_uri = "s3://my-app-fed-logs/my_app_partition_logs"
}
data_retention_policy = {
duration = 365
unit = "DAYS"
}
forwarder_configuration = {
type = "PIPELINE_CONTROL"
pipeline_control = {
partition_rule = {
expression = "attributes[\"log.type\"] == \"partition\""
}
}
}
}
Create FederatedLogsPartition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FederatedLogsPartition(name: string, args: FederatedLogsPartitionArgs, opts?: CustomResourceOptions);@overload
def FederatedLogsPartition(resource_name: str,
args: FederatedLogsPartitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FederatedLogsPartition(resource_name: str,
opts: Optional[ResourceOptions] = None,
setup_id: Optional[str] = None,
storage: Optional[FederatedLogsPartitionStorageArgs] = None,
account_id: Optional[str] = None,
active: Optional[bool] = None,
data_retention_policy: Optional[FederatedLogsPartitionDataRetentionPolicyArgs] = None,
description: Optional[str] = None,
forwarder_configuration: Optional[FederatedLogsPartitionForwarderConfigurationArgs] = None,
name: Optional[str] = None)func NewFederatedLogsPartition(ctx *Context, name string, args FederatedLogsPartitionArgs, opts ...ResourceOption) (*FederatedLogsPartition, error)public FederatedLogsPartition(string name, FederatedLogsPartitionArgs args, CustomResourceOptions? opts = null)
public FederatedLogsPartition(String name, FederatedLogsPartitionArgs args)
public FederatedLogsPartition(String name, FederatedLogsPartitionArgs args, CustomResourceOptions options)
type: newrelic:FederatedLogsPartition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "newrelic_federatedlogspartition" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FederatedLogsPartitionArgs
- 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 FederatedLogsPartitionArgs
- 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 FederatedLogsPartitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FederatedLogsPartitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FederatedLogsPartitionArgs
- 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 federatedLogsPartitionResource = new NewRelic.FederatedLogsPartition("federatedLogsPartitionResource", new()
{
SetupId = "string",
Storage = new NewRelic.Inputs.FederatedLogsPartitionStorageArgs
{
DataLocationUri = "string",
Table = "string",
},
AccountId = "string",
Active = false,
DataRetentionPolicy = new NewRelic.Inputs.FederatedLogsPartitionDataRetentionPolicyArgs
{
Duration = 0,
Unit = "string",
},
Description = "string",
ForwarderConfiguration = new NewRelic.Inputs.FederatedLogsPartitionForwarderConfigurationArgs
{
Type = "string",
PipelineControl = new NewRelic.Inputs.FederatedLogsPartitionForwarderConfigurationPipelineControlArgs
{
PartitionRule = new NewRelic.Inputs.FederatedLogsPartitionForwarderConfigurationPipelineControlPartitionRuleArgs
{
Expression = "string",
},
},
},
Name = "string",
});
example, err := newrelic.NewFederatedLogsPartition(ctx, "federatedLogsPartitionResource", &newrelic.FederatedLogsPartitionArgs{
SetupId: pulumi.String("string"),
Storage: &newrelic.FederatedLogsPartitionStorageArgs{
DataLocationUri: pulumi.String("string"),
Table: pulumi.String("string"),
},
AccountId: pulumi.String("string"),
Active: pulumi.Bool(false),
DataRetentionPolicy: &newrelic.FederatedLogsPartitionDataRetentionPolicyArgs{
Duration: pulumi.Int(0),
Unit: pulumi.String("string"),
},
Description: pulumi.String("string"),
ForwarderConfiguration: &newrelic.FederatedLogsPartitionForwarderConfigurationArgs{
Type: pulumi.String("string"),
PipelineControl: &newrelic.FederatedLogsPartitionForwarderConfigurationPipelineControlArgs{
PartitionRule: &newrelic.FederatedLogsPartitionForwarderConfigurationPipelineControlPartitionRuleArgs{
Expression: pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
})
resource "newrelic_federatedlogspartition" "federatedLogsPartitionResource" {
setup_id = "string"
storage = {
data_location_uri = "string"
table = "string"
}
account_id = "string"
active = false
data_retention_policy = {
duration = 0
unit = "string"
}
description = "string"
forwarder_configuration = {
type = "string"
pipeline_control = {
partition_rule = {
expression = "string"
}
}
}
name = "string"
}
var federatedLogsPartitionResource = new FederatedLogsPartition("federatedLogsPartitionResource", FederatedLogsPartitionArgs.builder()
.setupId("string")
.storage(FederatedLogsPartitionStorageArgs.builder()
.dataLocationUri("string")
.table("string")
.build())
.accountId("string")
.active(false)
.dataRetentionPolicy(FederatedLogsPartitionDataRetentionPolicyArgs.builder()
.duration(0)
.unit("string")
.build())
.description("string")
.forwarderConfiguration(FederatedLogsPartitionForwarderConfigurationArgs.builder()
.type("string")
.pipelineControl(FederatedLogsPartitionForwarderConfigurationPipelineControlArgs.builder()
.partitionRule(FederatedLogsPartitionForwarderConfigurationPipelineControlPartitionRuleArgs.builder()
.expression("string")
.build())
.build())
.build())
.name("string")
.build());
federated_logs_partition_resource = newrelic.FederatedLogsPartition("federatedLogsPartitionResource",
setup_id="string",
storage={
"data_location_uri": "string",
"table": "string",
},
account_id="string",
active=False,
data_retention_policy={
"duration": 0,
"unit": "string",
},
description="string",
forwarder_configuration={
"type": "string",
"pipeline_control": {
"partition_rule": {
"expression": "string",
},
},
},
name="string")
const federatedLogsPartitionResource = new newrelic.FederatedLogsPartition("federatedLogsPartitionResource", {
setupId: "string",
storage: {
dataLocationUri: "string",
table: "string",
},
accountId: "string",
active: false,
dataRetentionPolicy: {
duration: 0,
unit: "string",
},
description: "string",
forwarderConfiguration: {
type: "string",
pipelineControl: {
partitionRule: {
expression: "string",
},
},
},
name: "string",
});
type: newrelic:FederatedLogsPartition
properties:
accountId: string
active: false
dataRetentionPolicy:
duration: 0
unit: string
description: string
forwarderConfiguration:
pipelineControl:
partitionRule:
expression: string
type: string
name: string
setupId: string
storage:
dataLocationUri: string
table: string
FederatedLogsPartition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FederatedLogsPartition resource accepts the following input properties:
- Setup
Id string - Entity GUID of the setup.
- Storage
Pulumi.
New Relic. Inputs. Federated Logs Partition Storage - Storage details for this partition. See Nested storage block below.
- Account
Id string - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- Active bool
- Whether the partition is active.
- Data
Retention Pulumi.Policy New Relic. Inputs. Federated Logs Partition Data Retention Policy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- Description string
- A description for partition.
- Forwarder
Configuration Pulumi.New Relic. Inputs. Federated Logs Partition Forwarder Configuration - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- Name string
- The name of the partition.
- Setup
Id string - Entity GUID of the setup.
- Storage
Federated
Logs Partition Storage Args - Storage details for this partition. See Nested storage block below.
- Account
Id string - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- Active bool
- Whether the partition is active.
- Data
Retention FederatedPolicy Logs Partition Data Retention Policy Args - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- Description string
- A description for partition.
- Forwarder
Configuration FederatedLogs Partition Forwarder Configuration Args - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- Name string
- The name of the partition.
- setup_
id string - Entity GUID of the setup.
- storage object
- Storage details for this partition. See Nested storage block below.
- account_
id string - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active bool
- Whether the partition is active.
- data_
retention_ objectpolicy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description string
- A description for partition.
- forwarder_
configuration object - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- name string
- The name of the partition.
- setup
Id String - Entity GUID of the setup.
- storage
Federated
Logs Partition Storage - Storage details for this partition. See Nested storage block below.
- account
Id String - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active Boolean
- Whether the partition is active.
- data
Retention FederatedPolicy Logs Partition Data Retention Policy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description String
- A description for partition.
- forwarder
Configuration FederatedLogs Partition Forwarder Configuration - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- name String
- The name of the partition.
- setup
Id string - Entity GUID of the setup.
- storage
Federated
Logs Partition Storage - Storage details for this partition. See Nested storage block below.
- account
Id string - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active boolean
- Whether the partition is active.
- data
Retention FederatedPolicy Logs Partition Data Retention Policy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description string
- A description for partition.
- forwarder
Configuration FederatedLogs Partition Forwarder Configuration - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- name string
- The name of the partition.
- setup_
id str - Entity GUID of the setup.
- storage
Federated
Logs Partition Storage Args - Storage details for this partition. See Nested storage block below.
- account_
id str - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active bool
- Whether the partition is active.
- data_
retention_ Federatedpolicy Logs Partition Data Retention Policy Args - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description str
- A description for partition.
- forwarder_
configuration FederatedLogs Partition Forwarder Configuration Args - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- name str
- The name of the partition.
- setup
Id String - Entity GUID of the setup.
- storage Property Map
- Storage details for this partition. See Nested storage block below.
- account
Id String - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active Boolean
- Whether the partition is active.
- data
Retention Property MapPolicy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description String
- A description for partition.
- forwarder
Configuration Property Map - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- name String
- The name of the partition.
Outputs
All input properties are implicitly available as output properties. Additionally, the FederatedLogsPartition resource produces the following output properties:
- Created
At string - Creation timestamp.
- Health
Checks List<Pulumi.New Relic. Outputs. Federated Logs Partition Health Check> - Aggregate health check status for the partition.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Default bool - Whether this is the default partition for the parent setup.
- Lifecycle
Statuses List<Pulumi.New Relic. Outputs. Federated Logs Partition Lifecycle Status> - Current lifecycle status of the partition.
- Updated
At string - Last-updated timestamp.
- Created
At string - Creation timestamp.
- Health
Checks []FederatedLogs Partition Health Check - Aggregate health check status for the partition.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Default bool - Whether this is the default partition for the parent setup.
- Lifecycle
Statuses []FederatedLogs Partition Lifecycle Status - Current lifecycle status of the partition.
- Updated
At string - Last-updated timestamp.
- created_
at string - Creation timestamp.
- health_
checks list(object) - Aggregate health check status for the partition.
- id string
- The provider-assigned unique ID for this managed resource.
- is_
default bool - Whether this is the default partition for the parent setup.
- lifecycle_
statuses list(object) - Current lifecycle status of the partition.
- updated_
at string - Last-updated timestamp.
- created
At String - Creation timestamp.
- health
Checks List<FederatedLogs Partition Health Check> - Aggregate health check status for the partition.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Default Boolean - Whether this is the default partition for the parent setup.
- lifecycle
Statuses List<FederatedLogs Partition Lifecycle Status> - Current lifecycle status of the partition.
- updated
At String - Last-updated timestamp.
- created
At string - Creation timestamp.
- health
Checks FederatedLogs Partition Health Check[] - Aggregate health check status for the partition.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Default boolean - Whether this is the default partition for the parent setup.
- lifecycle
Statuses FederatedLogs Partition Lifecycle Status[] - Current lifecycle status of the partition.
- updated
At string - Last-updated timestamp.
- created_
at str - Creation timestamp.
- health_
checks Sequence[FederatedLogs Partition Health Check] - Aggregate health check status for the partition.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
default bool - Whether this is the default partition for the parent setup.
- lifecycle_
statuses Sequence[FederatedLogs Partition Lifecycle Status] - Current lifecycle status of the partition.
- updated_
at str - Last-updated timestamp.
- created
At String - Creation timestamp.
- health
Checks List<Property Map> - Aggregate health check status for the partition.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Default Boolean - Whether this is the default partition for the parent setup.
- lifecycle
Statuses List<Property Map> - Current lifecycle status of the partition.
- updated
At String - Last-updated timestamp.
Look up Existing FederatedLogsPartition Resource
Get an existing FederatedLogsPartition 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?: FederatedLogsPartitionState, opts?: CustomResourceOptions): FederatedLogsPartition@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
active: Optional[bool] = None,
created_at: Optional[str] = None,
data_retention_policy: Optional[FederatedLogsPartitionDataRetentionPolicyArgs] = None,
description: Optional[str] = None,
forwarder_configuration: Optional[FederatedLogsPartitionForwarderConfigurationArgs] = None,
health_checks: Optional[Sequence[FederatedLogsPartitionHealthCheckArgs]] = None,
is_default: Optional[bool] = None,
lifecycle_statuses: Optional[Sequence[FederatedLogsPartitionLifecycleStatusArgs]] = None,
name: Optional[str] = None,
setup_id: Optional[str] = None,
storage: Optional[FederatedLogsPartitionStorageArgs] = None,
updated_at: Optional[str] = None) -> FederatedLogsPartitionfunc GetFederatedLogsPartition(ctx *Context, name string, id IDInput, state *FederatedLogsPartitionState, opts ...ResourceOption) (*FederatedLogsPartition, error)public static FederatedLogsPartition Get(string name, Input<string> id, FederatedLogsPartitionState? state, CustomResourceOptions? opts = null)public static FederatedLogsPartition get(String name, Output<String> id, FederatedLogsPartitionState state, CustomResourceOptions options)resources: _: type: newrelic:FederatedLogsPartition get: id: ${id}import {
to = newrelic_federatedlogspartition.example
id = "${id}"
}
- 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.
- Account
Id string - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- Active bool
- Whether the partition is active.
- Created
At string - Creation timestamp.
- Data
Retention Pulumi.Policy New Relic. Inputs. Federated Logs Partition Data Retention Policy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- Description string
- A description for partition.
- Forwarder
Configuration Pulumi.New Relic. Inputs. Federated Logs Partition Forwarder Configuration - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- Health
Checks List<Pulumi.New Relic. Inputs. Federated Logs Partition Health Check> - Aggregate health check status for the partition.
- Is
Default bool - Whether this is the default partition for the parent setup.
- Lifecycle
Statuses List<Pulumi.New Relic. Inputs. Federated Logs Partition Lifecycle Status> - Current lifecycle status of the partition.
- Name string
- The name of the partition.
- Setup
Id string - Entity GUID of the setup.
- Storage
Pulumi.
New Relic. Inputs. Federated Logs Partition Storage - Storage details for this partition. See Nested storage block below.
- Updated
At string - Last-updated timestamp.
- Account
Id string - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- Active bool
- Whether the partition is active.
- Created
At string - Creation timestamp.
- Data
Retention FederatedPolicy Logs Partition Data Retention Policy Args - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- Description string
- A description for partition.
- Forwarder
Configuration FederatedLogs Partition Forwarder Configuration Args - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- Health
Checks []FederatedLogs Partition Health Check Args - Aggregate health check status for the partition.
- Is
Default bool - Whether this is the default partition for the parent setup.
- Lifecycle
Statuses []FederatedLogs Partition Lifecycle Status Args - Current lifecycle status of the partition.
- Name string
- The name of the partition.
- Setup
Id string - Entity GUID of the setup.
- Storage
Federated
Logs Partition Storage Args - Storage details for this partition. See Nested storage block below.
- Updated
At string - Last-updated timestamp.
- account_
id string - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active bool
- Whether the partition is active.
- created_
at string - Creation timestamp.
- data_
retention_ objectpolicy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description string
- A description for partition.
- forwarder_
configuration object - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- health_
checks list(object) - Aggregate health check status for the partition.
- is_
default bool - Whether this is the default partition for the parent setup.
- lifecycle_
statuses list(object) - Current lifecycle status of the partition.
- name string
- The name of the partition.
- setup_
id string - Entity GUID of the setup.
- storage object
- Storage details for this partition. See Nested storage block below.
- updated_
at string - Last-updated timestamp.
- account
Id String - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active Boolean
- Whether the partition is active.
- created
At String - Creation timestamp.
- data
Retention FederatedPolicy Logs Partition Data Retention Policy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description String
- A description for partition.
- forwarder
Configuration FederatedLogs Partition Forwarder Configuration - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- health
Checks List<FederatedLogs Partition Health Check> - Aggregate health check status for the partition.
- is
Default Boolean - Whether this is the default partition for the parent setup.
- lifecycle
Statuses List<FederatedLogs Partition Lifecycle Status> - Current lifecycle status of the partition.
- name String
- The name of the partition.
- setup
Id String - Entity GUID of the setup.
- storage
Federated
Logs Partition Storage - Storage details for this partition. See Nested storage block below.
- updated
At String - Last-updated timestamp.
- account
Id string - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active boolean
- Whether the partition is active.
- created
At string - Creation timestamp.
- data
Retention FederatedPolicy Logs Partition Data Retention Policy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description string
- A description for partition.
- forwarder
Configuration FederatedLogs Partition Forwarder Configuration - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- health
Checks FederatedLogs Partition Health Check[] - Aggregate health check status for the partition.
- is
Default boolean - Whether this is the default partition for the parent setup.
- lifecycle
Statuses FederatedLogs Partition Lifecycle Status[] - Current lifecycle status of the partition.
- name string
- The name of the partition.
- setup
Id string - Entity GUID of the setup.
- storage
Federated
Logs Partition Storage - Storage details for this partition. See Nested storage block below.
- updated
At string - Last-updated timestamp.
- account_
id str - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active bool
- Whether the partition is active.
- created_
at str - Creation timestamp.
- data_
retention_ Federatedpolicy Logs Partition Data Retention Policy Args - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description str
- A description for partition.
- forwarder_
configuration FederatedLogs Partition Forwarder Configuration Args - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- health_
checks Sequence[FederatedLogs Partition Health Check Args] - Aggregate health check status for the partition.
- is_
default bool - Whether this is the default partition for the parent setup.
- lifecycle_
statuses Sequence[FederatedLogs Partition Lifecycle Status Args] - Current lifecycle status of the partition.
- name str
- The name of the partition.
- setup_
id str - Entity GUID of the setup.
- storage
Federated
Logs Partition Storage Args - Storage details for this partition. See Nested storage block below.
- updated_
at str - Last-updated timestamp.
- account
Id String - The New Relic account ID where the federated logs partition will live. Defaults to the provider's account_id. Changing this after creation is rejected by the API.
- active Boolean
- Whether the partition is active.
- created
At String - Creation timestamp.
- data
Retention Property MapPolicy - Retention policy for logs in this partition. See Nested dataRetentionPolicy block below.
- description String
- A description for partition.
- forwarder
Configuration Property Map - Forwarder configuration for routing specific logs to this partition. See Nested forwarderConfiguration block below.
- health
Checks List<Property Map> - Aggregate health check status for the partition.
- is
Default Boolean - Whether this is the default partition for the parent setup.
- lifecycle
Statuses List<Property Map> - Current lifecycle status of the partition.
- name String
- The name of the partition.
- setup
Id String - Entity GUID of the setup.
- storage Property Map
- Storage details for this partition. See Nested storage block below.
- updated
At String - Last-updated timestamp.
Supporting Types
FederatedLogsPartitionDataRetentionPolicy, FederatedLogsPartitionDataRetentionPolicyArgs
FederatedLogsPartitionForwarderConfiguration, FederatedLogsPartitionForwarderConfigurationArgs
- Type string
- Forwarder type. Must match the parent setup's forwarder type. Currently only
PIPELINE_CONTROLis supported. - Pipeline
Control Pulumi.New Relic. Inputs. Federated Logs Partition Forwarder Configuration Pipeline Control - Pipeline control configuration. See below.
- Type string
- Forwarder type. Must match the parent setup's forwarder type. Currently only
PIPELINE_CONTROLis supported. - Pipeline
Control FederatedLogs Partition Forwarder Configuration Pipeline Control - Pipeline control configuration. See below.
- type string
- Forwarder type. Must match the parent setup's forwarder type. Currently only
PIPELINE_CONTROLis supported. - pipeline_
control object - Pipeline control configuration. See below.
- type String
- Forwarder type. Must match the parent setup's forwarder type. Currently only
PIPELINE_CONTROLis supported. - pipeline
Control FederatedLogs Partition Forwarder Configuration Pipeline Control - Pipeline control configuration. See below.
- type string
- Forwarder type. Must match the parent setup's forwarder type. Currently only
PIPELINE_CONTROLis supported. - pipeline
Control FederatedLogs Partition Forwarder Configuration Pipeline Control - Pipeline control configuration. See below.
- type str
- Forwarder type. Must match the parent setup's forwarder type. Currently only
PIPELINE_CONTROLis supported. - pipeline_
control FederatedLogs Partition Forwarder Configuration Pipeline Control - Pipeline control configuration. See below.
- type String
- Forwarder type. Must match the parent setup's forwarder type. Currently only
PIPELINE_CONTROLis supported. - pipeline
Control Property Map - Pipeline control configuration. See below.
FederatedLogsPartitionForwarderConfigurationPipelineControl, FederatedLogsPartitionForwarderConfigurationPipelineControlArgs
- Partition
Rule Pulumi.New Relic. Inputs. Federated Logs Partition Forwarder Configuration Pipeline Control Partition Rule - Rule that determines which logs are routed to this partition. See below.
- Partition
Rule FederatedLogs Partition Forwarder Configuration Pipeline Control Partition Rule - Rule that determines which logs are routed to this partition. See below.
- partition_
rule object - Rule that determines which logs are routed to this partition. See below.
- partition
Rule FederatedLogs Partition Forwarder Configuration Pipeline Control Partition Rule - Rule that determines which logs are routed to this partition. See below.
- partition
Rule FederatedLogs Partition Forwarder Configuration Pipeline Control Partition Rule - Rule that determines which logs are routed to this partition. See below.
- partition_
rule FederatedLogs Partition Forwarder Configuration Pipeline Control Partition Rule - Rule that determines which logs are routed to this partition. See below.
- partition
Rule Property Map - Rule that determines which logs are routed to this partition. See below.
FederatedLogsPartitionForwarderConfigurationPipelineControlPartitionRule, FederatedLogsPartitionForwarderConfigurationPipelineControlPartitionRuleArgs
- Expression string
- OTTL expression for routing logs to this partition. Example:
attributes["log.type"] == "partition".
- Expression string
- OTTL expression for routing logs to this partition. Example:
attributes["log.type"] == "partition".
- expression string
- OTTL expression for routing logs to this partition. Example:
attributes["log.type"] == "partition".
- expression String
- OTTL expression for routing logs to this partition. Example:
attributes["log.type"] == "partition".
- expression string
- OTTL expression for routing logs to this partition. Example:
attributes["log.type"] == "partition".
- expression str
- OTTL expression for routing logs to this partition. Example:
attributes["log.type"] == "partition".
- expression String
- OTTL expression for routing logs to this partition. Example:
attributes["log.type"] == "partition".
FederatedLogsPartitionHealthCheck, FederatedLogsPartitionHealthCheckArgs
FederatedLogsPartitionHealthCheckEnd2endDataFlow, FederatedLogsPartitionHealthCheckEnd2endDataFlowArgs
- Last
Updated stringAt - Message string
- Status string
- Last
Updated stringAt - Message string
- Status string
- last_
updated_ stringat - message string
- status string
- last
Updated StringAt - message String
- status String
- last
Updated stringAt - message string
- status string
- last_
updated_ strat - message str
- status str
- last
Updated StringAt - message String
- status String
FederatedLogsPartitionHealthCheckQueryConnection, FederatedLogsPartitionHealthCheckQueryConnectionArgs
- Last
Updated stringAt - Message string
- Status string
- Last
Updated stringAt - Message string
- Status string
- last_
updated_ stringat - message string
- status string
- last
Updated StringAt - message String
- status String
- last
Updated stringAt - message string
- status string
- last_
updated_ strat - message str
- status str
- last
Updated StringAt - message String
- status String
FederatedLogsPartitionLifecycleStatus, FederatedLogsPartitionLifecycleStatusArgs
- Last
Updated stringAt - Message string
- Status string
- Last
Updated stringAt - Message string
- Status string
- last_
updated_ stringat - message string
- status string
- last
Updated StringAt - message String
- status String
- last
Updated stringAt - message string
- status string
- last_
updated_ strat - message str
- status str
- last
Updated StringAt - message String
- status String
FederatedLogsPartitionStorage, FederatedLogsPartitionStorageArgs
- Data
Location stringUri - S3 URI of the partition's data location.
- Table string
- Glue table name for the partition.
- Data
Location stringUri - S3 URI of the partition's data location.
- Table string
- Glue table name for the partition.
- data_
location_ stringuri - S3 URI of the partition's data location.
- table string
- Glue table name for the partition.
- data
Location StringUri - S3 URI of the partition's data location.
- table String
- Glue table name for the partition.
- data
Location stringUri - S3 URI of the partition's data location.
- table string
- Glue table name for the partition.
- data_
location_ struri - S3 URI of the partition's data location.
- table str
- Glue table name for the partition.
- data
Location StringUri - S3 URI of the partition's data location.
- table String
- Glue table name for the partition.
Import
Federated Logs partitions can be imported using the entity GUID:
$ pulumi import newrelic:index/federatedLogsPartition:FederatedLogsPartition foo <entity-guid>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- New Relic pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
newrelicTerraform Provider.
published on Thursday, Jun 11, 2026 by Pulumi