Closed miked235 closed 6 years ago
Since it's related, we also need a Moloch directory to store the raw PCAP files, it only needs to be run on the workers:
mkdir /EDCOP/bulk/moloch/ /EDCOP/bulk/moloch/raw /EDCOP/bulk/moloch/logs
Fixed here: https://github.com/sealingtech/EDCOP/pull/28
For now, we're using a hostpath for elasticsearch and need to have permissions to write to that directory from the container. We run as user elasticsearch with uid 2000, so here's a simple script to create the user and give the dir to elasticsearch:
This script should be run on all nodes (including the master). There might be more users to create in the future until we find a better way to handle data.