You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metron.apache.org by nickwallen <gi...@git.apache.org> on 2016/09/15 18:09:38 UTC
[GitHub] incubator-metron pull request #254: METRON-420 Add Expiration to Profile Def...
GitHub user nickwallen opened a pull request:
https://github.com/apache/incubator-metron/pull/254
METRON-420 Add Expiration to Profile Definition
The user can specify an expiration for each profile definition. This field is optional. All documentation and tests have been updated.
Added the `expires` field to README example 1.
```
{
"inputTopic": "indexing",
"profiles": [
{
"profile": "example1",
"foreach": "ip_src_addr",
"onlyif": "protocol == 'HTTP'",
"init": {
"total_bytes": 0.0
},
"update": {
"total_bytes": "total_bytes + bytes_in"
},
"result": "total_bytes",
"expires": 30
}
]
}
```
The `expires` field is currently defined as the number of days. It would be nice to specify '30 days', '6 months', or '2 years', but I will leave that work for another day.
Depends on the following PRs.
* [ ] #251
* [ ] #252
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nickwallen/incubator-metron METRON-420
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-metron/pull/254.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #254
----
commit baec8e4b1b01582fb2e48e1d7503ca34ce19de22
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-09-14T18:04:23Z
METRON-418 Set TTL on HBase Puts
commit 302aa6a27fb9b2de5145aa66ffc18657ce17c8aa
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-09-14T19:02:36Z
METRON-419 Removed dependency on storm-hbase as this code will need to change to support TTL.
commit fe2eef4ab2ea4f9721d3d85f7537925413ea0a06
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-09-14T20:00:22Z
METRON-419 Update Tuple to HBase Mapper/Bolt to Set TTL
commit 445f6d7fd8af8ca7d742aae0d9d42660e9180442
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-09-15T13:30:38Z
METRON-420 Add Expiration to a Profile Definition
----
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-metron issue #254: METRON-420 Add Expiration to Profile Definition
Posted by cestella <gi...@git.apache.org>.
Github user cestella commented on the issue:
https://github.com/apache/incubator-metron/pull/254
+1
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-metron issue #254: METRON-420 Add Expiration to Profile Definition
Posted by nickwallen <gi...@git.apache.org>.
Github user nickwallen commented on the issue:
https://github.com/apache/incubator-metron/pull/254
Merged with master
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-metron pull request #254: METRON-420 Add Expiration to Profile Def...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-metron/pull/254
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---