cxla
[![Build Status](https://semaphoreci.com/api/v1/projects/6b0be2a6-0da9-4a20-991a-7373628354d0/663555/badge.svg)](https://semaphoreci.com/shakdwipeea/cxla)
Last updated 4 years ago by shakdwipeea .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cxla 
SYNC missed versions from official npm registry.

Build Status

npm version npm downloads

CXLA

:tada::boom::sparkles: Generic Log Analyzer

###Prerequisites

  1. nodejs
  2. git

###Installing Nodejs

  • For 64-bit
wget https://nodejs.org/dist/v5.9.0/node-v5.9.0-linux-x64.tar.xz
tar -xvf node-v5.9.0-linux-x64.tar.xz
cd node-v5.9.0-linux-x64/
  • For 32-bit
wget https://nodejs.org/dist/v4.4.0/node-v4.4.0-linux-x86.tar.xz
tar -xvf node-v4.4.0-linux-x86.tar.xz
cd node-v4.4.0-linux-x86/
  • Depending upon the architecture follow the below steps:

Add node-v5.9.0-linux-x64/bin to the system path.

1.Open ~/.bashrc in your editor

2.Type in export PATH=$PATH:/path/to/your/directory/node-v5.9.0-linux-x64/bin
3.Finally after saving the file

In terminal type source ~/.bashrc

###Installation

  1. git clone https://github.com/shakdwipeea/CXLA.git

  2. Move to the directory CXLA

  3. Inside the directory

npm install
npm install -g pm2
pm2 start bin/www

OR

npm install -g nodemon
nodemon

OR

node ./bin/www
  1. Now visit localhost:8080

###Working

  1. Upload the log file

  2. For using the search feature just enter the term you want to search and press enter.

  3. For using the highlight feature

  • first highlight the key then press next.

  • second time highlight the value corresponding to it and then press next.

  • In the table of key,name,value enter the name of attribute you want to plot in the input field for example:

Snapshot 1: alt-text

For highlighting the value utmost care should be taken that there must be characters followed by the value you want.for example:

Snapshot 2: alt-text

consider the highlighted line different key value pairs can be:

  1. key: S(100.100.12.10:80: value: Hits(10.89,
  2. key: S(100.100.12.10:80: value: Hits(10.89, 0
  3. key: S(100.100.12.10:80: value: P[40,
  4. key: S(100.100.12.10.80: value: P[40, 0
  5. key: S(100.100.12.10.80: value: Mbps(0.00) and so on

Snapshot 3: alt-text

consider the highlighted line different key value pairs can be:

  1. key: EVENT MONITORDOWN value: MONITORDOWN 72409
  2. key: EVENT MONITORDOWN value: MONITORDOWN 72409 0
  3. key: GMT value: MONITORDOWN 72409 0
  4. key: GMT value:GMT NS_123 0-PPE-0 and so on

Current Tags

  • 2.0.2                                ...           latest (4 years ago)

11 Versions

  • 2.0.2                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 1.0.8                                ...           4 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (28)
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |