To run the utility for preparing data for GosSOPKA:
The application component administrator menu is displayed.
This opens the Technical Support Mode confirmation window.
sudo -i
tar -xzvf gossopka_alert_exporter.tar.gz
python3 export_main.py -s <yyyy-mm-ddThh:mm:ss> -b <yyyy-mm-ddThh:mm:ss>
python3 export_main.py -s <yyyy-mm-ddThh:mm:ss> -b <yyyy-mm-ddThh:mm:ss> -c <path to communication data package>
The utility is run.
You can also specify one or multiple parameters for this command (see the table below).
Utility command line option description
Required parameter |
Parameter |
Description |
|
---|---|---|---|
No |
|
Help page. |
|
No |
|
Vendor ID (module_id). The default value is |
|
Yes |
|
Start of the period for which you want to get information. |
|
Yes |
|
End of the period for which you want to get information. |
|
No |
|
Path to the directory in which the files will be saved. The default is |
|
Yes, if you want to get NDR event data |
|
The file name of the communication data package (including the extension) obtained when creating the connector. |
|
Yes, if you want to get NDR event data |
|
The password of the communication data package that you specified when creating the connector. |
|
No |
|
Offset from the UTC time zone in minutes. The default is 180 (+3 hours). |
|
Example command to run the utility with options:
|
The utility places the following files in the selected directory:
A separate file is created for each detection or event. If the directory already contains a file with the same name, it is overwritten.
Page top