Shall we add headers as a separate fields instead of as a one field? But
the problem is headers size can be changed time to time. ​Due to that we
can add headers as an arbitrary value, but then again those headers
property details will not reflect on stream definition.

WDYT?


On Fri, Jun 13, 2014 at 5:35 AM, Chintana Wilamuna <[email protected]>
wrote:

> Is it possible to get the username if a user is logged?
>
>     -Chintana
>
>
> On Thu, Jun 12, 2014 at 11:20 AM, Chamil Jeewantha <[email protected]>
> wrote:
>
>> The Data Stream definition of AS - BAM data stream given below. The 
>> full_message is true that means the record contains header, request_payload 
>> & response_payload. Otherwise those three are null. The full_message can be 
>> enabled if full details about the calls are needed.
>>
>>
>> {  'name':'http_monitoring',
>>
>>   'version':'1.0.0',
>>
>>
>>
>>   'nickName': 'AS Http Stats',
>>
>>   'description': 'All the HTTP monitoring data from AS will be coming 
>> through this stream.',
>>
>>
>>
>>   'metaData':[
>>
>>
>>
>>           {'name':'full_message','type':'BOOL'},
>>   ],
>>
>>   'payloadData':[
>>
>>           {'name':'application_name','type':'STRING'},
>>
>>           {'name':'cluster_id','type':'STRING'},
>>
>>           {'name':'tenant_id','type':'INT'},
>>
>>        {'name':'application_type','type':'STRING'},
>>
>>           {'name':'node_name','type':'STRING'},
>>
>>           {'name':'request_datetime','type':'STRING'},
>>
>>           {'name':'response_time','type':'INT'},
>>
>>           {'name':'response_status','type':'INT'},
>>
>>           {'name':'session_id','type':'STRING'},
>>
>>           {'name':'request_payload_size','type':'INT'},
>>
>>           {'name':'response_payload_size','type':'INT'},
>>
>>           {'name':'content-type','type':'STRING'},
>>
>>           {'name':'browser','type':'STRING'},
>>
>>           {'name':'os','type':'STRING'},
>>
>>           {'name':'language','type':'STRING'},
>>
>>           {'name':'device_type','type':'STRING'},
>>
>>           {'name':'client_ip','type':'STRING'},
>>
>>           {'name':'request_url','type':'STRING'},
>>
>>           {'name':'referrer_url','type':'STRING'},
>>
>>           {'name':'headers','type':'STRING'},
>>
>>           {'name':'http_request_payload','type':'STRING'},
>>
>>           {'name':'http_response_payload','type':'STRING'}
>>
>>   ]}
>>
>>
>> --
>> K.D. Chamil Jeewantha
>> Associate Technical Lead
>> WSO2, Inc.;  http://wso2.com
>> Mobile: +94716813892
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Chintana Wilamuna
> Architect - Solutions Architecture
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> phone: +1 408 429 3321
> blog: http://engwar.com/
> photos: http://flickr.com/photos/chintana
> linkedin: http://www.linkedin.com/in/engwar
> twitter: twitter.com/std_err
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +94772272595
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to