GitHub user mmiklavc opened a pull request:

    https://github.com/apache/incubator-metron/pull/232

    METRON-395 Fix Metron Bro parser not parsing some timestamp values

    This PR addresses https://issues.apache.org/jira/browse/METRON-395
    
    This fix corrects the BasicBroParser so that it will properly handle Double 
timestamp values that have less than 3 digits, e.g. 123.0, 123.1, 123.11. In 
the previous examples, the current code would throw an index out of bounds 
exception.
    
    Verified in full-dev-platform.
    
    **Testing:**
    
    - Deploy the bro parser topology.
    - Add a record to dns.log or http.log with a ts value that has less than 3 
significant decimal places.
    - Confirm the record(s) make it into indexing.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mmiklavc/incubator-metron METRON-395

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/232.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 #232
    
----
commit 4e227eebbd174a262401f37d982a9a6acba71a41
Author: Michael Miklavcic <[email protected]>
Date:   2016-08-25T18:01:55Z

    METRON-395 Fix Metron Bro parser not parsing some timestamp values

----


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