You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
7. Source the shell config or log out and log back in again to refresh the shell settings. Check the availability of the cybersec commands in the path.
88
+
7\. Source the shell config or log out and log back in again to refresh the shell settings. Check the availability of the cybersec commands in the path.
[cduby@cduby-csa-081423-master0 ~]$ which cs-restart-parser
@@ -102,60 +102,67 @@ export PATH
102
102
103
103
#### CDP Base
104
104
1. Copy the files in examples/setup/templates to example/pipelines
105
-
106
105
```
107
106
cd cybersec/flink-cyber/
108
107
```
109
108
2. Edit the .properties files in example/pipelines with the correct settings for the cluster.
110
-
2. If the Hbase service is not in the same cluster as Flink, download the Hbase client configs from Cloudera Manager. Move the hbase config zip to the pipelines directory. Unzip the hbase configuration files.
111
-
3. If the Hive service is not in the same cluster as Flink, download the Hive on tez client configs from Cloudera Manager. Move the hive config zip to the pipelines directory. Unzip the hive config files.
112
-
4. If using a separate Hive cluster, remove the hive_conf/core-site.xml and hive-conf/yarn-site.xml files.
109
+
3. If the Hbase service is not in the same cluster as Flink, download the Hbase client configs from Cloudera Manager. Move the hbase config zip to the pipelines directory. Unzip the hbase configuration files.
110
+
4. If the Hive service is not in the same cluster as Flink, download the Hive on tez client configs from Cloudera Manager. Move the hive config zip to the pipelines directory. Unzip the hive config files.
111
+
5. If using a separate Hive cluster, remove the hive_conf/core-site.xml and hive-conf/yarn-site.xml files.
113
112
114
113
#### CDP Public Cloud
115
114
1. If necessary, install the [CDP CLI client](https://docs.cloudera.com/cdp-public-cloud/cloud/cli/topics/mc-cli-client-setup.html).
116
-
2. Run the command line ./create_datahub_config.sh <environment_name> <prefix>. When prompted enter your workload password.
115
+
2.[Install the jq package](https://jqlang.github.io/jq/download/).
116
+
3. Create a properties file with the names of the CDP cloud resources.
117
+
```shell script
118
+
hive_datahub_name=name_of_hive_datahub
119
+
kafka_datahub_name=name_of_kafka_datahub
120
+
opdb_database_name=name_of_operational_db
121
+
```
122
+
Omit any lines for the hive datahubs or operational DB. The minimal properties files is shown below:
123
+
```shell script
124
+
kafka_datahub_name=name_of_kafka_datahub
125
+
```
126
+
4\. Run the command line ./create_datahub_config.sh <environment_name> <properties_file>. When prompted enter your workload password.
117
127
```shell script
118
128
cduby@cduby-MBP16-21649 examples % cd cybersec/flink-cyber/cyber-jobs/src/main/resources/examples/setup
1. Optionally download the binary (mmdb) version of the [Maxmind GeoLite2 City and ASN Databases](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data). Create a Maxmind account login if you don't have one already. If you don't download the databases, the triaging job will operate but events will not have geocode (country, city, lat, lon) or asn (network) enrichments.
154
161
2. cp the GeoLite2 .tar.gz files to the examples/setup directory.
0 commit comments