Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujiem committed Aug 9, 2018
1 parent c0bfbfc commit 00376fa
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 57 deletions.
52 changes: 0 additions & 52 deletions docs/installation/build_docker_image.rst

This file was deleted.

55 changes: 52 additions & 3 deletions docs/installation/install_docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,56 @@ Add user to the docker group to run docker commands without sudo::
$ sudo usermod -aG docker $USER


.. toctree::


build_docker_image
Build docker image (optional)
=============================

Build logpai/logparser:py2
::

$ sudo docker run --name logparser_py2 -it ubuntu:16.04 bash

$ apt-get update
$ apt-get install -y wget bzip2
$ apt-get install -y gcc perl git
$ rm -rf /var/lib/apt/lists/*

$ cd /
$ mkdir anaconda
$ cd anaconda
$ wget https://repo.anaconda.com/archive/Anaconda2-5.2.0-Linux-x86_64.sh
$ bash Anaconda2-5.2.0-Linux-x86_64.sh
$ source ~/.bashrc
$ cd ..
$ rm -r anaconda
$ exit

$ docker commit logparser_py2 logpai/logparser:py2
$ docker login
$ docker push logpai/logparser:py2

Build logpai/logparser:py3
::

$ sudo docker run --name logparser_py3 -it ubuntu:16.04 bash

$ apt-get update
$ apt-get install -y wget bzip2 git
$ rm -rf /var/lib/apt/lists/*

$ cd /
$ mkdir anaconda
$ cd anaconda
$ wget https://repo.anaconda.com/archive/Anaconda3-5.1.0-Linux-x86_64.sh
$ bash Anaconda3-5.1.0-Linux-x86_64.sh
$ source ~/.bashrc
$ cd ..
$ rm -r anaconda

$ pip install deap
$ exit

$ docker commit logparser_py3 logpai/logparser:py3
$ docker login
$ docker push logpai/logparser:py3
2 changes: 1 addition & 1 deletion docs/tools/LogSig.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ handle various types of log data, and is able to incorporate human’s domain kn

Read more information about LogSig from the following papers:

+ Liang Tang, Tao Li, Chang-Shing Perng. [LogSig: Generating System Events from Raw Textual Logs](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.222.9320&rep=rep1&type=pdf), *Proceedings of the 20th ACM International Conference on Information and Knowledge Management (CIKM)*, 2011.
+ Liang Tang, Tao Li, Chang-Shing Perng. [LogSig: Generating System Events from Raw Textual Logs](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.222.9320&rep=rep1&type=pdf), *ACM International Conference on Information and Knowledge Management (CIKM)*, 2011.

2 changes: 1 addition & 1 deletion docs/tools/SLCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ SLCT
To provide a common interface for log parsing, we write a Python wrapper around the original [SLCT source code in C](http://ristov.github.io/slct/slct-0.05.tar.gz) (released under GPL license). This also eases our benchmarking experiments. Same with the original release, our implementation has only been tested successfully on Linux (compiled with GCC). We tried running the tool on Windows using cygwin with GCC installed, but failed with a crash. You are advised to use the SLCT tool on Linux. But it is still possible to work around the issue if some efforts are made.

Read more information about SLCT from the following paper:
+ Risto Vaarandi. [A Data Clustering Algorithm for Mining Patterns from Event Logs](http://www.quretec.com/u/vilo/edu/2003-04/DM_seminar_2003_II/ver1/P12/slct-ipom03-web.pdf), *Proceedings of the 3rd IEEE Workshop on IP Operations & Management (IPOM)*, 2003.
+ Risto Vaarandi. [A Data Clustering Algorithm for Mining Patterns from Event Logs](http://www.quretec.com/u/vilo/edu/2003-04/DM_seminar_2003_II/ver1/P12/slct-ipom03-web.pdf), *IEEE Workshop on IP Operations & Management (IPOM)*, 2003.

0 comments on commit 00376fa

Please sign in to comment.