Skip to content

Commit bf5befa

Browse files
authored
Fix suricata input docs (influxdata#7856)
1 parent ef262b1 commit bf5befa

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

plugins/inputs/suricata/README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ stats output to, and processes the incoming data to fit Telegraf's format.
88
### Configuration
99

1010
```toml
11-
[[input.suricata]]
11+
[[inputs.suricata]]
1212
## Data sink for Suricata stats log.
1313
# This is expected to be a filename of a
1414
# unix socket to be created for listening.
@@ -111,6 +111,19 @@ output in the Suricata configuration file:
111111
threads: yes
112112
```
113113
114+
#### FreeBSD tuning
115+
116+
117+
Under FreeBSD it is necessary to increase the localhost buffer space to at least 16384, default is 8192
118+
otherwise messages from Suricata are truncated as they exceed the default available buffer space,
119+
consequently no statistics are processed by the plugin.
120+
121+
```text
122+
sysctl -w net.local.stream.recvspace=16384
123+
sysctl -w net.local.stream.sendspace=16384
124+
```
125+
126+
114127
### Example Output
115128

116129
```text

0 commit comments

Comments
 (0)