1. Registry
  2. Packages
  3. Sumologic Provider
  4. API Docs
  5. Parser
Viewing docs for sumologic 3.3.8
published on Wednesday, Nov 11, 2026 by sumologic
sumologic logo
Viewing docs for sumologic 3.3.8
published on Wednesday, Nov 11, 2026 by sumologic

    Provides a Sumologic Parser in the Parsers library.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const panFirewall = new sumologic.Parser("pan_firewall", {
        name: "PAN-firewall",
        description: "Parser for Palo Alto Networks firewall logs",
        stanzas: `[sourcetype:PAN-firewall]
    EVENT_MULTILINE = False
    FORMAT = CSV
    `,
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    pan_firewall = sumologic.Parser("pan_firewall",
        name="PAN-firewall",
        description="Parser for Palo Alto Networks firewall logs",
        stanzas="""[sourcetype:PAN-firewall]
    EVENT_MULTILINE = False
    FORMAT = CSV
    """)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sumologic.NewParser(ctx, "pan_firewall", &sumologic.ParserArgs{
    			Name:        pulumi.String("PAN-firewall"),
    			Description: pulumi.String("Parser for Palo Alto Networks firewall logs"),
    			Stanzas:     pulumi.String("[sourcetype:PAN-firewall]\nEVENT_MULTILINE = False\nFORMAT = CSV\n"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sumologic = Pulumi.Sumologic;
    
    return await Deployment.RunAsync(() => 
    {
        var panFirewall = new Sumologic.Parser("pan_firewall", new()
        {
            Name = "PAN-firewall",
            Description = "Parser for Palo Alto Networks firewall logs",
            Stanzas = @"[sourcetype:PAN-firewall]
    EVENT_MULTILINE = False
    FORMAT = CSV
    ",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.Parser;
    import com.pulumi.sumologic.ParserArgs;
    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 panFirewall = new Parser("panFirewall", ParserArgs.builder()
                .name("PAN-firewall")
                .description("Parser for Palo Alto Networks firewall logs")
                .stanzas("""
    [sourcetype:PAN-firewall]
    EVENT_MULTILINE = False
    FORMAT = CSV
                """)
                .build());
    
        }
    }
    
    resources:
      panFirewall:
        type: sumologic:Parser
        name: pan_firewall
        properties:
          name: PAN-firewall
          description: Parser for Palo Alto Networks firewall logs
          stanzas: |
            [sourcetype:PAN-firewall]
            EVENT_MULTILINE = False
            FORMAT = CSV
    
    Example coming soon!
    

    Parser in a folder managed with sumologic_parser_folder, with local stanzas:

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const firewalls = new sumologic.ParserFolder("firewalls", {name: "Firewalls"});
    const custom = new sumologic.Parser("custom", {
        name: "custom-parser",
        description: "Custom parser",
        parentId: firewalls.parserFolderId,
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    firewalls = sumologic.ParserFolder("firewalls", name="Firewalls")
    custom = sumologic.Parser("custom",
        name="custom-parser",
        description="Custom parser",
        parent_id=firewalls.parser_folder_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		firewalls, err := sumologic.NewParserFolder(ctx, "firewalls", &sumologic.ParserFolderArgs{
    			Name: pulumi.String("Firewalls"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sumologic.NewParser(ctx, "custom", &sumologic.ParserArgs{
    			Name:        pulumi.String("custom-parser"),
    			Description: pulumi.String("Custom parser"),
    			ParentId:    firewalls.ParserFolderId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sumologic = Pulumi.Sumologic;
    
    return await Deployment.RunAsync(() => 
    {
        var firewalls = new Sumologic.ParserFolder("firewalls", new()
        {
            Name = "Firewalls",
        });
    
        var custom = new Sumologic.Parser("custom", new()
        {
            Name = "custom-parser",
            Description = "Custom parser",
            ParentId = firewalls.ParserFolderId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.ParserFolder;
    import com.pulumi.sumologic.ParserFolderArgs;
    import com.pulumi.sumologic.Parser;
    import com.pulumi.sumologic.ParserArgs;
    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 firewalls = new ParserFolder("firewalls", ParserFolderArgs.builder()
                .name("Firewalls")
                .build());
    
            var custom = new Parser("custom", ParserArgs.builder()
                .name("custom-parser")
                .description("Custom parser")
                .parentId(firewalls.parserFolderId())
                .build());
    
        }
    }
    
    resources:
      firewalls:
        type: sumologic:ParserFolder
        properties:
          name: Firewalls
      custom:
        type: sumologic:Parser
        properties:
          name: custom-parser
          description: Custom parser
          parentId: ${firewalls.parserFolderId}
    
    Example coming soon!
    

    Parser in an existing folder, with local stanzas:

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const custom = new sumologic.Parser("custom", {
        name: "custom-parser",
        description: "Custom parser",
        parentId: "0000000000000001",
        stanzas: `[sourcetype:custom]
    FORMAT = CSV`,
        localStanzas: `[sourcetype:custom]
    WRAPPER = BSD_SYSLOG`,
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    custom = sumologic.Parser("custom",
        name="custom-parser",
        description="Custom parser",
        parent_id="0000000000000001",
        stanzas="""[sourcetype:custom]
    FORMAT = CSV""",
        local_stanzas="""[sourcetype:custom]
    WRAPPER = BSD_SYSLOG""")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sumologic.NewParser(ctx, "custom", &sumologic.ParserArgs{
    			Name:         pulumi.String("custom-parser"),
    			Description:  pulumi.String("Custom parser"),
    			ParentId:     pulumi.String("0000000000000001"),
    			Stanzas:      pulumi.String("[sourcetype:custom]\nFORMAT = CSV"),
    			LocalStanzas: pulumi.String("[sourcetype:custom]\nWRAPPER = BSD_SYSLOG"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sumologic = Pulumi.Sumologic;
    
    return await Deployment.RunAsync(() => 
    {
        var custom = new Sumologic.Parser("custom", new()
        {
            Name = "custom-parser",
            Description = "Custom parser",
            ParentId = "0000000000000001",
            Stanzas = @"[sourcetype:custom]
    FORMAT = CSV",
            LocalStanzas = @"[sourcetype:custom]
    WRAPPER = BSD_SYSLOG",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.Parser;
    import com.pulumi.sumologic.ParserArgs;
    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 custom = new Parser("custom", ParserArgs.builder()
                .name("custom-parser")
                .description("Custom parser")
                .parentId("0000000000000001")
                .stanzas("""
    [sourcetype:custom]
    FORMAT = CSV            """)
                .localStanzas("""
    [sourcetype:custom]
    WRAPPER = BSD_SYSLOG            """)
                .build());
    
        }
    }
    
    resources:
      custom:
        type: sumologic:Parser
        properties:
          name: custom-parser
          description: Custom parser
          parentId: '0000000000000001'
          stanzas: |-
            [sourcetype:custom]
            FORMAT = CSV
          localStanzas: |-
            [sourcetype:custom]
            WRAPPER = BSD_SYSLOG
    
    Example coming soon!
    

    Attributes reference

    In addition to all arguments above, the following attributes are exported:

    • id - The identifier of the parser.
    • version - The current version of the parser.
    • content_type - The content type of the object (Parser).
    • created_at - Creation timestamp (RFC3339, UTC).
    • created_by - Identifier of the user who created the parser.
    • modified_at - Last modification timestamp (RFC3339, UTC).
    • modified_by - Identifier of the user who last modified the parser.
    • is_locked - Whether the parser is locked.
    • is_system - Whether the parser is provided by Sumo Logic.
    • is_mutable - Whether the parser can be modified.

    Create Parser Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Parser(name: string, args: ParserArgs, opts?: CustomResourceOptions);
    @overload
    def Parser(resource_name: str,
               args: ParserArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Parser(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               stanzas: Optional[str] = None,
               description: Optional[str] = None,
               families: Optional[str] = None,
               is_partial: Optional[bool] = None,
               local_stanzas: Optional[str] = None,
               model_path: Optional[str] = None,
               name: Optional[str] = None,
               parent_id: Optional[str] = None,
               parser_id: Optional[str] = None,
               sourcetype_path: Optional[str] = None)
    func NewParser(ctx *Context, name string, args ParserArgs, opts ...ResourceOption) (*Parser, error)
    public Parser(string name, ParserArgs args, CustomResourceOptions? opts = null)
    public Parser(String name, ParserArgs args)
    public Parser(String name, ParserArgs args, CustomResourceOptions options)
    
    type: sumologic:Parser
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "sumologic_parser" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ParserArgs
    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 ParserArgs
    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 ParserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ParserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ParserArgs
    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 parserResource = new Sumologic.Parser("parserResource", new()
    {
        Stanzas = "string",
        Description = "string",
        Families = "string",
        IsPartial = false,
        LocalStanzas = "string",
        ModelPath = "string",
        Name = "string",
        ParentId = "string",
        ParserId = "string",
        SourcetypePath = "string",
    });
    
    example, err := sumologic.NewParser(ctx, "parserResource", &sumologic.ParserArgs{
    	Stanzas:        pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	Families:       pulumi.String("string"),
    	IsPartial:      pulumi.Bool(false),
    	LocalStanzas:   pulumi.String("string"),
    	ModelPath:      pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	ParentId:       pulumi.String("string"),
    	ParserId:       pulumi.String("string"),
    	SourcetypePath: pulumi.String("string"),
    })
    
    resource "sumologic_parser" "parserResource" {
      lifecycle {
        create_before_destroy = true
      }
      stanzas         = "string"
      description     = "string"
      families        = "string"
      is_partial      = false
      local_stanzas   = "string"
      model_path      = "string"
      name            = "string"
      parent_id       = "string"
      parser_id       = "string"
      sourcetype_path = "string"
    }
    
    var parserResource = new Parser("parserResource", ParserArgs.builder()
        .stanzas("string")
        .description("string")
        .families("string")
        .isPartial(false)
        .localStanzas("string")
        .modelPath("string")
        .name("string")
        .parentId("string")
        .parserId("string")
        .sourcetypePath("string")
        .build());
    
    parser_resource = sumologic.Parser("parserResource",
        stanzas="string",
        description="string",
        families="string",
        is_partial=False,
        local_stanzas="string",
        model_path="string",
        name="string",
        parent_id="string",
        parser_id="string",
        sourcetype_path="string")
    
    const parserResource = new sumologic.Parser("parserResource", {
        stanzas: "string",
        description: "string",
        families: "string",
        isPartial: false,
        localStanzas: "string",
        modelPath: "string",
        name: "string",
        parentId: "string",
        parserId: "string",
        sourcetypePath: "string",
    });
    
    type: sumologic:Parser
    properties:
        description: string
        families: string
        isPartial: false
        localStanzas: string
        modelPath: string
        name: string
        parentId: string
        parserId: string
        sourcetypePath: string
        stanzas: string
    

    Parser 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 Parser resource accepts the following input properties:

    Stanzas string
    Collection of stanzas describing the parser.
    Description string
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    Families string
    Comma-separated list of model families this parser belongs to or applies to.
    IsPartial bool
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    LocalStanzas string
    Localized stanzas.
    ModelPath string
    The path to the Model a Model-Connector is associated with.
    Name string
    Name of the parser. Between 1 and 255 characters.
    ParentId string

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    ParserId string
    SourcetypePath string
    The path to the sourcetype a Model-Connector is associated with.
    Stanzas string
    Collection of stanzas describing the parser.
    Description string
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    Families string
    Comma-separated list of model families this parser belongs to or applies to.
    IsPartial bool
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    LocalStanzas string
    Localized stanzas.
    ModelPath string
    The path to the Model a Model-Connector is associated with.
    Name string
    Name of the parser. Between 1 and 255 characters.
    ParentId string

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    ParserId string
    SourcetypePath string
    The path to the sourcetype a Model-Connector is associated with.
    stanzas string
    Collection of stanzas describing the parser.
    description string
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families string
    Comma-separated list of model families this parser belongs to or applies to.
    is_partial bool
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    local_stanzas string
    Localized stanzas.
    model_path string
    The path to the Model a Model-Connector is associated with.
    name string
    Name of the parser. Between 1 and 255 characters.
    parent_id string

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parser_id string
    sourcetype_path string
    The path to the sourcetype a Model-Connector is associated with.
    stanzas String
    Collection of stanzas describing the parser.
    description String
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families String
    Comma-separated list of model families this parser belongs to or applies to.
    isPartial Boolean
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    localStanzas String
    Localized stanzas.
    modelPath String
    The path to the Model a Model-Connector is associated with.
    name String
    Name of the parser. Between 1 and 255 characters.
    parentId String

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parserId String
    sourcetypePath String
    The path to the sourcetype a Model-Connector is associated with.
    stanzas string
    Collection of stanzas describing the parser.
    description string
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families string
    Comma-separated list of model families this parser belongs to or applies to.
    isPartial boolean
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    localStanzas string
    Localized stanzas.
    modelPath string
    The path to the Model a Model-Connector is associated with.
    name string
    Name of the parser. Between 1 and 255 characters.
    parentId string

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parserId string
    sourcetypePath string
    The path to the sourcetype a Model-Connector is associated with.
    stanzas str
    Collection of stanzas describing the parser.
    description str
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families str
    Comma-separated list of model families this parser belongs to or applies to.
    is_partial bool
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    local_stanzas str
    Localized stanzas.
    model_path str
    The path to the Model a Model-Connector is associated with.
    name str
    Name of the parser. Between 1 and 255 characters.
    parent_id str

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parser_id str
    sourcetype_path str
    The path to the sourcetype a Model-Connector is associated with.
    stanzas String
    Collection of stanzas describing the parser.
    description String
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families String
    Comma-separated list of model families this parser belongs to or applies to.
    isPartial Boolean
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    localStanzas String
    Localized stanzas.
    modelPath String
    The path to the Model a Model-Connector is associated with.
    name String
    Name of the parser. Between 1 and 255 characters.
    parentId String

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parserId String
    sourcetypePath String
    The path to the sourcetype a Model-Connector is associated with.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Parser resource produces the following output properties:

    ContentType string
    CreatedAt string
    CreatedBy string
    Id string
    The provider-assigned unique ID for this managed resource.
    IsLocked bool
    IsMutable bool
    IsSystem bool
    ModifiedAt string
    ModifiedBy string
    Version double
    ContentType string
    CreatedAt string
    CreatedBy string
    Id string
    The provider-assigned unique ID for this managed resource.
    IsLocked bool
    IsMutable bool
    IsSystem bool
    ModifiedAt string
    ModifiedBy string
    Version float64
    content_type string
    created_at string
    created_by string
    id string
    The provider-assigned unique ID for this managed resource.
    is_locked bool
    is_mutable bool
    is_system bool
    modified_at string
    modified_by string
    version number
    contentType String
    createdAt String
    createdBy String
    id String
    The provider-assigned unique ID for this managed resource.
    isLocked Boolean
    isMutable Boolean
    isSystem Boolean
    modifiedAt String
    modifiedBy String
    version Double
    contentType string
    createdAt string
    createdBy string
    id string
    The provider-assigned unique ID for this managed resource.
    isLocked boolean
    isMutable boolean
    isSystem boolean
    modifiedAt string
    modifiedBy string
    version number
    content_type str
    created_at str
    created_by str
    id str
    The provider-assigned unique ID for this managed resource.
    is_locked bool
    is_mutable bool
    is_system bool
    modified_at str
    modified_by str
    version float
    contentType String
    createdAt String
    createdBy String
    id String
    The provider-assigned unique ID for this managed resource.
    isLocked Boolean
    isMutable Boolean
    isSystem Boolean
    modifiedAt String
    modifiedBy String
    version Number

    Look up Existing Parser Resource

    Get an existing Parser 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?: ParserState, opts?: CustomResourceOptions): Parser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content_type: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            description: Optional[str] = None,
            families: Optional[str] = None,
            is_locked: Optional[bool] = None,
            is_mutable: Optional[bool] = None,
            is_partial: Optional[bool] = None,
            is_system: Optional[bool] = None,
            local_stanzas: Optional[str] = None,
            model_path: Optional[str] = None,
            modified_at: Optional[str] = None,
            modified_by: Optional[str] = None,
            name: Optional[str] = None,
            parent_id: Optional[str] = None,
            parser_id: Optional[str] = None,
            sourcetype_path: Optional[str] = None,
            stanzas: Optional[str] = None,
            version: Optional[float] = None) -> Parser
    func GetParser(ctx *Context, name string, id IDInput, state *ParserState, opts ...ResourceOption) (*Parser, error)
    public static Parser Get(string name, Input<string> id, ParserState? state, CustomResourceOptions? opts = null)
    public static Parser get(String name, Output<String> id, ParserState state, CustomResourceOptions options)
    resources:  _:    type: sumologic:Parser    get:      id: ${id}
    import {
      to = sumologic_parser.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.
    The following state arguments are supported:
    ContentType string
    CreatedAt string
    CreatedBy string
    Description string
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    Families string
    Comma-separated list of model families this parser belongs to or applies to.
    IsLocked bool
    IsMutable bool
    IsPartial bool
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    IsSystem bool
    LocalStanzas string
    Localized stanzas.
    ModelPath string
    The path to the Model a Model-Connector is associated with.
    ModifiedAt string
    ModifiedBy string
    Name string
    Name of the parser. Between 1 and 255 characters.
    ParentId string

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    ParserId string
    SourcetypePath string
    The path to the sourcetype a Model-Connector is associated with.
    Stanzas string
    Collection of stanzas describing the parser.
    Version double
    ContentType string
    CreatedAt string
    CreatedBy string
    Description string
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    Families string
    Comma-separated list of model families this parser belongs to or applies to.
    IsLocked bool
    IsMutable bool
    IsPartial bool
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    IsSystem bool
    LocalStanzas string
    Localized stanzas.
    ModelPath string
    The path to the Model a Model-Connector is associated with.
    ModifiedAt string
    ModifiedBy string
    Name string
    Name of the parser. Between 1 and 255 characters.
    ParentId string

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    ParserId string
    SourcetypePath string
    The path to the sourcetype a Model-Connector is associated with.
    Stanzas string
    Collection of stanzas describing the parser.
    Version float64
    content_type string
    created_at string
    created_by string
    description string
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families string
    Comma-separated list of model families this parser belongs to or applies to.
    is_locked bool
    is_mutable bool
    is_partial bool
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    is_system bool
    local_stanzas string
    Localized stanzas.
    model_path string
    The path to the Model a Model-Connector is associated with.
    modified_at string
    modified_by string
    name string
    Name of the parser. Between 1 and 255 characters.
    parent_id string

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parser_id string
    sourcetype_path string
    The path to the sourcetype a Model-Connector is associated with.
    stanzas string
    Collection of stanzas describing the parser.
    version number
    contentType String
    createdAt String
    createdBy String
    description String
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families String
    Comma-separated list of model families this parser belongs to or applies to.
    isLocked Boolean
    isMutable Boolean
    isPartial Boolean
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    isSystem Boolean
    localStanzas String
    Localized stanzas.
    modelPath String
    The path to the Model a Model-Connector is associated with.
    modifiedAt String
    modifiedBy String
    name String
    Name of the parser. Between 1 and 255 characters.
    parentId String

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parserId String
    sourcetypePath String
    The path to the sourcetype a Model-Connector is associated with.
    stanzas String
    Collection of stanzas describing the parser.
    version Double
    contentType string
    createdAt string
    createdBy string
    description string
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families string
    Comma-separated list of model families this parser belongs to or applies to.
    isLocked boolean
    isMutable boolean
    isPartial boolean
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    isSystem boolean
    localStanzas string
    Localized stanzas.
    modelPath string
    The path to the Model a Model-Connector is associated with.
    modifiedAt string
    modifiedBy string
    name string
    Name of the parser. Between 1 and 255 characters.
    parentId string

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parserId string
    sourcetypePath string
    The path to the sourcetype a Model-Connector is associated with.
    stanzas string
    Collection of stanzas describing the parser.
    version number
    content_type str
    created_at str
    created_by str
    description str
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families str
    Comma-separated list of model families this parser belongs to or applies to.
    is_locked bool
    is_mutable bool
    is_partial bool
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    is_system bool
    local_stanzas str
    Localized stanzas.
    model_path str
    The path to the Model a Model-Connector is associated with.
    modified_at str
    modified_by str
    name str
    Name of the parser. Between 1 and 255 characters.
    parent_id str

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parser_id str
    sourcetype_path str
    The path to the sourcetype a Model-Connector is associated with.
    stanzas str
    Collection of stanzas describing the parser.
    version float
    contentType String
    createdAt String
    createdBy String
    description String
    Description of the parser. Up to 4096 characters. Defaults to an empty string.
    families String
    Comma-separated list of model families this parser belongs to or applies to.
    isLocked Boolean
    isMutable Boolean
    isPartial Boolean
    Whether this is only a config fragment rather than a complete parser or Model-Connector. Defaults to false.
    isSystem Boolean
    localStanzas String
    Localized stanzas.
    modelPath String
    The path to the Model a Model-Connector is associated with.
    modifiedAt String
    modifiedBy String
    name String
    Name of the parser. Between 1 and 255 characters.
    parentId String

    Identifier of the parent folder in the Parsers library, for example 0000000000000001. Defaults to the root folder. Changing it moves the parser.

    NOTE: Locked parsers cannot be updated or moved. This resource does not lock or unlock parsers.

    parserId String
    sourcetypePath String
    The path to the sourcetype a Model-Connector is associated with.
    stanzas String
    Collection of stanzas describing the parser.
    version Number

    Import

    Parsers can be imported using the parser id, e.g.:

    $ pulumi import sumologic:index/parser:Parser pan_firewall 0000000000000001
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Sumo Logic sumologic/terraform-provider-sumologic
    License
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Viewing docs for sumologic 3.3.8
    published on Wednesday, Nov 11, 2026 by sumologic

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial