fortios.log/syslogd/v2.Filter
Explore with Pulumi AI
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
. - Dynamic
Sort stringSubtable - 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
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - Forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - Free
Styles List<Pulumiverse.Fortios. Log. Syslogd. V2. Inputs. Filter Free Style> - Free Style Filters The structure of
free_style
block is documented below. - Get
All stringTables - 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
. - Local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - Multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - Netscan
Discovery string - Enable/disable netscan discovery event logging.
- Netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- Severity string
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - Sniffer
Traffic 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
. - Ztna
Traffic 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
. - Dynamic
Sort stringSubtable - 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.
- Filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - Forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - Free
Styles []FilterFree Style Args - Free Style Filters The structure of
free_style
block is documented below. - Get
All stringTables - 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
. - Local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - Multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - Netscan
Discovery string - Enable/disable netscan discovery event logging.
- Netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- Severity string
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - Sniffer
Traffic 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
. - Ztna
Traffic 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
. - dynamic
Sort StringSubtable - 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.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch String - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic String - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles List<FilterFree Style> - Free Style Filters The structure of
free_style
block is documented below. - get
All StringTables - 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
. - local
Traffic String - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic String - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery String - Enable/disable netscan discovery event logging.
- netscan
Vulnerability String - Enable/disable netscan vulnerability event logging.
- severity String
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic 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
. - ztna
Traffic 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
. - dynamic
Sort stringSubtable - 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.
- filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles FilterFree Style[] - Free Style Filters The structure of
free_style
block is documented below. - get
All stringTables - 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
. - local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery string - Enable/disable netscan discovery event logging.
- netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- severity string
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic 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
. - ztna
Traffic 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_ strsubtable - 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[FilterFree Style Args] - Free Style Filters The structure of
free_style
block is documented below. - get_
all_ strtables - 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
. - dynamic
Sort StringSubtable - 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.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch String - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic String - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles List<Property Map> - Free Style Filters The structure of
free_style
block is documented below. - get
All StringTables - 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
. - local
Traffic String - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic String - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery String - Enable/disable netscan discovery event logging.
- netscan
Vulnerability String - Enable/disable netscan vulnerability event logging.
- severity String
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic 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
. - ztna
Traffic 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.
- 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
. - Dynamic
Sort stringSubtable - 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
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - Forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - Free
Styles List<Pulumiverse.Fortios. Log. Syslogd. V2. Inputs. Filter Free Style> - Free Style Filters The structure of
free_style
block is documented below. - Get
All stringTables - 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
. - Local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - Multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - Netscan
Discovery string - Enable/disable netscan discovery event logging.
- Netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- Severity string
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - Sniffer
Traffic 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
. - Ztna
Traffic 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
. - Dynamic
Sort stringSubtable - 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.
- Filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - Forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - Forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - Free
Styles []FilterFree Style Args - Free Style Filters The structure of
free_style
block is documented below. - Get
All stringTables - 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
. - Local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - Multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - Netscan
Discovery string - Enable/disable netscan discovery event logging.
- Netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- Severity string
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - Sniffer
Traffic 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
. - Ztna
Traffic 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
. - dynamic
Sort StringSubtable - 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.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch String - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic String - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles List<FilterFree Style> - Free Style Filters The structure of
free_style
block is documented below. - get
All StringTables - 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
. - local
Traffic String - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic String - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery String - Enable/disable netscan discovery event logging.
- netscan
Vulnerability String - Enable/disable netscan vulnerability event logging.
- severity String
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic 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
. - ztna
Traffic 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
. - dynamic
Sort stringSubtable - 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.
- filter
Type string - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch string - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic string - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles FilterFree Style[] - Free Style Filters The structure of
free_style
block is documented below. - get
All stringTables - 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
. - local
Traffic string - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic string - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery string - Enable/disable netscan discovery event logging.
- netscan
Vulnerability string - Enable/disable netscan vulnerability event logging.
- severity string
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic 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
. - ztna
Traffic 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_ strsubtable - 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[FilterFree Style Args] - Free Style Filters The structure of
free_style
block is documented below. - get_
all_ strtables - 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
. - dynamic
Sort StringSubtable - 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.
- filter
Type String - Include/exclude logs that match the filter. Valid values:
include
,exclude
. - forti
Switch String - Enable/disable Forti-Switch logging. Valid values:
enable
,disable
. - forward
Traffic String - Enable/disable forward traffic logging. Valid values:
enable
,disable
. - free
Styles List<Property Map> - Free Style Filters The structure of
free_style
block is documented below. - get
All StringTables - 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
. - local
Traffic String - Enable/disable local in or out traffic logging. Valid values:
enable
,disable
. - multicast
Traffic String - Enable/disable multicast traffic logging. Valid values:
enable
,disable
. - netscan
Discovery String - Enable/disable netscan discovery event logging.
- netscan
Vulnerability String - Enable/disable netscan vulnerability event logging.
- severity String
- Lowest severity level to log. Valid values:
emergency
,alert
,critical
,error
,warning
,notification
,information
,debug
. - sniffer
Traffic 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
. - ztna
Traffic String - Enable/disable ztna traffic logging. Valid values:
enable
,disable
.
Supporting Types
FilterFreeStyle, FilterFreeStyleArgs
- Category string
- Log category.
- Filter string
- Free style filter string.
- Filter
Type 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.
- Filter
Type 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.
- filter
Type 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.
- filter
Type 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.
- filter
Type 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.