This might be a no brainer for most, but I'm having problems getting this setup on multiple locations.
I was able to get the Host A: version running with the server.conf and harvester.conf.
I even have logged multiple log files for viewing online.
The issue is when I go to setup the Host B:
Am I suppose to update only the harvester.conf? This is what I did:
/* Log.io log harvester configuration */
exports.config = {
// Log server host & port
server: {
host: 'IPADDRESS OF HOST A',
port: 8998,
},
// Watch the following log files, defined by label:path mappings
log_file_paths: {
logio_harvester: '/var/log/log.io/harvester.log',
apache_access: '/var/log/apache2/access.log',
apache_error: '/var/log/apache2/error.log'
},
// Define name of current machine.
// Alternatively, you can set this name in /etc/profile:
// export LOGIO_HARVESTER_INSTANCE_NAME='my_log_machine'
// If so, comment out the line below
instance_name : 'log_node_2'
}
I then started only the harvester (not server).
On HOST A: I also used an IP address (not 127.0.0.1) for the harvester.conf.
On HOST B: I tried using both an internal IP address for the HOST A: Server and external IP address.
HOST B does not showup on the web interface of HOST A.