This project is created due to the necessity of easily adding downloaded events from KYPO portal into local ELK instance for further analysis.
## Requirements
Tested with:
Tested with (should also work with higher versions):
| Technology | Version |
| :---: | :---: |
@@ -27,42 +27,30 @@ On the successful startup (in approximately 30 seconds, in the case, that you ha
## Library Usage
Just place the data from selected KYPO event (portal events and bash actions), e.g., `echo - Kobylka 3302`. Then go to the folder with `insert-events.sh` file and run the `insert-events.sh` script as follows (please read the next instructions about file naming convention for audit events):
on the root level the `training_definition-id*.json` have to be placed and these two folders: (i) `command histories` and (ii) `training events`.
This script basically goes through all the files in the given directories and inside it search for files that match the pattern `*-events.json` or `*-useractions.json` and inserts all the content of those files under the correct index into local Elasticsearch instance running on port 9200.
where directory `command histories` is, e.g., as follows:
This script basically goes through all the files in the given directories and inside it search for files that match the pattern `*-events.json` or `*-useractions.json` and inserts all the content of those files under the correct index into local Elasticsearch instance running on port 9200.