-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_config.json
95 lines (95 loc) · 2.53 KB
/
example_config.json
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"authURI": "https://www.crashplan.com/c42api/v3/auth/jwt?useBody=true",
"ffsURI": "https://forensicsearch-default.prod.ffs.us2.code42.com/forensic-search/queryservice/api/v1/fileevent/export",
"ffsQueries": [{
"name": "example_query_1",
"username": "[email protected]",
"password": "<password>",
"interval": "5s",
"timeGap": "10s",
"query": {
"groups": [
{
"filters": [
{
"operator": "IS",
"term": "fileName",
"value": "*"
},
{
"operator": "ON_OR_AFTER",
"term": "insertionTimestamp",
"value": "2019-08-29T16:31:48.728Z"
},
{
"operator": "ON_OR_BEFORE",
"term": "insertionTimestamp",
"value": ""
}
],
"filterClause": "AND"
}
]
},
"outputType": "elastic",
"outputLocation": "/path/to/output",
"ip-api": {
"enabled": true,
"url": "http://ip-api.com/",
"apiKey": "",
"fields": "status,message,continent,continentCode,country,countryCode,region,regionName,city,district,zip,lat,lon,timezone,isp,org,as,asname,reverse,mobile,proxy",
"lang": ""
},
"elasticsearch": {
"numberOfShards": 1,
"numberOfReplicas": 0,
"indexName": "crashplan",
"indexTimeAppend": "2006-01-02",
"indexTimeGen": "onOrBefore",
"elasticUrl": "http://elasticsearch:9200",
"basicAuth": {
"user": "",
"password": ""
},
"protocol": "http",
"aliases": ["test1","test2"]
}
},
{
"name": "example_query_2",
"username": "[email protected]",
"password": "<password>",
"interval": "5s",
"timeGap": "15s",
"query": {
"groups": [
{
"filters": [
{
"operator": "IS",
"term": "fileName",
"value": "*"
},
{
"operator": "ON_OR_AFTER",
"term": "insertionTimestamp",
"value": "2019-08-29T16:31:48.727Z"
},
{
"operator": "ON_OR_BEFORE",
"term": "insertionTimestamp",
"value": "2019-08-29T16:31:48.727Z"
}
],
"filterClause": "AND"
}
]
},
"outputType": "file",
"outputLocation": "/path/to/output"
}],
"prometheus": {
"enabled": true,
"port": 8080
}
}