Storage Description⚓︎
1 Command storage⚓︎
1.1 Add configuration informations of Elasticsearch in JumpServer page⚓︎
- Click
Terminal management
-Storage Configuration
-Command storage
-New
-Elasticsearch
switch to page for creating new command storage
Name | Example | Description |
---|---|---|
Name | jms_es | As identifier, it must be unique |
Type | Elasticsearch | Required option, can not be changed |
Host | http://172.16.11.3:9200 | http://es_user:es_password@es_host:es_port |
Index | jumpserver | Index |
Default storage | √ | Default storage |
Note | Test server for ES | As indentifier, it is optional |
1.2 Update command storage to Elasticsearch⚓︎
- In
Terminal management
page selectUpdate
component,modify the command storage to use the ES server that was created just now - checked
Default storage
,and then newly registered components will automatically use the default storage and do not require further modification. However, old components need to be updated to take effect - If
Elasticsearch
uses an untrusted certification,it need to checked optionignore authentificated by certification
- After the modification is completed, it will take approximately one minute to complete synchronization
1.3 Restart the component⚓︎
- Restart KoKo component for taking configuration updating effect
docker restart jms_koko
2 Replay vedio storage⚓︎
2.1 Operation processing⚓︎
- Click
Terminal management
-Storage configuration
-Replay storage
-New
switch to page of creating new replay storage - In
Terminal management
page, selectUpdate
component, the previously stored recordings on your local system need to be uploaded to the new storage location manuall - Checked
Default storage
,newly registered components will automatically use the default storage and do not require further modification. However, old components need to be updated to take effect -Select the storage method you prefer, and it will take approximately one minute to complete synchronization
3 Log storage⚓︎
3.1 Integrate with Syslog service⚓︎
- Update config.txt
vi /opt/jumpserver/config/config.txt
- Add configuration information of Syslog
# Syslog setting
SYSLOG_ENABLE=True
SYSLOG_ADDR=192.168.100.215:514 # Host Ip and port number of Syslog service
- Restart JumpServer service
./jmsctl.sh restart