-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbbelasticlog.sh
More file actions
23 lines (17 loc) · 797 Bytes
/
Copy pathbbelasticlog.sh
File metadata and controls
23 lines (17 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
###################################################################
# Title : Blackboard Access Log with Logstash
# Description. : Basic script to download logstash and conf file
# Author : Julian Levi Hernandez
# Date : 08/03/2016
# Aumersbee Data
###################################################################
# Setup DIR structure
hdir=`pwd`
mkdir -p ${hdir}/{data,bins,conf,temp,arcs}
# Download Logstash
curl -o bins/logstash.zip -L https://artifacts.elastic.co/downloads/logstash/logstash-6.7.1.zip
# Unzip the downloaded file
unzip bins/logstash.zip -d ${hdir}/bins/
# Download the blackboard.conf file to the conf dir
curl -o conf/bb-access-log.conf -L https://raw.githubusercontent.com/levihernandez/bbelasticlog/master/bb-access-log.conf