Github user cestella commented on the issue:

    https://github.com/apache/incubator-metron/pull/395
  
    One question.  I like your signature for `PROFILE_GET_FROM`: 
`PROFILE_GET_FROM(profile, entity, look-back, offset)` but your example usage, 
`PROFILE_GET_FROM('replayed-profile', '10.0.0.1', 15, "MINUTES", 2, "MONTHS")` 
doesn't appear to fit (the last 2 args aren't an offset).  I'd expect `offset` 
to be a timestamp and if you want to do things like figure out which timestamp 
to use, you'd do it with other stellar functions.  So, for instance, I'd 
imagine your example as:
    `PROFILE_GET_FROM('replayed-profile', '10.0.0.1', 15, "MINUTES", 
DATE_SUBTRACT(timestamp, 2, "MONTHS"))` where `DATE_SUBTRACT` subtracts 2 
months from the timestamp of the data and returns that timestamp.  
    
    Does that make sense at all?


---
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.
---

Reply via email to