Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to install on Ubuntu 12.04 & How do i configure for logs ?

  enter image description here

share|improve this question
up vote 1 down vote accepted


sudo apt-get install python-software-properties

sudo add-apt-repository ppa:chris-lea/node.js 

sudo add-apt-repository ppa:chris-lea/node.js-devel

sudo apt-get update    

sudo apt-get install nodejs npm

sudo apt-get install nodejs-dev

sudo npm config set unsafe-perm true


sudo npm install -g --prefix=/usr/local


# cd /etc/
# ls 

There are 2 file " harvester.conf " " server.conf "

The server.conf got 2 configuration 1st you can change the port & 2nd one is you can configure it for authentication

/* log server configuration */

exports.config = {

  // Log server port
  port: 8998,   // < To Change The port

  // Uncomment to enable basic HTTP authentication
  basic_auth: {
    username: "foo",
    password: "bar"

Now 2nd one harvester.conf

 /* log harvester configuration */

exports.config = {

  // Log server host & port
  server: {
    host: '',
    port: 8998,

  // Watch the following log files, defined by label:path mappings
  log_file_paths: {
                  logio_harvester: '/var/log/'
  // To Monitor Auth Logs
  log_file_paths: {
              Auth_logs: '/var/log/auth.log'
  // To Monitor Fail2ban Logs
 log_file_paths: {
                  Fail2ban_logs: '/var/log/fail2ban.log'
 // To Monitor Syslogs
 log_file_paths: {
                  Sys_logs: '/var/log/syslog'
   // 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_1'

You can add as many logs path you want to

Now the last part

sudo server start && sudo harvester start Installation On Ubuntu 12.04

share|improve this answer
PPA… – One Zero Jul 30 '12 at 16:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.