mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-16 05:53:09 +01:00
30 lines
869 B
JSON
30 lines
869 B
JSON
{
|
|
"package": {
|
|
"name": "log",
|
|
"version": ""
|
|
},
|
|
"name": "import-suricata-logs",
|
|
"namespace": "so",
|
|
"description": "Import Suricata logs",
|
|
"policy_id": "so-grid-nodes",
|
|
"inputs": {
|
|
"logs-logfile": {
|
|
"enabled": true,
|
|
"streams": {
|
|
"log.log": {
|
|
"enabled": true,
|
|
"vars": {
|
|
"paths": [
|
|
"/nsm/import/*/suricata/eve*.json"
|
|
],
|
|
"data_stream.dataset": "import",
|
|
"tags": [],
|
|
"processors": "- add_fields:\n target: event\n fields:\n category: network\n module: suricata\n imported: true\n- dissect:\n tokenizer: \"/nsm/import/%{import.id}/suricata/%{import.file}\"\n field: \"log.file.path\"\n target_prefix: \"\"",
|
|
"custom": "pipeline: suricata.common"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|