File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ stats output to, and processes the incoming data to fit Telegraf's format.
8
8
### Configuration
9
9
10
10
``` toml
11
- [[input .suricata ]]
11
+ [[inputs .suricata ]]
12
12
# # Data sink for Suricata stats log.
13
13
# This is expected to be a filename of a
14
14
# unix socket to be created for listening.
@@ -111,6 +111,19 @@ output in the Suricata configuration file:
111
111
threads : yes
112
112
` ` `
113
113
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
+
114
127
### Example Output
115
128
116
129
``` text
You can’t perform that action at this time.
0 commit comments