8000 GitHub - hjeong12/batchLog: aggregate logs from multiple servers
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hjeong12/batchLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

H 9075 istory

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

batchLog

aggregate logs from multiple servers

###Make sure you have expect installed. if not, run the following code to install it.

yum install expect
#apt-get install expect

Clone or donwload the code and make it executable.

chmod +x run.sh
chmod +x scp.tcl

###Write down all hosts in server.list

10.10.10.1
10.10.10.2
10.10.10.3
10.10.10.4
10.10.10.5
10.10.10.6
10.10.10.7
10.10.10.8
10.10.10.9

###Download logs from all the servers.

./run.sh /var/logs/access.log

###Download log from one server

./run.sh /var/logs/access.log 10.10.10.1

About

aggregate logs from multiple servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0