File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,32 @@ Using Presto with CLP requires:
3131
3232### Setting up CLP
3333
34- Follow the [ quick-start] ( ./quick-start/index.md ) guide to set up CLP and compress your logs. A
35- sample dataset that works well with Presto is [ postgresql] .
34+ 1 . Follow the [ quick-start] ( ./quick-start/index.md ) guide to download and extract the CLP package,
35+ but don't start the package just yet.
36+ 2 . Before starting the package, update the package's config as follows:
37+
38+ * Open ` etc/clp-config.yml ` located within the package.
39+ * Uncomment the ` database ` section.
40+ * Change ` database.host ` value to a non-localhost hostname/IP.
41+ * After the change, the ` database ` section should look something like this:
42+
43+ ``` yaml
44+ database :
45+ type : " mariadb" # "mariadb" or "mysql"
46+ host : " <new-IP-address>"
47+ port : 3306
48+ name : " clp-db"
49+ ` ` `
50+
51+ :::{note}
52+ This change is necessary since the Presto containers run on a Docker network, whereas CLP's
53+ database runs on the host network. So ` localhost` refers to two different entities in those
54+ networks. This limitation will be addressed in the future when we unify Presto and CLP's
55+ deployment infrastructure.
56+ :: :
57+
58+ 3. Continue following the [quick-start](./quick-start/index.md#using-clp) guide to start CLP and
59+ compress your logs. A sample dataset that works well with Presto is [postgresql].
3660
3761# ## Setting up Presto
3862
You can’t perform that action at this time.
0 commit comments