Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
elk-hole
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
elk-hole
Commits
2d068d1e
Unverified
Commit
2d068d1e
authored
5 years ago
by
9S
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
fdcaaab7
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
+15
-15
15 additions, 15 deletions
README.md
with
15 additions
and
15 deletions
README.md
+
15
−
15
View file @
2d068d1e
...
@@ -54,24 +54,24 @@ This makes sure that /conf.d/20-dns-syslog.conf is beeing processed at the begin
...
@@ -54,24 +54,24 @@ This makes sure that /conf.d/20-dns-syslog.conf is beeing processed at the begin
6.
customize "LOGSTASHHOST:5141" to match your logstash hostname/ip
6.
customize "LOGSTASHHOST:5141" to match your logstash hostname/ip
7.
restart filebeat
7.
restart filebeat
9.
copy 99-pihole-log-facility.conf to /etc/dnsmasq.d/
9.
copy 99-pihole-log-facility.conf to /etc/dnsmasq.d/
1
1
.
this is very important: restart pi-hole and ensure filebeat is sending logs to logstash before proceeding
1
0
.
this is very important: restart pi-hole and ensure filebeat is sending logs to logstash before proceeding
11.
1
You can verify this by:
11.
You can verify this by:
1
1.
2 at your filebeat instance: "filebeat test output" - it should say "ok" on every step.
12
.
at your filebeat instance: "filebeat test output" - it should say "ok" on every step.
1
2
.
again: the following steps will not work correctly if sending data to logstash here is not successfull!
1
3
.
again: the following steps will not work correctly if sending data to logstash here is not successfull!
### KIBANA HOST (CAN BE THE SAME AS LOGSTASH AND ELASTICSEARCH)
### KIBANA HOST (CAN BE THE SAME AS LOGSTASH AND ELASTICSEARCH)
1
3
.
create the index pattern: Management -> Index patterns -> Create index pattern
1
4
.
create the index pattern: Management -> Index patterns -> Create index pattern
1
3.
1
type logstash-syslog-dns - it shound find one index
1
5.
type logstash-syslog-dns - it shound find one index
1
3.
2
click next step and select @timezone
1
6.
click next step and select @timezone
1
3.
3
Create index pattern
1
7.
Create index pattern
1
3.
4
Once the index is created, verify that 79 fields are listed
1
8.
Once the index is created, verify that 79 fields are listed
1
3.
5
click the curved arrows on the top left
1
9.
click the curved arrows on the top left
14
.
import suitable "json/elk-hole
*
.json" for your version into kibana: management - saved objects - import
20
.
import suitable "json/elk-hole
*
.json" for your version into kibana: management - saved objects - import
1
4
.
optionally select the correct index pattern: logstash-syslog-dns
*
2
1.
optionally select the correct index pattern: logstash-syslog-dns
*
15
.
delete any existing template matching our index name: DELETE /_template/logstash-syslog-dns
*
22
.
delete any existing template matching our index name: DELETE /_template/logstash-syslog-dns
*
16
.
import the template: paste the content of "logstash-syslog-dns-index.template_ELK7.x.json" into kibanas dev tools console
23
.
import the template: paste the content of "logstash-syslog-dns-index.template_ELK7.x.json" into kibanas dev tools console
16.
1
click the green triangle in the upper right of the pasted content (first line). Output should be:
24.
click the green triangle in the upper right of the pasted content (first line). Output should be:
{
{
...
...
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