1. Packages
  2. Fortios
  3. API Docs
  4. log
  5. log/syslogd
  6. log/syslogd/v2
  7. Filter
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.log/syslogd/v2.Filter

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Filters for remote system server.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.log.syslogd.v2.Filter("trname", {
        anomaly: "enable",
        dns: "enable",
        filterType: "include",
        forwardTraffic: "enable",
        gtp: "enable",
        localTraffic: "enable",
        multicastTraffic: "enable",
        severity: "information",
        snifferTraffic: "enable",
        ssh: "enable",
        voip: "enable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.log.syslogd.v2.Filter("trname",
        anomaly="enable",
        dns="enable",
        filter_type="include",
        forward_traffic="enable",
        gtp="enable",
        local_traffic="enable",
        multicast_traffic="enable",
        severity="information",
        sniffer_traffic="enable",
        ssh="enable",
        voip="enable")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/log"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := log.NewFilter(ctx, "trname", &log.FilterArgs{
    			Anomaly:          pulumi.String("enable"),
    			Dns:              pulumi.String("enable"),
    			FilterType:       pulumi.String("include"),
    			ForwardTraffic:   pulumi.String("enable"),
    			Gtp:              pulumi.String("enable"),
    			LocalTraffic:     pulumi.String("enable"),
    			MulticastTraffic: pulumi.String("enable"),
    			Severity:         pulumi.String("information"),
    			SnifferTraffic:   pulumi.String("enable"),
    			Ssh:              pulumi.String("enable"),
    			Voip:             pulumi.String("enable"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortios.Log.Syslogd.V2.Filter("trname", new()
        {
            Anomaly = "enable",
            Dns = "enable",
            FilterType = "include",
            ForwardTraffic = "enable",
            Gtp = "enable",
            LocalTraffic = "enable",
            MulticastTraffic = "enable",
            Severity = "information",
            SnifferTraffic = "enable",
            Ssh = "enable",
            Voip = "enable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.log.Filter;
    import com.pulumi.fortios.log.FilterArgs;
    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 trname = new Filter("trname", FilterArgs.builder()
                .anomaly("enable")
                .dns("enable")
                .filterType("include")
                .forwardTraffic("enable")
                .gtp("enable")
                .localTraffic("enable")
                .multicastTraffic("enable")
                .severity("information")
                .snifferTraffic("enable")
                .ssh("enable")
                .voip("enable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:log/syslogd/v2:Filter
        properties:
          anomaly: enable
          dns: enable
          filterType: include
          forwardTraffic: enable
          gtp: enable
          localTraffic: enable
          multicastTraffic: enable
          severity: information
          snifferTraffic: enable
          ssh: enable
          voip: enable
    

    Create Filter Resource

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

    Constructor syntax

    new Filter(name: string, args?: FilterArgs, opts?: CustomResourceOptions);
    @overload
    def Filter(resource_name: str,
               args: Optional[FilterArgs] = None,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Filter(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               anomaly: Optional[str] = None,
               dns: Optional[str] = None,
               dynamic_sort_subtable: Optional[str] = None,
               filter: Optional[str] = None,
               filter_type: Optional[str] = None,
               forti_switch: Optional[str] = None,
               forward_traffic: Optional[str] = None,
               free_styles: Optional[Sequence[FilterFreeStyleArgs]] = None,
               get_all_tables: Optional[str] = None,
               gtp: Optional[str] = None,
               local_traffic: Optional[str] = None,
               multicast_traffic: Optional[str] = None,
               netscan_discovery: Optional[str] = None,
               netscan_vulnerability: Optional[str] = None,
               severity: Optional[str] = None,
               sniffer_traffic: Optional[str] = None,
               ssh: Optional[str] = None,
               vdomparam: Optional[str] = None,
               voip: Optional[str] = None,
               ztna_traffic: Optional[str] = None)
    func NewFilter(ctx *Context, name string, args *FilterArgs, opts ...ResourceOption) (*Filter, error)
    public Filter(string name, FilterArgs? args = null, CustomResourceOptions? opts = null)
    public Filter(String name, FilterArgs args)
    public Filter(String name, FilterArgs args, CustomResourceOptions options)
    
    type: fortios:log/syslogd/v2/filter:Filter
    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 FilterArgs
    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 FilterArgs
    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 FilterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FilterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Anomaly string
    Enable/disable anomaly logging. Valid values: enable, disable.
    Definition string
    Syslog 2 filter.
    Dns string
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FilterType string
    Include/exclude logs that match the filter. Valid values: include, exclude.
    FortiSwitch string
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    ForwardTraffic string
    Enable/disable forward traffic logging. Valid values: enable, disable.
    FreeStyles List<Pulumiverse.Fortios.Log.Syslogd.V2.Inputs.FilterFreeStyle>
    Free Style Filters The structure of free_style block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Gtp string
    Enable/disable GTP messages logging. Valid values: enable, disable.
    LocalTraffic string
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    MulticastTraffic string
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    NetscanDiscovery string
    Enable/disable netscan discovery event logging.
    NetscanVulnerability string
    Enable/disable netscan vulnerability event logging.
    Severity string
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    SnifferTraffic string
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    Ssh string
    Enable/disable SSH logging. Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Voip string
    Enable/disable VoIP logging. Valid values: enable, disable.
    ZtnaTraffic string
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    Anomaly string
    Enable/disable anomaly logging. Valid values: enable, disable.
    Dns string
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Filter string
    Syslog 2 filter.
    FilterType string
    Include/exclude logs that match the filter. Valid values: include, exclude.
    FortiSwitch string
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    ForwardTraffic string
    Enable/disable forward traffic logging. Valid values: enable, disable.
    FreeStyles []FilterFreeStyleArgs
    Free Style Filters The structure of free_style block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Gtp string
    Enable/disable GTP messages logging. Valid values: enable, disable.
    LocalTraffic string
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    MulticastTraffic string
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    NetscanDiscovery string
    Enable/disable netscan discovery event logging.
    NetscanVulnerability string
    Enable/disable netscan vulnerability event logging.
    Severity string
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    SnifferTraffic string
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    Ssh string
    Enable/disable SSH logging. Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Voip string
    Enable/disable VoIP logging. Valid values: enable, disable.
    ZtnaTraffic string
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    anomaly String
    Enable/disable anomaly logging. Valid values: enable, disable.
    dns String
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    filter String
    Syslog 2 filter.
    filterType String
    Include/exclude logs that match the filter. Valid values: include, exclude.
    fortiSwitch String
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    forwardTraffic String
    Enable/disable forward traffic logging. Valid values: enable, disable.
    freeStyles List<FilterFreeStyle>
    Free Style Filters The structure of free_style block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gtp String
    Enable/disable GTP messages logging. Valid values: enable, disable.
    localTraffic String
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    multicastTraffic String
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    netscanDiscovery String
    Enable/disable netscan discovery event logging.
    netscanVulnerability String
    Enable/disable netscan vulnerability event logging.
    severity String
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    snifferTraffic String
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    ssh String
    Enable/disable SSH logging. Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    voip String
    Enable/disable VoIP logging. Valid values: enable, disable.
    ztnaTraffic String
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    anomaly string
    Enable/disable anomaly logging. Valid values: enable, disable.
    dns string
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    filter string
    Syslog 2 filter.
    filterType string
    Include/exclude logs that match the filter. Valid values: include, exclude.
    fortiSwitch string
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    forwardTraffic string
    Enable/disable forward traffic logging. Valid values: enable, disable.
    freeStyles FilterFreeStyle[]
    Free Style Filters The structure of free_style block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gtp string
    Enable/disable GTP messages logging. Valid values: enable, disable.
    localTraffic string
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    multicastTraffic string
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    netscanDiscovery string
    Enable/disable netscan discovery event logging.
    netscanVulnerability string
    Enable/disable netscan vulnerability event logging.
    severity string
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    snifferTraffic string
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    ssh string
    Enable/disable SSH logging. Valid values: enable, disable.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    voip string
    Enable/disable VoIP logging. Valid values: enable, disable.
    ztnaTraffic string
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    anomaly str
    Enable/disable anomaly logging. Valid values: enable, disable.
    dns str
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    filter str
    Syslog 2 filter.
    filter_type str
    Include/exclude logs that match the filter. Valid values: include, exclude.
    forti_switch str
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    forward_traffic str
    Enable/disable forward traffic logging. Valid values: enable, disable.
    free_styles Sequence[FilterFreeStyleArgs]
    Free Style Filters The structure of free_style block is documented below.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gtp str
    Enable/disable GTP messages logging. Valid values: enable, disable.
    local_traffic str
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    multicast_traffic str
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    netscan_discovery str
    Enable/disable netscan discovery event logging.
    netscan_vulnerability str
    Enable/disable netscan vulnerability event logging.
    severity str
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    sniffer_traffic str
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    ssh str
    Enable/disable SSH logging. Valid values: enable, disable.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    voip str
    Enable/disable VoIP logging. Valid values: enable, disable.
    ztna_traffic str
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    anomaly String
    Enable/disable anomaly logging. Valid values: enable, disable.
    dns String
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    filter String
    Syslog 2 filter.
    filterType String
    Include/exclude logs that match the filter. Valid values: include, exclude.
    fortiSwitch String
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    forwardTraffic String
    Enable/disable forward traffic logging. Valid values: enable, disable.
    freeStyles List<Property Map>
    Free Style Filters The structure of free_style block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gtp String
    Enable/disable GTP messages logging. Valid values: enable, disable.
    localTraffic String
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    multicastTraffic String
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    netscanDiscovery String
    Enable/disable netscan discovery event logging.
    netscanVulnerability String
    Enable/disable netscan vulnerability event logging.
    severity String
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    snifferTraffic String
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    ssh String
    Enable/disable SSH logging. Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    voip String
    Enable/disable VoIP logging. Valid values: enable, disable.
    ztnaTraffic String
    Enable/disable ztna traffic logging. Valid values: enable, disable.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Filter 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 Filter Resource

    Get an existing Filter 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?: FilterState, opts?: CustomResourceOptions): Filter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            anomaly: Optional[str] = None,
            dns: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            filter: Optional[str] = None,
            filter_type: Optional[str] = None,
            forti_switch: Optional[str] = None,
            forward_traffic: Optional[str] = None,
            free_styles: Optional[Sequence[FilterFreeStyleArgs]] = None,
            get_all_tables: Optional[str] = None,
            gtp: Optional[str] = None,
            local_traffic: Optional[str] = None,
            multicast_traffic: Optional[str] = None,
            netscan_discovery: Optional[str] = None,
            netscan_vulnerability: Optional[str] = None,
            severity: Optional[str] = None,
            sniffer_traffic: Optional[str] = None,
            ssh: Optional[str] = None,
            vdomparam: Optional[str] = None,
            voip: Optional[str] = None,
            ztna_traffic: Optional[str] = None) -> Filter
    func GetFilter(ctx *Context, name string, id IDInput, state *FilterState, opts ...ResourceOption) (*Filter, error)
    public static Filter Get(string name, Input<string> id, FilterState? state, CustomResourceOptions? opts = null)
    public static Filter get(String name, Output<String> id, FilterState 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.
    The following state arguments are supported:
    Anomaly string
    Enable/disable anomaly logging. Valid values: enable, disable.
    Definition string
    Syslog 2 filter.
    Dns string
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FilterType string
    Include/exclude logs that match the filter. Valid values: include, exclude.
    FortiSwitch string
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    ForwardTraffic string
    Enable/disable forward traffic logging. Valid values: enable, disable.
    FreeStyles List<Pulumiverse.Fortios.Log.Syslogd.V2.Inputs.FilterFreeStyle>
    Free Style Filters The structure of free_style block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Gtp string
    Enable/disable GTP messages logging. Valid values: enable, disable.
    LocalTraffic string
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    MulticastTraffic string
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    NetscanDiscovery string
    Enable/disable netscan discovery event logging.
    NetscanVulnerability string
    Enable/disable netscan vulnerability event logging.
    Severity string
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    SnifferTraffic string
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    Ssh string
    Enable/disable SSH logging. Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Voip string
    Enable/disable VoIP logging. Valid values: enable, disable.
    ZtnaTraffic string
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    Anomaly string
    Enable/disable anomaly logging. Valid values: enable, disable.
    Dns string
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Filter string
    Syslog 2 filter.
    FilterType string
    Include/exclude logs that match the filter. Valid values: include, exclude.
    FortiSwitch string
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    ForwardTraffic string
    Enable/disable forward traffic logging. Valid values: enable, disable.
    FreeStyles []FilterFreeStyleArgs
    Free Style Filters The structure of free_style block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Gtp string
    Enable/disable GTP messages logging. Valid values: enable, disable.
    LocalTraffic string
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    MulticastTraffic string
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    NetscanDiscovery string
    Enable/disable netscan discovery event logging.
    NetscanVulnerability string
    Enable/disable netscan vulnerability event logging.
    Severity string
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    SnifferTraffic string
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    Ssh string
    Enable/disable SSH logging. Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Voip string
    Enable/disable VoIP logging. Valid values: enable, disable.
    ZtnaTraffic string
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    anomaly String
    Enable/disable anomaly logging. Valid values: enable, disable.
    dns String
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    filter String
    Syslog 2 filter.
    filterType String
    Include/exclude logs that match the filter. Valid values: include, exclude.
    fortiSwitch String
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    forwardTraffic String
    Enable/disable forward traffic logging. Valid values: enable, disable.
    freeStyles List<FilterFreeStyle>
    Free Style Filters The structure of free_style block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gtp String
    Enable/disable GTP messages logging. Valid values: enable, disable.
    localTraffic String
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    multicastTraffic String
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    netscanDiscovery String
    Enable/disable netscan discovery event logging.
    netscanVulnerability String
    Enable/disable netscan vulnerability event logging.
    severity String
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    snifferTraffic String
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    ssh String
    Enable/disable SSH logging. Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    voip String
    Enable/disable VoIP logging. Valid values: enable, disable.
    ztnaTraffic String
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    anomaly string
    Enable/disable anomaly logging. Valid values: enable, disable.
    dns string
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    filter string
    Syslog 2 filter.
    filterType string
    Include/exclude logs that match the filter. Valid values: include, exclude.
    fortiSwitch string
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    forwardTraffic string
    Enable/disable forward traffic logging. Valid values: enable, disable.
    freeStyles FilterFreeStyle[]
    Free Style Filters The structure of free_style block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gtp string
    Enable/disable GTP messages logging. Valid values: enable, disable.
    localTraffic string
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    multicastTraffic string
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    netscanDiscovery string
    Enable/disable netscan discovery event logging.
    netscanVulnerability string
    Enable/disable netscan vulnerability event logging.
    severity string
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    snifferTraffic string
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    ssh string
    Enable/disable SSH logging. Valid values: enable, disable.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    voip string
    Enable/disable VoIP logging. Valid values: enable, disable.
    ztnaTraffic string
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    anomaly str
    Enable/disable anomaly logging. Valid values: enable, disable.
    dns str
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    filter str
    Syslog 2 filter.
    filter_type str
    Include/exclude logs that match the filter. Valid values: include, exclude.
    forti_switch str
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    forward_traffic str
    Enable/disable forward traffic logging. Valid values: enable, disable.
    free_styles Sequence[FilterFreeStyleArgs]
    Free Style Filters The structure of free_style block is documented below.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gtp str
    Enable/disable GTP messages logging. Valid values: enable, disable.
    local_traffic str
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    multicast_traffic str
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    netscan_discovery str
    Enable/disable netscan discovery event logging.
    netscan_vulnerability str
    Enable/disable netscan vulnerability event logging.
    severity str
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    sniffer_traffic str
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    ssh str
    Enable/disable SSH logging. Valid values: enable, disable.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    voip str
    Enable/disable VoIP logging. Valid values: enable, disable.
    ztna_traffic str
    Enable/disable ztna traffic logging. Valid values: enable, disable.
    anomaly String
    Enable/disable anomaly logging. Valid values: enable, disable.
    dns String
    Enable/disable detailed DNS event logging. Valid values: enable, disable.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    filter String
    Syslog 2 filter.
    filterType String
    Include/exclude logs that match the filter. Valid values: include, exclude.
    fortiSwitch String
    Enable/disable Forti-Switch logging. Valid values: enable, disable.
    forwardTraffic String
    Enable/disable forward traffic logging. Valid values: enable, disable.
    freeStyles List<Property Map>
    Free Style Filters The structure of free_style block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gtp String
    Enable/disable GTP messages logging. Valid values: enable, disable.
    localTraffic String
    Enable/disable local in or out traffic logging. Valid values: enable, disable.
    multicastTraffic String
    Enable/disable multicast traffic logging. Valid values: enable, disable.
    netscanDiscovery String
    Enable/disable netscan discovery event logging.
    netscanVulnerability String
    Enable/disable netscan vulnerability event logging.
    severity String
    Lowest severity level to log. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
    snifferTraffic String
    Enable/disable sniffer traffic logging. Valid values: enable, disable.
    ssh String
    Enable/disable SSH logging. Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    voip String
    Enable/disable VoIP logging. Valid values: enable, disable.
    ztnaTraffic String
    Enable/disable ztna traffic logging. Valid values: enable, disable.

    Supporting Types

    FilterFreeStyle, FilterFreeStyleArgs

    Category string
    Log category.
    Filter string
    Free style filter string.
    FilterType string
    Include/exclude logs that match the filter. Valid values: include, exclude.
    Id int
    Entry ID.
    Category string
    Log category.
    Filter string
    Free style filter string.
    FilterType string
    Include/exclude logs that match the filter. Valid values: include, exclude.
    Id int
    Entry ID.
    category String
    Log category.
    filter String
    Free style filter string.
    filterType String
    Include/exclude logs that match the filter. Valid values: include, exclude.
    id Integer
    Entry ID.
    category string
    Log category.
    filter string
    Free style filter string.
    filterType string
    Include/exclude logs that match the filter. Valid values: include, exclude.
    id number
    Entry ID.
    category str
    Log category.
    filter str
    Free style filter string.
    filter_type str
    Include/exclude logs that match the filter. Valid values: include, exclude.
    id int
    Entry ID.
    category String
    Log category.
    filter String
    Free style filter string.
    filterType String
    Include/exclude logs that match the filter. Valid values: include, exclude.
    id Number
    Entry ID.

    Import

    LogSyslogd2 Filter can be imported using any of these accepted formats:

    $ pulumi import fortios:log/syslogd/v2/filter:Filter labelname LogSyslogd2Filter
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:log/syslogd/v2/filter:Filter labelname LogSyslogd2Filter
    

    $ unset “FORTIOS_IMPORT_TABLE”

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

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse