Spaces:
Sleeping
Sleeping
Commit
·
c94b474
1
Parent(s):
0637514
Correction of "log" log type
Browse files
config/log_definitions.py
CHANGED
|
@@ -52,12 +52,12 @@ log_definitions = {
|
|
| 52 |
"log": {
|
| 53 |
"sep": ";",
|
| 54 |
"fields": [
|
| 55 |
-
{"name": "timestamp", "pos": 0, "type":
|
| 56 |
-
{"name": "ipsource", "pos": 1, "type":
|
| 57 |
{"name": "ipdestination", "pos": 2, "type": str},
|
| 58 |
{"name": "protocole", "pos": 3, "type": str},
|
| 59 |
-
{"name": "portsource", "pos": 4, "type":
|
| 60 |
-
{"name": "portdest", "pos": 5, "type":
|
| 61 |
{"name": "regle1", "pos": 6, "type": str},
|
| 62 |
{"name": "status", "pos": 7, "type": str},
|
| 63 |
{"name": "interface", "pos": 8, "type": str},
|
|
|
|
| 52 |
"log": {
|
| 53 |
"sep": ";",
|
| 54 |
"fields": [
|
| 55 |
+
{"name": "timestamp", "pos": 0, "type": "datetime"},
|
| 56 |
+
{"name": "ipsource", "pos": 1, "type": str},
|
| 57 |
{"name": "ipdestination", "pos": 2, "type": str},
|
| 58 |
{"name": "protocole", "pos": 3, "type": str},
|
| 59 |
+
{"name": "portsource", "pos": 4, "type": int},
|
| 60 |
+
{"name": "portdest", "pos": 5, "type": int},
|
| 61 |
{"name": "regle1", "pos": 6, "type": str},
|
| 62 |
{"name": "status", "pos": 7, "type": str},
|
| 63 |
{"name": "interface", "pos": 8, "type": str},
|