Github user cestella commented on the issue:
https://github.com/apache/incubator-metron/pull/449
Looks great, quick question. If I submit a profile that looks like:
```
{
"profiles": [
{
"profile": "test",
"foreach": "'global'",
"onlyif": "source.type == 'bro'",
"init": { "count": "0" },
"update": { "count": "count + 1" },
"result": {
"profile": "count",
"triage": "{ 'blah' : count, 'zork' : 'zork'}"
}
}
]
}
```
Will I get messages in kafka that look like:
```
{"period.start":1488233820000
,"period":24803897
,"profile":"test"
,"blah":161
,"zork":"zork"
,"period.end":1488233880000
,"is_alert":"true"
,"entity":"global"
,"timestamp":1488233841600
,"source.type":"profiler"
}
```
I think that's an important aspect as people will probably want to submit
multiple things to further triage or give context since they cannot send along
our summary objects.
Also, if someone tries to submit something that JSON can't handle (like a
stats object), will it get dropped or will an exception occur?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---