METRON-1620: Fixes for forensic clustering use case example#1065
METRON-1620: Fixes for forensic clustering use case example#1065mmiklavc wants to merge 3 commits intoapache:masterfrom
Conversation
|
Testing You can run through the full use case, if desired. If you want the TL;DR version to verify the template command, run the command in the README for creating the ES template. Then do the following: Make sure you have at least 1 other sensor with data, e.g. Bro. In full dev you should be set, otherwise cat data from our unit tests (https://github.com/apache/metron/blob/master/metron-platform/metron-integration-test/src/main/sample/data/bro/raw/BroExampleOutput) into the e.g. Next, check the template was loaded correctly: Then load the following into ES: Go to the Alerts UI and enter this in the search: You should see the alert in the UI. |
|
Do you think it's worthwhile to add something at the beginning like:
At least then we'd be letting people know what version things were tested on, as well as at least giving them a path to looking at things like the upgrading.md, learning about schema changes, etc. to adapting an older use case. |
|
@justinleet I think we should really be updating these use cases as we make other updates to the system. One idea I had was to make our code samples testable. Maybe write some integration tests for the use case code where feasible. Tagging a version might at least make this more noticeable in the short term. |
|
@justinleet Updated. Let me know what you think. |
|
@mmiklavc I definitely agree that it's ideal if we can keep these up to date, but I suspect that even if we tie the functionality in, updates to the docs will slip here and there. I'm honestly not sure what the best solution to that is. Thanks for the update, +1. |
|
@mmiklavc Can we get this merged? |
Contributor Comments
https://issues.apache.org/jira/browse/METRON-1620
Get the forensic hashing use case example working with ES 5.6.x.
I tested this in a 10-node Amazon EC2 Metron cluster.
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:
For code changes:
Have you included steps to reproduce the behavior or problem that is being changed or addressed?
Have you included steps or a guide to how the change may be verified and tested manually?
Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?
For documentation related changes:
Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via
site-book/target/site/index.html:Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.