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
Copy file name to clipboardExpand all lines: docs/_sources/installation.txt
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,20 @@ Our branching organization is as follows:
54
54
* ``develop``: contains latest features and fixes. **Not stable.**
55
55
* ``#.#.#RC-#``: Release candidates are pre-release versions. **Not stable.**
56
56
57
+
Initial Login
58
+
-------------
59
+
60
+
ElasticHQ is accessible, in default configuration under http://localhost:5000
61
+
62
+
.. figure:: /_static/img/login.png
63
+
:width: 600px
64
+
:align: center
65
+
66
+
The input field takes a url in the form of: ``http://DOMAIN:PORT``
67
+
68
+
* ``http`` or ``https`` are accepted schemes
69
+
* For Basic Auth, use the format: ``http://USERNAME:PASSWORD@DOMAIN:PORT``
70
+
57
71
Configuration
58
72
-------------
59
73
@@ -90,6 +104,8 @@ ElasticHQ logs out to console AND file by default. The application log file is l
90
104
91
105
Advanced users that want to have control over the logging output, can adjust it by altering the configuration file kept under ``elastichq/config/logger.json``.
92
106
107
+
Docker users will find the logfile location under ``/src/application.log``
108
+
93
109
Database
94
110
^^^^^^^^
95
111
@@ -150,6 +166,36 @@ Read the `Gunicorn Docs <http://docs.gunicorn.org/en/stable/configure.html>`_ fo
150
166
151
167
.. note:: For the *Metrics* section to broadcast via websocket, you must have gunicorn set to 1 worker.
152
168
169
+
Troubleshooting
170
+
---------------
171
+
172
+
Diagnosing connection errors
173
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
174
+
175
+
Failure in connecting initially to an Elasticsearch cluster, can happen for several reason:
176
+
177
+
* **Basic Authentication:** If you did not enter in the security credentials in the connection URL, HQ will fail to connect. The proper format is ``http://USERNAME:PASSWORD@DOMAIN:PORT``
178
+
* **X-Pack License Expiration:** X-Pack comes with a #-day license that will silently expire. Expiration of the license may cause connectivity issues, so it is advised to either purchase an X-Pack license or uninstall X-Pack.
179
+
* **No Route to ES cluster:** Confirm that the server running HQ has access to ES via network. You can do this by calling ES from withing a terminal window on the HQ server, with a ``curl -XGET http://DOMAIN:PORT``.
180
+
181
+
182
+
.. _xpack integration:
183
+
184
+
X-Pack Integration
185
+
~~~~~~~~~~~~~~~~~~
186
+
187
+
X-Pack is configured with authentication. To connect, you must pass along the username and password in the connection URL
188
+
using the format ``http://USERNAME:PASSWORD@DOMAIN:PORT``
189
+
190
+
ElasticHQ will store the username and password in the database, so future connectivity is not an issue.
191
+
192
+
.. warning:: We do realize that the username and passwords are stored plain text in the ElasticHQ DB, but this is a necessary evil that allows for easy reconnection.
0 commit comments