Security data format
DataStream bundles and uploads log records with security event data to a destination of your choice at selected time intervals. This depends on the log push frequency (30 or 60 seconds) you set while configuring your destination.
The only available log format for security event logs is JSON. Every log contains default data set fields matching the Security Information and Event Management (SIEM) existing API.
Each log is divided into high-level objects that describe each security event and a metadata object with limit, offset, and total parameters. For details, see Offset context in the SIEM API documentation.
Here’s a sample log line for security events:
{
"attackData": {
"appliedAction": "alert",
"clientIP": "192.0.2.82",
"configId": "14227",
"policyId": "qik1_26545",
"ruleActions": "YWxlcnQ%3d%3bYWxlcnQ%3d%3bZGVueQ%3d%3d",
"ruleData": "dGVsbmV0LmV4ZQ%3d%3d%3bdGVsbmV0LmV4ZQ%3d%3d%3bVmVjdG9yIFNjb3JlOiAxMCwgREVOWSB0aHJlc2hvbGQ6IDksIEFsZXJ0IFJ1bGVzOiA5NTAwMDI6OTUwMDA2LCBEZW55IFJ1bGU6ICwgTGFzdCBNYXRjaGVkIE1lc3NhZ2U6IFN5c3RlbSBDb21tYW5kIEluamVjdGlvbg%3d%3d",
"ruleMessages": "U3lzdGVtIENvbW1hbmQgQWNjZXNz%3bU3lzdGVtIENvbW1hbmQgSW5qZWN0aW9u%3bQW5vbWFseSBTY29yZSBFeGNlZWRlZCBmb3IgQ29tbWFuZCBJbmplY3Rpb24%3d",
"ruleSelectors": "QVJHUzpvcHRpb24%3d%3bQVJHUzpvcHRpb24%3d%3b",
"ruleTags": "T1dBU1BfQ1JTL1dFQl9BVFRBQ0svRklMRV9JTkpFQ1RJT04%3d%3bT1dBU1BfQ1JTL1dFQl9BVFRBQ0svQ09NTUFORF9JTkpFQ1RJT04%3d%3bQUtBTUFJL1BPTElDWS9DTURfSU5KRUNUSU9OX0FOT01BTFk%3d",
"ruleVersions": "NA%3d%3d%3bNA%3d%3d%3bMQ%3d%3d",
"rules": "OTUwMDAy%3bOTUwMDA2%3bQ01ELUlOSkVDVElPTi1BTk9NQUxZ"
},
"botData": {
"botScore": "100",
"responseSegment": "3"
},
"clientData": {
"appBundleId": "com.mydomain.myapp",
"appVersion": "1.23",
"sdkVersion": "4.7.1",
"telemetryType": "2"
},
"format": "json",
"geo": {
"asn": "14618",
"city": "ASHBURN",
"continent": "288",
"country": "US",
"regionCode": "VA"
},
"httpMessage": {
"bytes": "266",
"host": "www.hmapi.com",
"method": "GET",
"path": "/",
"port": "80",
"protocol": "HTTP/1.1",
"query": "option=com_jce%20telnet.exe",
"requestHeaders": "User-Agent%3a%20BOT%2f0.1%20(BOT%20for%20JCE)%0d%0aAccept%3a%20text%2fhtml,application%2fxhtml+xml,application%2fxml%3bq%3d0.9,*%2f*%3bq%3d0.8%0d%0auniqueID%3a%20CR_H8%0d%0aAccept-Language%3a%20en-US,en%3bq%3d0.5%0d%0aAccept-Encoding%3a%20gzip,%20deflate%0d%0aConnection%3a%20keep-alive%0d%0aHost%3a%20www.hmapi.com%0d%0aContent-Length%3a%200%0d%0a",
"requestId": "1158db1758e37bfe67b7c09",
"responseHeaders": "Server%3a%20AkamaiGHost%0d%0aMime-Version%3a%201.0%0d%0aContent-Type%3a%20text%2fhtml%0d%0aContent-Length%3a%20266%0d%0aExpires%3a%20Tue,%2004%20Apr%202017%2010%3a57%3a02%20GMT%0d%0aDate%3a%20Tue,%2004%20Apr%202017%2010%3a57%3a02%20GMT%0d%0aConnection%3a%20close%0d%0aSet-Cookie%3a%20ak_bmsc%3dAFE4B6D8CEEDBD286FB10F37AC7B256617DB580D417F0000FE7BE3580429E23D%7epluPrgNmaBdJqOLZFwxqQLSkGGMy4zGMNXrpRIc1Md4qtsDfgjLCojg1hs2HC8JqaaB97QwQRR3YS1ulk+6e9Dbto0YASJAM909Ujbo6Qfyh1XpG0MniBzVbPMUV8oKhBLLPVSNCp0xXMnH8iXGZUHlUsHqWONt3+EGSbWUU320h4GKiGCJkig5r+hc6V1pi3tt7u3LglG3DloEilchdo8D7iu4lrvvAEzyYQI8Hao8M0%3d%3b%20expires%3dTue,%2004%20Apr%202017%2012%3a57%3a02%20GMT%3b%20max-age%3d7200%3b%20path%3d%2f%3b%20domain%3d.hmapi.com%3b%20HttpOnly%0d%0a",
"start": "1491303422",
"status": "200"
},
"identity": {
"ja4": "t13d201100_2b729b4bf6f3_9e7b989ebec8",
"tlsFingerprintV2": "46008b1582967146",
"tlsFingerprintV3": "3~fe38c35477967146"
},
"type": "akamai_siem",
"userRiskData": {
"allow": "0",
"emailDomain": "example.com",
"general": "duc_1h:10|duc_1d:30",
"originUserId": "jsmith007",
"risk": "udfp:1325gdg4g4343g/M|unp:74256/H",
"score": "75",
"status": "0",
"trust": "ugp:US",
"username": "jsmith@example.com",
"uuid": "964d54b7-0821-413a-a4d6-8131770ec8d5"
},
"version": "1.0"
}
{
"limit": 10000,
"offset": "71cca;3phZmEdPj6YEqml0rvbdWDZGW3mCiJIwjyhkJfsLFM2gVYPgE8-N_0CiLI9gwH0_4OJ87xDQ3b-gIsx_kEBdf7aaC_AvDpG9fMxypeaCma10FKrY9VKE",
"total": 10000
}Data set fields
Unlike other data sources available in DataStream, security logs offer a default set of data set fields that mirror SIEM’s existing API schema. You can’t change the order of the fields in log lines.
These data set fields provide details on each security event including attack data, client and geographical information, and Account Protector and Bot Manager assessment (if applicable).
See SIEM API data format in the SIEM user guide for the full list of data set fields with descriptions and examples.
Updated about 24 hours ago
