You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I wanted to utilize the stream API to feed all data to internal SIEM system, however I do have issues.
Script ses-api-samples/icdm/python/eventExport.py is failing when chunk contains illegal characters (e.g. '...) json values. Seems like incorrect escaping of chars...
Line 48:
stream_response=json.loads(chunk)
If you pass following json (Note: the json string is chunk printed to console and has been stripped here becasue the rest of the data is OK for parsing):
Hi,
I wanted to utilize the stream API to feed all data to internal SIEM system, however I do have issues.
Script
ses-api-samples/icdm/python/eventExport.py
is failing whenchunk
contains illegal characters (e.g.'
...) json values. Seems like incorrect escaping of chars...Line 48:
If you pass following json (Note: the json string is chunk printed to console and has been stripped here becasue the rest of the data is OK for parsing):
The issue here is the
data
key which is not correctly formatted - but the problem is that this is 1:1 from the stream API.... what shall I do?The text was updated successfully, but these errors were encountered: