You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Isuru Haththotuwa <is...@apache.org> on 2014/10/01 07:19:24 UTC

Re: Use of the metaData field in log publishing to BAM

Hi Chamila,

Currently, do we use the meta data field to publish any data in Stratos? Or
do you have such a requirement?

AFAIU, payload data contains the main information that we need to publish.
The separate meta data and correlation data is a logical separation of
data, and usage depends on the actual usecase. For an example, it might be
useful to have this separation if we are to analyze the data that was
published, and we need to separate out data in some way.

On Tue, Sep 30, 2014 at 11:45 PM, Chamila De Alwis <ch...@wso2.com>
wrote:

> Hi guys,
>
> Any idea on this?
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Tue, Sep 30, 2014 at 1:39 PM, Chamila De Alwis <ch...@wso2.com>
> wrote:
>
>> Hi,
>>
>> In the cartridge agent, when publishing log entries to the monitoring
>> server, a metaData entry for member ID is added in addition to the payload.
>>
>> As per this[1] thread on StackOverflow, BAM (or CEP) does not consider
>> the metaData apart from payloadData. Meta data and correlation data are
>> specified as a logical separation.
>>
>> From Stratos, is there a usage of this member metadata field?
>>
>> [1] -
>> http://stackoverflow.com/questions/26033755/what-is-meta-data-correlation-data-and-payload-data-in-wso2-cep
>>
>>
>>
>> Regards,
>> Chamila de Alwis
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>> --
>> <http://code.chamiladealwis.com>
>> Thanks and Regards,
>>
>> Isuru H.
>> <http://code.chamiladealwis.com>
>> +94 716 358 048 <http://code.chamiladealwis.com>* <http://wso2.com/>*
>>
>>
>> * <http://wso2.com/>*
>>
>>
>>

Re: Use of the metaData field in log publishing to BAM

Posted by Chamila De Alwis <ch...@wso2.com>.
Hi Isuru,


On Wed, Oct 1, 2014 at 10:49 AM, Isuru Haththotuwa <is...@apache.org>
wrote:

> Currently, do we use the meta data field to publish any data in Stratos?
> Or do you have such a requirement?
>

We are adding the metadata field in the current implementation.

>
> AFAIU, payload data contains the main information that we need to publish.
> The separate meta data and correlation data is a logical separation of
> data, and usage depends on the actual usecase. For an example, it might be
> useful to have this separation if we are to analyze the data that was
> published, and we need to separate out data in some way.


Yes, the databridge just writes the data in the order they appear to the
stream. However in Stratos do we have a scenario where the aggregated data
are analyzed based on the metadata?



Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com