---
title: suricata
description: Gain insights into Suricata logs.
breadcrumbs: Docs > Integrations > suricata
---

# suricata
Supported OS Integration version2.2.0            Suricata - OverviewSuricata - AlertSuricata - AnomalySuricata - FlowSuricata - DNSSuricata - DHCPSuricata - Network ProtocolsSuricata - SMB (DCERPC, NTLMSSP, Kerberos)
## Overview{% #overview %}

[Suricata](https://suricata.io/) is a high performance, open source network analysis and threat detection software used by most private and public organizations, and embedded by major vendors to protect their assets.

This integration provides enrichment and visualization for Alert, Anomaly, HTTP, DNS, FTP, FTP_DATA, TLS, TFTP, SMB, SSH, Flow, RDP, DHCP, and ARP log types. It helps to visualize detailed insights into Alerts, Anomaly, network connections, DNS, and DHCP activity, as well as detailed network protocol analysis in the integration's out-of-the-box dashboards.

**Minimum Agent version:** 7.57.0

## Setup{% #setup %}

### Installation{% #installation %}

To install the Suricata integration, run the following Agent installation command and follow the steps below. For more information, see the [Integration Management](https://docs.datadoghq.com/agent/guide/integration-management/?tab=linux#install) documentation.

**Note**: This step is not necessary for Agent versions >= 7.57.0.

For Linux, run:

```shell
sudo -u dd-agent -- datadog-agent integration install datadog-suricata==1.0.0
```

### Configuration{% #configuration %}

#### Log collection{% #log-collection %}

1. Collecting logs is disabled by default in the Datadog Agent. Enable it in the `datadog.yaml` file:

   ```yaml
   logs_enabled: true
   ```

1. Add this configuration block to your `suricata.d/conf.yaml` file to start collecting your Suricata logs.

See the [sample suricata.d/conf.yaml](https://github.com/DataDog/integrations-core/blob/master/suricata/datadog_checks/suricata/data/conf.yaml.example) for available configuration options.

   ```yaml
   logs:
     - type: file
       path: /var/log/suricata/eve.json
       service: suricata
       source: suricata
   ```

**Note**: Make sure you have `eve-log` output logging enabled in the `suricata.yaml` file of the Suricata application, and that you've address the following points:

   1. In the `suricata.yaml` file, keep `filetype` parameter as `regular` in `eve-log` configurations.
   1. The default path of Suricata's output files is `/var/log/suricata`, and the default filename is `eve.json`. If you have changed the default path and filename, update the `path` parameter in your `conf.yaml` file accordingly.

1. [Restart the Agent](https://docs.datadoghq.com/agent/guide/agent-commands/#start-stop-and-restart-the-agent).

### Validation{% #validation %}

[Run the Agent's status subcommand](https://docs.datadoghq.com/agent/guide/agent-commands/#agent-status-and-information) and look for `suricata` under the Checks section.

## Data Collected{% #data-collected %}

### Logs{% #logs %}

The Suricata integration collects the following log types.

| Format | Event Types                                                                         |
| ------ | ----------------------------------------------------------------------------------- |
| JSON   | alert, anomaly, http, dns, ftp, ftp_data, tls. tftp, smb, ssh, flow, rdp, dhcp, arp |

### Metrics{% #metrics %}

The Suricata integration does not include any metrics.

### Events{% #events %}

The Suricata integration does not include any events.

### Service Checks{% #service-checks %}

The Suricata integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

If you see a **Permission denied** error while monitoring the log files, give the `dd-agent` user read permission on them.

```shell
sudo chown -R dd-agent:dd-agent /var/log/suricata/eve.json
```

For any further assistance, contact [Datadog support](https://docs.datadoghq.com/help/).
