Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pfelk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
pfelk
Commits
c35eca46
Unverified
Commit
c35eca46
authored
Aug 25, 2019
by
a3ilson
Committed by
GitHub
Aug 25, 2019
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
d9cb1f9e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+16
-16
16 additions, 16 deletions
README.md
with
16 additions
and
16 deletions
README.md
+
16
−
16
View file @
c35eca46
...
@@ -35,25 +35,25 @@ sudo apt-get update
...
@@ -35,25 +35,25 @@ sudo apt-get update
### 6. Install Java 11
### 6. Install Java 11
```
```
sudo apt install oracle-java11-installer
sudo apt
-get
install oracle-java11-installer
-local
```
```
# Install
# Install
-
Elasticsearch v7+ | Kibana v7+ | Logstash v7+
-
Elasticsearch v7+ | Kibana v7+ | Logstash v7+
###
8
. Install Elasticsearch|Kibana|Logstash
###
7
. Install Elasticsearch|Kibana|Logstash
```
```
sudo apt-get install elasticsearch && sudo apt-get install kibana && sudo apt-get install logstash
sudo apt-get install elasticsearch && sudo apt-get install kibana && sudo apt-get install logstash
```
```
# Configure Kibana|v7+
# Configure Kibana|v7+
###
9
. Configure Kibana
###
8
. Configure Kibana
```
```
sudo nano /etc/kibana/kibana.yml
sudo nano /etc/kibana/kibana.yml
```
```
###
10
. Amend host file (/etc/kibana/kibana.yml)
###
9
. Amend host file (/etc/kibana/kibana.yml)
```
```
server.port: 5601
server.port: 5601
server.host: "0.0.0.0"
server.host: "0.0.0.0"
...
@@ -61,12 +61,12 @@ server.host: "0.0.0.0"
...
@@ -61,12 +61,12 @@ server.host: "0.0.0.0"
# Configure Logstash|v7+
# Configure Logstash|v7+
### 1
1
. Change Directory
### 1
0
. Change Directory
```
```
cd /etc/logstash/conf.d
cd /etc/logstash/conf.d
```
```
### 1
2
. Download the following configuration files
### 1
1
. Download the following configuration files
```
```
sudo wget https://raw.githubusercontent.com/a3ilson/pfelk/master/01-inputs.conf
sudo wget https://raw.githubusercontent.com/a3ilson/pfelk/master/01-inputs.conf
```
```
...
@@ -83,54 +83,54 @@ sudo wget https://raw.githubusercontent.com/a3ilson/pfelk/master/11-pfsense.conf
...
@@ -83,54 +83,54 @@ sudo wget https://raw.githubusercontent.com/a3ilson/pfelk/master/11-pfsense.conf
sudo wget https://raw.githubusercontent.com/a3ilson/pfelk/master/30-outputs.conf
sudo wget https://raw.githubusercontent.com/a3ilson/pfelk/master/30-outputs.conf
```
```
### 1
3
. Make Patterns Folder
### 1
2
. Make Patterns Folder
```
```
sudo mkdir /etc/logstash/conf.d/patterns
sudo mkdir /etc/logstash/conf.d/patterns
```
```
### 1
4
. Navigate to Patterns Folder
### 1
3
. Navigate to Patterns Folder
```
```
cd /etc/logstash/conf.d/patterns/
cd /etc/logstash/conf.d/patterns/
```
```
### 1
5
. Download the following configuration file
### 1
4
. Download the following configuration file
```
```
sudo wget https://raw.githubusercontent.com/a3ilson/pfelk/master/pfsense_2_4_2.grok
sudo wget https://raw.githubusercontent.com/a3ilson/pfelk/master/pfsense_2_4_2.grok
```
```
### 1
6
. Edit (10-syslog.conf)arkdown
### 1
5
. Edit (10-syslog.conf)arkdown
```
```
sudo nano /etc/logstash/conf.d/10-syslog.conf
sudo nano /etc/logstash/conf.d/10-syslog.conf
```
```
### 1
7
. Revise/Update w/pfsense IP address (10-syslog.conf)
### 1
6
. Revise/Update w/pfsense IP address (10-syslog.conf)
```
```
Change line 3; the "if [host]..." should point to your pfSense IP address
Change line 3; the "if [host]..." should point to your pfSense IP address
Change line 9 to point to your second PfSense IP address or comment out
Change line 9 to point to your second PfSense IP address or comment out
```
```
### 1
8
. Edit (11-pfsense.conf)
### 1
7
. Edit (11-pfsense.conf)
```
```
sudo nano /etc/logstash/conf.d/11-pfsense.conf
sudo nano /etc/logstash/conf.d/11-pfsense.conf
```
```
### 1
9
. Resive/Update timezone
### 1
8
. Resive/Update timezone
```
```
Change line 12 to the same timezone as your phSense configruation
Change line 12 to the same timezone as your phSense configruation
_Note if the timezone is offset or mismatched, you may not see any logs_
_Note if the timezone is offset or mismatched, you may not see any logs_
```
```
###
20
. Download and install the MaxMind GeoIP database
###
19
. Download and install the MaxMind GeoIP database
```
```
cd /etc/logstash
cd /etc/logstash
```
```
### 2
1
. Download and install the MaxMind GeoIP database
### 2
0
. Download and install the MaxMind GeoIP database
```
```
sudo wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
sudo wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
```
```
### 2
2
. Download and install the MaxMind GeoIP database
### 2
1
. Download and install the MaxMind GeoIP database
```
```
sudo gunzip GeoLite2-City.mmdb.gz
sudo gunzip GeoLite2-City.mmdb.gz
```
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment