# Fortinet Fortigate via Radiant Agent

In this guide, you will configure syslog log forwarding for Fortinet Fortigate via Radiant Agent.

{% hint style="info" %}
To use Fortinet FortiAnalyzer to forward Fortigate syslog to Radiant Security, refer to the [Fortinet FortiAnalyzer (syslog) documentation](https://help.radiantsecurity.ai/~/revisions/lKcvF0ITeM8cVhUuHU84/radiant-connectors/data-connectors/fortinet-fortianalyzer-syslog)
{% endhint %}

### Add the data connector in Radiant Security

1. Log in to [Radiant Security](https://app.radiantsecurity.ai/).
2. From the navigation menu, click **Settings** > **Data Connectors** and click **+ Add Connector**.
3. Search for and select the **Radiant Agent** option and then click **Data Feeds**.
4. Under **Select your data feeds**, select the **Fortinet Fortigate v7** data feed and click **Credentials**.
5. Under **Credential Name**, give the credential an identifiable name (e.g. `Radiant Agent integration`). If you already have a Radiant Agent in place, select it from the drop-down menu.
6. Click **Add Connector**.

### Configure syslog directly from FortiGate Firewalls

The steps below must be applied on all Fortigate firewalls that should forward syslog to Radiant Security. Use the following help article as a reference: [Log settings and targets](https://docs.fortinet.com/document/fortigate/7.4.1/administration-guide/250999/log-settings-and-targets).

Log into the FortiGate CLI and configure the following syslogd setting:

{% hint style="warning" %}
Make sure to replace the `server` placeholder with the private IP of the VM where the agent is installed, and the `port` one by the port configured for the Fortigate Firewall data type (if you don't know the port, please reach out to your Customer Success rep.)
{% endhint %}

```jsx
config log syslogd setting
    set status enable
    set server <INTERNAL_IP_OF_YOUR_RADIANT_AGENT>
    set mode reliable
    set port <PORT_CONFIGURED_IN_YOUR_AGENT_TO_RECEIVE_FORTIGATE_DATA>
    set enc-algorithm disable
end
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.radiantsecurity.ai/radiant-connectors/data-connectors/fortinet-fortigate-via-radiant-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
