metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickwallen <...@git.apache.org>
Subject [GitHub] incubator-metron pull request #254: METRON-420 Add Expiration to Profile Def...
Date Thu, 15 Sep 2016 18:09:38 GMT
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 <nick@nickallen.org>
Date:   2016-09-14T18:04:23Z

    METRON-418 Set TTL on HBase Puts

commit 302aa6a27fb9b2de5145aa66ffc18657ce17c8aa
Author: Nick Allen <nick@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 <nick@nickallen.org>
Date:   2016-09-14T20:00:22Z

    METRON-419 Update Tuple to HBase Mapper/Bolt to Set TTL

commit 445f6d7fd8af8ca7d742aae0d9d42660e9180442
Author: Nick Allen <nick@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.
---

Mime
View raw message