Striim 3.9.4 / 3.9.5 documentation

Using the REPORT START / STOP command

The report command's synatax is:

report { start | stop } <namespace>.<application>;

Use this command to get precise details about what an application has been doing. The namespace may be omitted if the application is in the current namespace.

The application must be deployed or running when you issue the report start. Here is an example using MultiLogApp, which processed all of its data before the report stop.

W (Samples) > report start multilogapp;
Processing - report start multilogapp
-> SUCCESS 
Elapsed time: 11 ms
W (Samples) > start application multilogapp;
Processing - start application multilogapp
-> SUCCESS 
Elapsed time: 4043 ms
W (Samples) > report stop multilogapp;
Processing - report stop multilogapp
Total Events - 2898802
First Event Time - 14:46:30

First Event - {"timeStamp":"2017-02-23T14:46:30.973-08:00","data":["216.103.201.86","-",
"EHernandez","10/Feb/2014:12:13:51.037 -0800","GET http://cloud.saas.me/login&
jsessionId=01e3928f-e059-6361-bdc5-14109fcf2383 HTTP/1.1","200","21560","-",
"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)","1606"],
"metadata":{"RecordOffset":0,"RecordStatus":"VALID_RECORD","FileName":"access_log",
"RecordEnd":237,"FileOffset":0},"before":null,"dataPresenceBitMap":"AAA=",
"beforePresenceBitMap":"AAA=","typeUUID":null,"idstring":"01e6fa19-eb45-ded1-a5e4-685b3587069e"}
Last Event Time - 14:47:27
Last Event - {"timeStamp":"2017-02-23T14:47:27.038-08:00","data":["206.93.30.161","-",
"EMorris","11/Feb/2014:10:20:52.043 -0800","GET http://cloud.saas.me/getUpdated?
type=ChatterMessage&id=01e39290-79a3-2dd2-bdc5-14109fcf2383&jsessionId=
01e39290-799f-3637-bdc5-14109fcf2383 HTTP/1.1","200","35712","-",
"Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0","972"],
"metadata":{"RecordOffset":479236678,"RecordStatus":"VALID_RECORD","FileName":"access_log",
"RecordEnd":479236986,"FileOffset":0},"before":null,"dataPresenceBitMap":"AAA=",
"beforePresenceBitMap":"AAA=","typeUUID":null,"idstring":"01e6fa1a-0cb0-b625-a5e4-685b3587069e"}

Average Throughput for this interval - 51000
Total Wactions created - 5850
Last Waction created at - 14:47:27

Last Waction - {"internalWactionStoreName":"Samples_UnusualActivity","wactionTs":
"2017-02-23T14:47:27.408-08:00","key":"75.201.196.173","mapKey":
{"id":"01e6fa1a-0ce9-2b03-a5e4-685b3587069e","key":"75.201.196.173"},"wactionStatus":0,
"position":null,"typeOfActivity":"ZeroContent","accessTime":1392142812204,
"accessSessionId":"01e39290-7985-4599-bdc5-14109fcf2383","srcIp":"75.201.196.173",
"userId":"AWhite","country":"United States","city":null,"lat":38.0,"lon":-97.0,
"accessTimeAsLong":1392142812204,"events":[{"_id":null,"timeStamp":1487890047407,
"originTimeStamp":0,"key":null,"accessTime":1392142812204,"accessSessionId":
"01e39290-7985-4599-bdc5-14109fcf2383","srcIp":"75.201.196.173","userId":"AWhite",
"request":"GET http://cloud.saas.me/query?type=ChatterActivity&
id=01e39290-798d-0dc9-bdc5-14109fcf2383&jsessionId=01e39290-7985-4599-bdc5-14109fcf2383 
HTTP/1.1","code":200,"size":0,"referrer":"-","userAgent":"Mozilla/5.0 (Windows NT 6.0) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.69 Safari/537.36","responseTime":883,
"logTime":1392142812204,"logSessionId":"01e39290-7985-4599-bdc5-14109fcf2383",
"level":"WARN","message":"Issue in API call [api=query] [session=01e39290-7985-4599-bdc5-
14109fcf2383] [user=AWhite] [sobject=ChatterActivity]","api":"query",
"sobject":"ChatterActivity","xception":"com.me.saas.SaasMultiApplication$SaasException: 
Issue in API call [api=query] [session=01e39290-7985-4599-bdc5-14109fcf2383] [user=AWhite] 
[sobject=ChatterActivity]\n\tat com.me.saas.SaasMultiApplication.query
(SaasMultiApplication.java:1069)\n\tat sun.reflect.GeneratedMethodAccessor2.invoke
(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:606)
\n\tat com.me.saas.SaasMultiApplication$ObjectApiCall.invoke(SaasMultiApplication.java:216)
\n\tat com.me.saas.SaasMultiApplication$Session.invokeAPI(SaasMultiApplication.java:1500)
\n\tat com.me.saas.SaasMultiApplication.main(SaasMultiApplication.java:1626)",
"className":"com.me.saas.SaasMultiApplication","method":"query",
"fileName":"SaasMultiApplication.java","lineNum":"1072",
"idstring":"01e6fa1a-0ce9-0413-a5e4-685b3587069e"}]}