add more json examples, fix up existing ones

This commit is contained in:
Jeff Bryner 2015-05-04 09:42:01 -07:00
Родитель c0d9e5955d
Коммит 3d89b5a153
1 изменённых файлов: 64 добавлений и 4 удалений

Просмотреть файл

@ -262,16 +262,17 @@ Examples
{
"timestamp": "2014-02-14T11:48:19.035762739-05:00",
"hostname": "fedbox",
"hostname": "somemachine.in.your.company.com",
"processname": "/path/to/your/program.exe",
"processid": 3380,
"severity": "INFO",
"summary": "joe login failed",
"category": "authentication",
"source": "",
"source": "ldap",
"tags": [
"MySystem",
"Authentication"
"ldap",
"adminAccess",
"failure"
],
"details": {
"user": "joe",
@ -281,6 +282,65 @@ Examples
}
.. code-block:: javascript
{
"category": "netflow",
"tags": [
"netflow",
"network"
],
"timestamp": "2015-05-04T16:36:52.336527+00:00",
"summary": "10.247.28.2:60469 --> 2.192.38.177:6824",
"details": {
"protocol": 6,
"destinationmask": 0,
"sourceipv4address": "10.247.28.2",
"nexthop": "0.0.0.0",
"unixnanoseconds": 0,
"site": "site1",
"tcpflags": 16,
"enginetype": 0,
"engineid": 0,
"uptime": 96215086,
"tos": 0,
"hostname": "fw1.site1.somewhere.net",
"version": 5,
"unixseconds": 1430757412,
"sourceport": 60469,
"destinationport": 6824,
"flowsequence": 93808622,
"octets": 1656,
"destinationipgeolocation": {
"city": "Beijing",
"region_code": "22",
"area_code": 0,
"time_zone": "Asia/Harbin",
"dma_code": 0,
"metro_code": null,
"country_code3": "CHN",
"latitude": 39.9289,
"postal_code": null,
"longitude": 116.38830000000002,
"country_code": "CN",
"country_name": "China",
"continent": "AS"
},
"samplinginterval": 100,
"sourceasn": 0,
"sourceipaddress": "10.247.28.2",
"count": 29,
"destinationipaddress": "2.192.38.177",
"last": 96205073,
"sourcemask": 21,
"packets": 4,
"destinationasn": 0,
"sitetype": "office",
"destinationipv4address": "2.192.38.177",
"first": 96161074
}
}
Writing alerts
--------------