mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-16 05:53:09 +01:00
30 lines
787 B
JSON
30 lines
787 B
JSON
{
|
|
"package": {
|
|
"name": "log",
|
|
"version": ""
|
|
},
|
|
"name": "kratos-logs",
|
|
"namespace": "so",
|
|
"description": "Kratos logs",
|
|
"policy_id": "so-grid-nodes_general",
|
|
"inputs": {
|
|
"logs-logfile": {
|
|
"enabled": true,
|
|
"streams": {
|
|
"log.log": {
|
|
"enabled": true,
|
|
"vars": {
|
|
"paths": [
|
|
"/opt/so/log/kratos/kratos.log"
|
|
],
|
|
"data_stream.dataset": "kratos",
|
|
"tags": ["so-kratos"],
|
|
"processors": "- decode_json_fields:\n fields: [\"message\"]\n target: \"\"\n add_error_key: true \n- add_fields:\n target: event\n fields:\n category: iam\n module: kratos",
|
|
"custom": "pipeline: kratos"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|