1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. SystemLocallogFortianalyzerSetting
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.SystemLocallogFortianalyzerSetting

Explore with Pulumi AI

Settings for locallog to fortianalyzer.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.SystemLocallogFortianalyzerSetting("trname", {
    severity: "error",
    status: "enable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemLocallogFortianalyzerSetting("trname",
    severity="error",
    status="enable")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewSystemLocallogFortianalyzerSetting(ctx, "trname", &fortimanager.SystemLocallogFortianalyzerSettingArgs{
			Severity: pulumi.String("error"),
			Status:   pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.SystemLocallogFortianalyzerSetting("trname", new()
    {
        Severity = "error",
        Status = "enable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemLocallogFortianalyzerSetting;
import com.pulumi.fortimanager.SystemLocallogFortianalyzerSettingArgs;
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 SystemLocallogFortianalyzerSetting("trname", SystemLocallogFortianalyzerSettingArgs.builder()
            .severity("error")
            .status("enable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemLocallogFortianalyzerSetting
    properties:
      severity: error
      status: enable
Copy

Create SystemLocallogFortianalyzerSetting Resource

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

Constructor syntax

new SystemLocallogFortianalyzerSetting(name: string, args?: SystemLocallogFortianalyzerSettingArgs, opts?: CustomResourceOptions);
@overload
def SystemLocallogFortianalyzerSetting(resource_name: str,
                                       args: Optional[SystemLocallogFortianalyzerSettingArgs] = None,
                                       opts: Optional[ResourceOptions] = None)

@overload
def SystemLocallogFortianalyzerSetting(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       peer_cert_cn: Optional[str] = None,
                                       reliable: Optional[str] = None,
                                       secure_connection: Optional[str] = None,
                                       server: Optional[str] = None,
                                       severity: Optional[str] = None,
                                       status: Optional[str] = None,
                                       system_locallog_fortianalyzer_setting_id: Optional[str] = None,
                                       upload_times: Optional[Sequence[str]] = None)
func NewSystemLocallogFortianalyzerSetting(ctx *Context, name string, args *SystemLocallogFortianalyzerSettingArgs, opts ...ResourceOption) (*SystemLocallogFortianalyzerSetting, error)
public SystemLocallogFortianalyzerSetting(string name, SystemLocallogFortianalyzerSettingArgs? args = null, CustomResourceOptions? opts = null)
public SystemLocallogFortianalyzerSetting(String name, SystemLocallogFortianalyzerSettingArgs args)
public SystemLocallogFortianalyzerSetting(String name, SystemLocallogFortianalyzerSettingArgs args, CustomResourceOptions options)
type: fortimanager:SystemLocallogFortianalyzerSetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args SystemLocallogFortianalyzerSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args SystemLocallogFortianalyzerSettingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args SystemLocallogFortianalyzerSettingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args SystemLocallogFortianalyzerSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SystemLocallogFortianalyzerSettingArgs
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 systemLocallogFortianalyzerSettingResource = new Fortimanager.SystemLocallogFortianalyzerSetting("systemLocallogFortianalyzerSettingResource", new()
{
    PeerCertCn = "string",
    Reliable = "string",
    SecureConnection = "string",
    Server = "string",
    Severity = "string",
    Status = "string",
    SystemLocallogFortianalyzerSettingId = "string",
    UploadTimes = new[]
    {
        "string",
    },
});
Copy
example, err := fortimanager.NewSystemLocallogFortianalyzerSetting(ctx, "systemLocallogFortianalyzerSettingResource", &fortimanager.SystemLocallogFortianalyzerSettingArgs{
PeerCertCn: pulumi.String("string"),
Reliable: pulumi.String("string"),
SecureConnection: pulumi.String("string"),
Server: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
SystemLocallogFortianalyzerSettingId: pulumi.String("string"),
UploadTimes: pulumi.StringArray{
pulumi.String("string"),
},
})
Copy
var systemLocallogFortianalyzerSettingResource = new SystemLocallogFortianalyzerSetting("systemLocallogFortianalyzerSettingResource", SystemLocallogFortianalyzerSettingArgs.builder()
    .peerCertCn("string")
    .reliable("string")
    .secureConnection("string")
    .server("string")
    .severity("string")
    .status("string")
    .systemLocallogFortianalyzerSettingId("string")
    .uploadTimes("string")
    .build());
Copy
system_locallog_fortianalyzer_setting_resource = fortimanager.SystemLocallogFortianalyzerSetting("systemLocallogFortianalyzerSettingResource",
    peer_cert_cn="string",
    reliable="string",
    secure_connection="string",
    server="string",
    severity="string",
    status="string",
    system_locallog_fortianalyzer_setting_id="string",
    upload_times=["string"])
Copy
const systemLocallogFortianalyzerSettingResource = new fortimanager.SystemLocallogFortianalyzerSetting("systemLocallogFortianalyzerSettingResource", {
    peerCertCn: "string",
    reliable: "string",
    secureConnection: "string",
    server: "string",
    severity: "string",
    status: "string",
    systemLocallogFortianalyzerSettingId: "string",
    uploadTimes: ["string"],
});
Copy
type: fortimanager:SystemLocallogFortianalyzerSetting
properties:
    peerCertCn: string
    reliable: string
    secureConnection: string
    server: string
    severity: string
    status: string
    systemLocallogFortianalyzerSettingId: string
    uploadTimes:
        - string
Copy

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

PeerCertCn string
Certificate common name of remote fortianalyzer.
Reliable string
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
SecureConnection string
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
Server string
Remote FortiAnalyzer server FQDN, hostname, or IP address
Severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
Status string
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
SystemLocallogFortianalyzerSettingId string
an identifier for the resource.
UploadTimes List<string>
Time to upload local log files (hh:mm).
PeerCertCn string
Certificate common name of remote fortianalyzer.
Reliable string
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
SecureConnection string
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
Server string
Remote FortiAnalyzer server FQDN, hostname, or IP address
Severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
Status string
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
SystemLocallogFortianalyzerSettingId string
an identifier for the resource.
UploadTimes []string
Time to upload local log files (hh:mm).
peerCertCn String
Certificate common name of remote fortianalyzer.
reliable String
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
secureConnection String
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
server String
Remote FortiAnalyzer server FQDN, hostname, or IP address
severity String
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status String
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
systemLocallogFortianalyzerSettingId String
an identifier for the resource.
uploadTimes List<String>
Time to upload local log files (hh:mm).
peerCertCn string
Certificate common name of remote fortianalyzer.
reliable string
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
secureConnection string
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
server string
Remote FortiAnalyzer server FQDN, hostname, or IP address
severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status string
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
systemLocallogFortianalyzerSettingId string
an identifier for the resource.
uploadTimes string[]
Time to upload local log files (hh:mm).
peer_cert_cn str
Certificate common name of remote fortianalyzer.
reliable str
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
secure_connection str
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
server str
Remote FortiAnalyzer server FQDN, hostname, or IP address
severity str
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status str
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
system_locallog_fortianalyzer_setting_id str
an identifier for the resource.
upload_times Sequence[str]
Time to upload local log files (hh:mm).
peerCertCn String
Certificate common name of remote fortianalyzer.
reliable String
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
secureConnection String
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
server String
Remote FortiAnalyzer server FQDN, hostname, or IP address
severity String
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status String
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
systemLocallogFortianalyzerSettingId String
an identifier for the resource.
uploadTimes List<String>
Time to upload local log files (hh:mm).

Outputs

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

Get an existing SystemLocallogFortianalyzerSetting 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?: SystemLocallogFortianalyzerSettingState, opts?: CustomResourceOptions): SystemLocallogFortianalyzerSetting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        peer_cert_cn: Optional[str] = None,
        reliable: Optional[str] = None,
        secure_connection: Optional[str] = None,
        server: Optional[str] = None,
        severity: Optional[str] = None,
        status: Optional[str] = None,
        system_locallog_fortianalyzer_setting_id: Optional[str] = None,
        upload_times: Optional[Sequence[str]] = None) -> SystemLocallogFortianalyzerSetting
func GetSystemLocallogFortianalyzerSetting(ctx *Context, name string, id IDInput, state *SystemLocallogFortianalyzerSettingState, opts ...ResourceOption) (*SystemLocallogFortianalyzerSetting, error)
public static SystemLocallogFortianalyzerSetting Get(string name, Input<string> id, SystemLocallogFortianalyzerSettingState? state, CustomResourceOptions? opts = null)
public static SystemLocallogFortianalyzerSetting get(String name, Output<String> id, SystemLocallogFortianalyzerSettingState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemLocallogFortianalyzerSetting    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
PeerCertCn string
Certificate common name of remote fortianalyzer.
Reliable string
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
SecureConnection string
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
Server string
Remote FortiAnalyzer server FQDN, hostname, or IP address
Severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
Status string
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
SystemLocallogFortianalyzerSettingId string
an identifier for the resource.
UploadTimes List<string>
Time to upload local log files (hh:mm).
PeerCertCn string
Certificate common name of remote fortianalyzer.
Reliable string
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
SecureConnection string
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
Server string
Remote FortiAnalyzer server FQDN, hostname, or IP address
Severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
Status string
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
SystemLocallogFortianalyzerSettingId string
an identifier for the resource.
UploadTimes []string
Time to upload local log files (hh:mm).
peerCertCn String
Certificate common name of remote fortianalyzer.
reliable String
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
secureConnection String
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
server String
Remote FortiAnalyzer server FQDN, hostname, or IP address
severity String
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status String
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
systemLocallogFortianalyzerSettingId String
an identifier for the resource.
uploadTimes List<String>
Time to upload local log files (hh:mm).
peerCertCn string
Certificate common name of remote fortianalyzer.
reliable string
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
secureConnection string
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
server string
Remote FortiAnalyzer server FQDN, hostname, or IP address
severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status string
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
systemLocallogFortianalyzerSettingId string
an identifier for the resource.
uploadTimes string[]
Time to upload local log files (hh:mm).
peer_cert_cn str
Certificate common name of remote fortianalyzer.
reliable str
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
secure_connection str
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
server str
Remote FortiAnalyzer server FQDN, hostname, or IP address
severity str
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status str
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
system_locallog_fortianalyzer_setting_id str
an identifier for the resource.
upload_times Sequence[str]
Time to upload local log files (hh:mm).
peerCertCn String
Certificate common name of remote fortianalyzer.
reliable String
Enable/disable reliable realtime logging. disable - Disable reliable realtime logging. enable - Enable reliable realtime logging. Valid values: disable, enable.
secureConnection String
Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable, enable.
server String
Remote FortiAnalyzer server FQDN, hostname, or IP address
severity String
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status String
Log to FortiAnalyzer status. disable - Log to FortiAnalyzer disabled. realtime - Log to FortiAnalyzer in realtime. upload - Log to FortiAnalyzer at schedule time. Valid values: disable, realtime, upload.
systemLocallogFortianalyzerSettingId String
an identifier for the resource.
uploadTimes List<String>
Time to upload local log files (hh:mm).

Import

System LocallogFortianalyzerSetting can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systemLocallogFortianalyzerSetting:SystemLocallogFortianalyzerSetting labelname SystemLocallogFortianalyzerSetting
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

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

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.