---
title: "Forward ARX audit logs to Splunk or a SIEM"
description: "Create an HEC token in Splunk, add a forwarding destination in Log Center and send a test message, and forward to other log platforms over Syslog or OTLP"
canonical_url: "https://docs.ardge.com/en/knowledge/arx-os/log-forwarding"
---
# Forward ARX audit logs to Splunk or a SIEM

> Create an HEC token in Splunk, add a forwarding destination in Log Center and send a test message, and forward to other log platforms over Syslog or OTLP

## Overview

Log Center records who connected to ARX, who changed a setting, and what the system and applications did. Companies usually collect every system's records in a SIEM or log platform, so they can trace events across systems and keep the records as long as audit rules require, regardless of each device's storage.

**Log Forwarding** sends a live copy of every new ARX log to the destinations you choose. The local records in Log Center are unaffected.

This article walks through the full setup with Splunk HEC, then covers the key Syslog and OTLP settings.

## What you'll learn

- Create an HTTP Event Collector (HEC) token in Splunk
- Add a forwarding destination in Log Center and confirm the connection with a test message
- Read destination status and handle forwarding failures

**Estimated time: about 15 minutes**

## Applies to

- ARX OS 1.1.0 and later

## Before you begin

- You have administrator rights in Splunk and can create HEC tokens
- ARX can reach Splunk's HEC port (`8088` by default)
- Your ARX account has read-write permission for Log Center

## What you'll need

| Information | Used for | Where to get it |
| --- | --- | --- |
| **Endpoint URL** | The address ARX sends logs to, in the form `https://<Splunk host>:8088/services/collector` | Your Splunk administrator |
| **HEC token** | Authenticates ARX when it sends | Created in Step 1 |
| **Index** (optional) | The Splunk index the logs are written to; leave it blank to use the token's default index | Your Splunk administrator |
| **CA certificate** (optional) | Verifies the Splunk server's certificate; needed when Splunk uses a certificate issued by an enterprise CA | IT or your PKI administrator |

## Step 1: Create an HEC token in Splunk

These steps use Splunk Enterprise:

1. Sign in to Splunk Web as an administrator and go to **Settings › Data Inputs › HTTP Event Collector**
2. Click **Global Settings**, set **All Tokens** to **Enabled**, and click **Save**
3. Click **New Token**, enter a name (for example, `arx-audit`), and click **Next**
4. Choose the index to write to, click **Review**, then click **Submit**
5. Copy the **Token Value** shown on screen

## Step 2: Add a destination in Log Center

1. Open **Log Center** and click **Log Forwarding** on the left
2. Click **Add Destination**
3. Set **Destination Type** to **Splunk HEC**
4. Fill in the fields as follows:

| Field | Value |
| --- | --- |
| **Endpoint URL** | Splunk's HEC endpoint, for example `https://splunk.example.com:8088/services/collector` |
| **HEC Token** | The token you copied in Step 1 |
| **Index** | The index to write to; leave it blank to use the token's default index |
| **Source** / **Source Type** | Optional; leave them blank to let Splunk decide |
| **CA Certificate** | If Splunk uses a certificate issued by an enterprise CA, upload that CA's certificate (`.pem`, `.crt` or `.cer`) |
| **Log Type** | **All** forwards both the event log and the access log; you can also pick only **Event Log** or **Access Log** |

![Adding a Splunk HEC destination](https://docs.ardge.com/screenshots/guide/en/log-08.webp)

5. Click **Send Test Message**, then search the index in Splunk to confirm the test message arrived
6. Once it checks out, click **Save**

<note>

**Without a CA certificate:**

The connection is still encrypted over HTTPS, but ARX doesn't verify the Splunk server's certificate, so it can't confirm the server's identity. Upload the CA certificate in production.

</note>

## Step 3: Check the forwarding status

Once saved, the destination is enabled by default and starts forwarding within seconds. Only logs created after that are forwarded; earlier records aren't sent.

The **Status** column in the list refreshes every 30 seconds:

| Status | Meaning | What to do |
| --- | --- | --- |
| **Active** | The last send succeeded | Nothing |
| **Retrying** | A send failed and is being retried | Check the Splunk service and the network connection |
| **Error** | Sends have failed for more than 10 minutes, or an error occurred that retrying can't fix | Hover over the icon beside the status to see why, then fix the settings |

When a destination is temporarily unreachable, logs are buffered on ARX and sent in time order once the connection returns. Buffered logs are also sent automatically once you fix a settings error.

## Forward to other log platforms

### Syslog

For Syslog servers and most SIEMs that accept Syslog (such as QRadar).

- **Protocol** — defaults to **TLS** (encrypted). **TCP** guarantees delivery but isn't encrypted. **UDP** doesn't guarantee delivery, so messages may be lost when the network is congested
- **Message Format** — choose **RFC 5424** (default) or **RFC 3164**, depending on what the receiver supports
- Over UDP, ARX can't tell whether the receiver got the message, so the status always shows **None**, and nothing is buffered or resent

### OTLP

For an OpenTelemetry Collector, or an observability platform that supports the OpenTelemetry Protocol.

- **Protocol** — **HTTP** or **gRPC**, to match the receiver
- **Authentication** — **None**, **Bearer Token**, **Basic** or **API Key Header**, as the receiver requires

## Common questions

### Can the buffer fill up the device?

Each destination buffers up to 128 MB, so five destinations use about 640 MB at most. When a buffer is full, new logs stop joining its queue and the buffered logs are kept; Log Center's local records are saved as usual. Forwarding resumes automatically once the connection returns and the queue has room again.

### Are logs from a paused period sent later?

No. Logs created while a destination is paused aren't buffered, and buffered logs that hadn't been sent before the pause are cleared. If you need a complete record, don't pause a destination during an audit period.

### Does editing a destination interrupt forwarding?

No. Until you save, logs keep going out under the old settings. After you save, new logs and any buffered logs still waiting are sent under the new settings.

## Related articles

- [Log Center](https://docs.ardge.com/en/guide/monitor-and-troubleshoot/log-center)
- [Which connection attempts get blocked?](https://docs.ardge.com/en/knowledge/arx-os/blocked-connections)


## Sitemap

See the full [sitemap](https://docs.ardge.com/sitemap.md) for all pages.
