# Configure Joystream Node ## Distributor Node In joystream/distributor-node/config.yml configure the below section ``` logs: elastic: level: info endpoint: https:// ``` ## Storage Node In /etc/systemd/system/storage-node.service add the -e flag ``` ExecStart=/root/.volta/bin/yarn storage-node server \ -u ws://localhost:9944 \ -w \ -o 3333 \ -l //log/ \ -d / \ -q http://localhost:8081/graphql \ -p \ -k /root/keys/storage-role-key.json \ -e https:// \ -s ``` ## Configure Packetbeat and Metricbeat ``` git clone https://github.com/yasiryagi/elasticsearch-docker.git cd elasticsearch-docker/client/ ``` Edit config/packetbeat/packetbeat.yml: * name: Node Name * tags: - SP : Storage Provider - DP : Distributor Provicder - PB : Packetbeat - MB : Metricsbeat * packetbeat.interfaces.device: Your device interface * hosts : The elasticsearch host * username: Username provided by the admin * password: Username provided by the admin Edit config/metricbeat/metricbeat.yml: * name: Node Name * tags: - SP : Storage Provider - DP : Distributor Provicder - PB : Packetbeat - MB : Metricsbeat * hosts : The elasticsearch host * username: Username provided by the admin * password: Username provided by the admin ## Start the containers ``` docker-compose up -d ```