Hello everybody,

I've been playing with Metron for a few weeks now, it is really a very exciting 
project and I'd like first to thanks all the contributors. I'm currently 
investigating around the use of profiler. I've tested it with the basic example 
of counting IP address as explained in the doc, and now it's time for questions:

-          In the various examples I've found, each profile computes only one 
value. Is it possible to do something like that:

{

  "profiles": [

    {

      "profile": "test",

      "foreach": "ip_src_addr",

      "onlyif": "exists(ip_src_addr)",

      "init":    { "count": 0 , "sum_rcvd_bytes": 0},

      "update":  { "count": "count + 1",

                   "sum_rcvd_bytes": "sum_rcvd_bytes + rcvdbyte" },

      "result":  "{'count': count, 'sum_rcvd_bytes': sum_rcvd_bytes}"

    }

  ]

}



>From the Stellar CLI, it seems to works fine, but when I try during data 
>ingest, I see no data coming into the profiler table. Please note that I've 
>waited for the 15mn, and that I have deleted data in the profiler table using 
>the "truncate_preserve"  command in hbase.

-          In case of issue, what is the right procedure to reinitialize all 
the profiler stack?

-          The data in the profiler table can be pulled with Stellar functions 
which include some advanced features like statistics, cardinality, but is it 
possible to access all of this from a Java / Scala / any other language?

-          The MaaS service seems to apply to the incoming data only, how is it 
possible to use it only on the aggregated profile data?


Maybe too much questions in the same mail?

Thanks,

Stéphane

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

Reply via email to