summaryrefslogtreecommitdiff
path: root/schema/daemon_event_schema.json
blob: 7a40a6ca088ae7e861ca92216f9e03fc26f685fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
    "type": "object",
    "required": [
        "alias",
        "source",
        "thread_id",
        "packet_id",
        "daemon_event_id",
        "daemon_event_name"
    ],
    "properties": {
        "alias": {
            "type": "string"
        },
        "source": {
            "type": "string"
        },
        "thread_id": {
            "type": "number",
            "minimum": 0,
            "maximum": 31
        },
        "packet_id": {
            "type": "number",
            "minimum": 0
        },
        "daemon_event_id": {
            "type": "number",
            "minimum": 0,
            "maximum": 3
        },
        "daemon_event_name": {
            "type": "string",
            "enum": [
                "invalid",
                "init",
                "reconnect",
                "shutdown"
            ]
        },
        "max-flows-per-thread": {
            "type": "number"
        },
        "max-idle-flows-per-thread": {
            "type": "number"
        },
        "tick-resolution": {
            "type": "number"
        },
        "reader-thread-count": {
            "type": "number"
        },
        "idle-scan-period": {
            "type": "number"
        },
        "max-idle-time": {
            "type": "number"
        },
        "tcp-max-post-end-flow-time": {
            "type": "number"
        },
        "max-packets-per-flow-to-send": {
            "type": "number"
        }
    },
    "additionalProperties": false
}