nasa-jpl-memex / memex-explorer

Viewers for statistics and dashboarding of Domain Search Engine data
BSD 2-Clause "Simplified" License
121 stars 69 forks source link

Setting Up Log.io #522

Closed brittainhard closed 9 years ago

brittainhard commented 9 years ago
npm install -g log.io

Open the harvester config, change the settings to watch the Nutch file.

vim ~/.log.io/harvester.conf

Change the settings to the following:

exports.config = {
  nodeName: "application_server",
  logStreams: {
    nutch: [
      "/<anaconda_location>/envs/<environment_name>/lib/nutch/logs/hadoop.log"
    ]
  },
  server: {
    host: '0.0.0.0',
    port: 28777
  }
}

Start the server by running:

log.io-server

Start the harvester by running:

log.io-harvester
brittainhard commented 9 years ago

@ahmadia

ahmadia commented 9 years ago

Awesome, I can take it from here.

ahmadia commented 9 years ago

cc @amfarrell

brittainhard commented 9 years ago

In case log.io-server or log.io-harvester commands are not set to path, then you can run them from the folder where they are located on the system.

ahmadia commented 9 years ago

Okay, I'm going to get this working today.

ahmadia commented 9 years ago

Fixed in https://github.com/memex-explorer/memex-explorer/pull/539, modulo ElasticSearch container support.