Datadog v4.59.0 published on Wednesday, Oct 22, 2025 by Pulumi
datadog.getLogsPipelines
Use this data source to list all existing logs pipelines for use in other resources.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
// Gets all pipelines
const pipelines = datadog.getLogsPipelines({});
// Using data source to set pipeline order
const lpo = new datadog.LogsPipelineOrder("lpo", {
    name: "lpo",
    pipelines: pipelines.then(pipelines => .map(pipeline => (pipeline.id))),
});
import pulumi
import pulumi_datadog as datadog
# Gets all pipelines
pipelines = datadog.get_logs_pipelines()
# Using data source to set pipeline order
lpo = datadog.LogsPipelineOrder("lpo",
    name="lpo",
    pipelines=[pipeline.id for pipeline in pipelines.logs_pipelines])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() => 
{
    // Gets all pipelines
    var pipelines = Datadog.GetLogsPipelines.Invoke();
    // Using data source to set pipeline order
    var lpo = new Datadog.LogsPipelineOrder("lpo", new()
    {
        Name = "lpo",
        Pipelines = .Select(pipeline => 
        {
            return pipeline.Id;
        }).ToList(),
    });
});
Example coming soon!
Example coming soon!
Using getLogsPipelines
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLogsPipelines(args: GetLogsPipelinesArgs, opts?: InvokeOptions): Promise<GetLogsPipelinesResult>
function getLogsPipelinesOutput(args: GetLogsPipelinesOutputArgs, opts?: InvokeOptions): Output<GetLogsPipelinesResult>def get_logs_pipelines(is_read_only: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetLogsPipelinesResult
def get_logs_pipelines_output(is_read_only: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetLogsPipelinesResult]func GetLogsPipelines(ctx *Context, args *GetLogsPipelinesArgs, opts ...InvokeOption) (*GetLogsPipelinesResult, error)
func GetLogsPipelinesOutput(ctx *Context, args *GetLogsPipelinesOutputArgs, opts ...InvokeOption) GetLogsPipelinesResultOutput> Note: This function is named GetLogsPipelines in the Go SDK.
public static class GetLogsPipelines 
{
    public static Task<GetLogsPipelinesResult> InvokeAsync(GetLogsPipelinesArgs args, InvokeOptions? opts = null)
    public static Output<GetLogsPipelinesResult> Invoke(GetLogsPipelinesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogsPipelinesResult> getLogsPipelines(GetLogsPipelinesArgs args, InvokeOptions options)
public static Output<GetLogsPipelinesResult> getLogsPipelines(GetLogsPipelinesArgs args, InvokeOptions options)
fn::invoke:
  function: datadog:index/getLogsPipelines:getLogsPipelines
  arguments:
    # arguments dictionaryThe following arguments are supported:
- IsRead stringOnly 
- Filter parameter for retrieved pipelines
- IsRead stringOnly 
- Filter parameter for retrieved pipelines
- isRead StringOnly 
- Filter parameter for retrieved pipelines
- isRead stringOnly 
- Filter parameter for retrieved pipelines
- is_read_ stronly 
- Filter parameter for retrieved pipelines
- isRead StringOnly 
- Filter parameter for retrieved pipelines
getLogsPipelines Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- LogsPipelines List<GetLogs Pipelines Logs Pipeline> 
- List of logs pipelines
- IsRead stringOnly 
- Filter parameter for retrieved pipelines
- Id string
- The provider-assigned unique ID for this managed resource.
- LogsPipelines []GetLogs Pipelines Logs Pipeline 
- List of logs pipelines
- IsRead stringOnly 
- Filter parameter for retrieved pipelines
- id String
- The provider-assigned unique ID for this managed resource.
- logsPipelines List<GetLogs Pipelines Logs Pipeline> 
- List of logs pipelines
- isRead StringOnly 
- Filter parameter for retrieved pipelines
- id string
- The provider-assigned unique ID for this managed resource.
- logsPipelines GetLogs Pipelines Logs Pipeline[] 
- List of logs pipelines
- isRead stringOnly 
- Filter parameter for retrieved pipelines
- id str
- The provider-assigned unique ID for this managed resource.
- logs_pipelines Sequence[GetLogs Pipelines Logs Pipeline] 
- List of logs pipelines
- is_read_ stronly 
- Filter parameter for retrieved pipelines
- id String
- The provider-assigned unique ID for this managed resource.
- logsPipelines List<Property Map>
- List of logs pipelines
- isRead StringOnly 
- Filter parameter for retrieved pipelines
Supporting Types
GetLogsPipelinesLogsPipeline    
- Description string
- Description of the pipeline
- Filters
List<GetLogs Pipelines Logs Pipeline Filter> 
- Pipelines filter
- Id string
- ID of the pipeline
- IsEnabled bool
- Whether or not the pipeline is enabled.
- IsRead boolOnly 
- Whether or not the pipeline can be edited.
- Name string
- The name of the pipeline.
- List<string>
- Tags of the pipeline
- Type string
- Whether or not the pipeline can be edited.
- Description string
- Description of the pipeline
- Filters
[]GetLogs Pipelines Logs Pipeline Filter 
- Pipelines filter
- Id string
- ID of the pipeline
- IsEnabled bool
- Whether or not the pipeline is enabled.
- IsRead boolOnly 
- Whether or not the pipeline can be edited.
- Name string
- The name of the pipeline.
- []string
- Tags of the pipeline
- Type string
- Whether or not the pipeline can be edited.
- description String
- Description of the pipeline
- filters
List<GetLogs Pipelines Logs Pipeline Filter> 
- Pipelines filter
- id String
- ID of the pipeline
- isEnabled Boolean
- Whether or not the pipeline is enabled.
- isRead BooleanOnly 
- Whether or not the pipeline can be edited.
- name String
- The name of the pipeline.
- List<String>
- Tags of the pipeline
- type String
- Whether or not the pipeline can be edited.
- description string
- Description of the pipeline
- filters
GetLogs Pipelines Logs Pipeline Filter[] 
- Pipelines filter
- id string
- ID of the pipeline
- isEnabled boolean
- Whether or not the pipeline is enabled.
- isRead booleanOnly 
- Whether or not the pipeline can be edited.
- name string
- The name of the pipeline.
- string[]
- Tags of the pipeline
- type string
- Whether or not the pipeline can be edited.
- description str
- Description of the pipeline
- filters
Sequence[GetLogs Pipelines Logs Pipeline Filter] 
- Pipelines filter
- id str
- ID of the pipeline
- is_enabled bool
- Whether or not the pipeline is enabled.
- is_read_ boolonly 
- Whether or not the pipeline can be edited.
- name str
- The name of the pipeline.
- Sequence[str]
- Tags of the pipeline
- type str
- Whether or not the pipeline can be edited.
- description String
- Description of the pipeline
- filters List<Property Map>
- Pipelines filter
- id String
- ID of the pipeline
- isEnabled Boolean
- Whether or not the pipeline is enabled.
- isRead BooleanOnly 
- Whether or not the pipeline can be edited.
- name String
- The name of the pipeline.
- List<String>
- Tags of the pipeline
- type String
- Whether or not the pipeline can be edited.
GetLogsPipelinesLogsPipelineFilter     
- Query string
- Pipeline filter criteria.
- Query string
- Pipeline filter criteria.
- query String
- Pipeline filter criteria.
- query string
- Pipeline filter criteria.
- query str
- Pipeline filter criteria.
- query String
- Pipeline filter criteria.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the datadogTerraform Provider.
