SlideShare a Scribd company logo
Central Log Storage.
ELK stack(a.k.a., Elasticsearch, Logstash, and Kibana)
1
List of Log Files. Central Log Storage.
2
Central Log Storage. Diagram.
3
FileBeat config file. YML standard
FileBeat config file. YML
4
vim /etc/filebeat/filebeat.yml
-
paths:
- ${API_APP_LOG_PATH}/file.log
encoding: plain
input_type: log
fields:
level: apico_backend
review: 1
fields_under_root: false
ignore_older: 0
document_type: api_backend_requests
scan_frequency: 2s
multiline:
pattern: ^[[:digit:]]{4}
negate: true
match: after
max_lines: 500
timeout: 2s
tail_files: false
### Logstash as output
logstash:
# The Logstash hosts
hosts: ["cls.apico.net:9999"]
# Number of workers per Logstash host.
worker: 2
# Optional TLS. By default is off.
tls: certificate_authorities:["/etc/ssl/certs/rootCA.crt"]
insecure: false
Using Environment Variblaes in Configuration
Logstash config source
Link environment-variables @see /etc/sysconfig/filebeat
Filebeat_using_env_vars
Environment Logstash config result
input {
tcp {
port => "${TCP_PORT}"
}
}
export TCP_PORT=12345 input {
tcp {
port => 12345
}
}
input {
tcp {
port => "${TCP_PORT}"
}
}
No TCP_PORT defined Raise a logstash configuration error
input {
tcp {
port => "${TCP_PORT:54321}"
}
}
No TCP_PORT defined input {
tcp {
port => 54321
}
}
filter {
mutate {
add_field => {
"my_path" => "${HOME}/file.log"
}
}
export HOME="/path" filter {
mutate {
add_field => {
"my_path" => "/path/file.log"
}
}
5
SSL Certificate Authority
Certificate Authority — в 5 OpenSSL команд
https://habrahabr.ru/post/192446/
Using TLS between Beats and Logstash
https://gist.github.com/andrewkroh/fdc7e5f3f0f0ed63a11c
Validate crt key:
[root@MSG-predprod lostash_pp]# pwd
/etc/ssl/certs/lostash_pp
[root@MSG-predprod lostash_pp]# curl -v --cacert rootCA.crt https://cls.apico.net:9999
* Rebuilt URL to: https://cls.apico.net:9999/
* Connected to cls.apico.net (172.31.13.49) port 9999 (#0)
* CAfile: rootCA.crt
* Server certificate:
* subject: E=kh.airat14@gmail.com,CN=cls.apico.net,OU=ITY,O=Default Company Ltd,L=Moscow,ST=Moscow,C=MT
* start date: Apr 19 11:59:50 2016 GMT
* expire date: Sep 05 11:59:50 2043 GMT
* common name: cls.apico.net
> GET / HTTP/1.1
> Host: cls.apico.net:9999
> Accept: */*
* Empty reply from server
[root@MSG-predprod lostash_pp]#
6
Security:SSL Certificate AUthority.
Beats Platform: Collect, Parse, and Ship
Don't stop the Beat
Packetbeat - the best way to understand the value of a network packet analytics system like
Packetbeat is to try it on your own traffic.
Topbeat - helps you monitor the availability of your website or service by providing system-wide
and per-process statistics along with a disk usage overview.
Filebeat - read data from log files
7
LogStash Input config file.
LogStash Input config file.
8
vim /etc/logstash/conf.d/logstash.conf
input {
beats { #plugins
port => 9999
host => "cls.apico.net"
ssl_certificate => "/etc/ssl/certs/rootCA.crt"
ssl_key => "/etc/pki/tls/private/rootCA.key"
}
rabbitmq {
exchange => "event-sms-in"
queue => "logstash-queue-pp"
}
}
filter {
...
}
output {
file{
path => "/logstash/%{+YYYY-MM-dd}-input.log"
}
rabbitmq {
exchange => "logstash-exchange"
key => "logstash-routing-key"
}
}
Get data from Rabbit.
Get data from RabbitMq (Logstash plugin)
https://www.elastic.co/guide/en/logstash/current/plugins-inputs-rabbitmq.html
9
Get data from RabbitMq.
RabbitMq configuration.
Output RabbitMq configuration.
10
Hostname IP cls.apico.net
127.0.0.1
Exchange logstash-exchange
Exchange_type direct
Routing Key logstash-routing-key
User user
LogStash Filter config file.
LogStash Filters. Filter for “log_status”.
WIKI: Добавление параметра message_sid в файла логирования для компонентов SmsController RadiusController.
Filter messages from log file by STATUS:
11
log file message
status
error warning info
log_status error warning info
LogStash Filter config file.
LogStash Filters. Filter for “account_sid”.
Filter API request by User Auth Status/Role:
12
user auth
status/role
User
unauthorized
User::
ROLE_SYSTEM
User::ROLE_ACCOUNT
account_sid unknown system acc01fe181e-741b-3693-88bb-3847abfb6e86
sac01fe181e-741b-3693-88bb-3847abfb6e55
LogStash Filter config file.
LogStash Filters. Filter for “message_sid”.
Filter SmsController RadiusController
SmsSender by message_sid:
13
Source Consoler_app: [MessageSid:msgXXX] SmsSender_app:"message_sid":"msgXXX"
message_sid msgXXX msgXXX
LogStash Filter config file.
LogStash Filters. Filter for “message_sid”.
Filter SmsController RadiusController
SmsSender by message_sid:
14
Source Consoler_app: [MessageSid:msgXXX] SmsSender_app:"message_sid":"msgXXX"
message_sid msgXXX msgXXX
LogStash List og plugins..
LogStash Plugins.
15
logstash-codec logstash-filter logstash-input logstash-output
collectd
dots
edn
edn_lines
es_bulk
fluent
graphite
json
json_lines
line
msgpack
multiline
netflow
oldlogstashjson
plain
rubydebug
anonymize
checksum
clone
csv date
dns drop
Fingerprint geoip
grok json
Kv metrics
multiline mutate
ruby
sleep
split
syslog_pri
throttle
urldecode
useragent
uuid
xm
beats
couchdb_changes
elasticsearch
eventlog
exec
file
ganglia
gelf generator
graphite
heartbeat
http http_poller
Imap irc
Jdbc kafka
log4j lumberjack
pipe
rabbitmq
redis s3
snmptrap sqs
stdin syslog
tcp twitter
udp unix
xmpp zeromq
cloudwatch csv
elasticsearch
email
exec
file ganglia
gelf graphite
hipchat
http irc
juggernaut
kafka
lumberjack
nagios
nagios_nsca
null opentsdb
pagerduty pipe
rabbitmq redis
s3 sns
sqs statsd
stdout tcp
udp xmpp
zeromq
logstash-patterns-core
Nginx Kibana: Authentication. Nginx-to-proxy
Nginx Restricting Access
Nginx Reverse Proxy
16
Nginx Kibana: Authentication. Nginx-to-proxy
Kibana. Discover. Search. ElasticSearch Query.
17
Kibana: The Main Components. Discover.
Kibana. Visualize. Visualization type.
18
Kibana: The Main Components. Visualize.
Kibana. Dashboard. EL Query + Visualization types
19
Kibana: The Main Components.
ElasticSearch Query DSL.
ES Query DSL
ES Query DSL (Webinar Video)
20
ElasticSearch Query DSL
Debug. Troubleshooting.
Filebeat:
1. filebeat -e -d "publish" -c /etc/filebeat/filebeat.yml -configtest
2. .(точка)(пробел) /etc/sysconfig/filebeat
3. filebeat -e -d "*" -c /etc/filebeat/filebeat.yml
Logstash:
1. /opt/logstash/bin/logstash --config /etc/logstash/conf.d/logstash.conf --configtest
2. /opt/logstash/bin/logstash --verbose --config /etc/logstash/conf.d/logstash.conf
21
Debug. Troubleshooting.
Inspiration manual.
1.Собираем и анализируем логи с помощью Lumberjack+Logstash+Elasticsearch+RabbitMQ
(The Guardian )
2. Wiki MTT.Innovations. АPICO.CentralLogStorage.
3. Import to CvS Excel . Read Comments
https://habrahabr.ru/post/236341/
4. Logstash alert.
The throttle filter is for throttling the number of events received.
https://www.elastic.co/guide/en/logstash/current/plugins-filters-throttle.html
Plugins outputs email
https://www.elastic.co/guide/en/logstash/current/plugins-outputs-email.html
22
Inspiration manual.
End. No just the beginning.
Elastic BackUp: Snapshot and restore.
Backing-up-your-cluster
File rotation linux BackUp & Restore(5).
Elasticsearch Monitoring Java
23
Just the beginning.

More Related Content

PPT
'Scalable Logging and Analytics with LogStash'
PPTX
ELK Stack
PPTX
Scaling an ELK stack at bol.com
PPT
Logstash
PPTX
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
PDF
"How about no grep and zabbix?". ELK based alerts and metrics.
PPTX
Monitoring Docker with ELK
PPTX
How bol.com makes sense of its logs, using the Elastic technology stack.
'Scalable Logging and Analytics with LogStash'
ELK Stack
Scaling an ELK stack at bol.com
Logstash
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
"How about no grep and zabbix?". ELK based alerts and metrics.
Monitoring Docker with ELK
How bol.com makes sense of its logs, using the Elastic technology stack.

What's hot (20)

PDF
LogStash in action
PDF
Elk devops
PDF
Logstash + Elasticsearch + Kibana Presentation on Startit Tech Meetup
PDF
Logstash family introduction
PPTX
MySQL Slow Query log Monitoring using Beats & ELK
PDF
Experiences in ELK with D3.js for Large Log Analysis and Visualization
PPTX
Elastic - ELK, Logstash & Kibana
PPTX
Logstash
PDF
elk_stack_alexander_szalonnas
PPT
Learn ELK in docker
PDF
Open Source Logging and Monitoring Tools
PDF
Introducing ELK
PDF
Journée DevOps : Des dashboards pour tous avec ElasticSearch, Logstash et Kibana
PPTX
Tuning Elasticsearch Indexing Pipeline for Logs
PPTX
ELK Ruminating on Logs (Zendcon 2016)
PPTX
Toronto High Scalability meetup - Scaling ELK
PDF
Logstash: Get to know your logs
PPTX
Introduction to ELK
PDF
Logs aggregation and analysis
PDF
Docker Monitoring Webinar
LogStash in action
Elk devops
Logstash + Elasticsearch + Kibana Presentation on Startit Tech Meetup
Logstash family introduction
MySQL Slow Query log Monitoring using Beats & ELK
Experiences in ELK with D3.js for Large Log Analysis and Visualization
Elastic - ELK, Logstash & Kibana
Logstash
elk_stack_alexander_szalonnas
Learn ELK in docker
Open Source Logging and Monitoring Tools
Introducing ELK
Journée DevOps : Des dashboards pour tous avec ElasticSearch, Logstash et Kibana
Tuning Elasticsearch Indexing Pipeline for Logs
ELK Ruminating on Logs (Zendcon 2016)
Toronto High Scalability meetup - Scaling ELK
Logstash: Get to know your logs
Introduction to ELK
Logs aggregation and analysis
Docker Monitoring Webinar
Ad

Viewers also liked (20)

PDF
Logging with Elasticsearch, Logstash & Kibana
PPTX
Elk stack
PPTX
ELK - Stack - Munich .net UG
PPTX
The ELK Stack - Get to Know Logs
PDF
Log analysis with the elk stack
PPTX
Elk ruminating on logs
PPTX
Centralized Logging System Using ELK Stack
PDF
Interactive learning analytics dashboards with ELK (Elasticsearch Logstash Ki...
PPTX
Lessons Learned in Deploying the ELK Stack (Elasticsearch, Logstash, and Kibana)
PPTX
ELK at LinkedIn - Kafka, scaling, lessons learned
PPT
How ElasticSearch lives in my DevOps life
PPTX
Using ELK-Stack (Elasticsearch, Logstash and Kibana) with BizTalk Server
PPTX
Attack monitoring using ElasticSearch Logstash and Kibana
PPTX
Developing highly scalable applications with Symfony and RabbitMQ
PDF
Using Elastic to Monitor Everything - Christoph Wurm, Elastic - DevOpsDays Te...
PDF
Consolidez vos journaux et vos métriques avec Elastic Beats
PPTX
PDF
Zabbix monitoring in 5 pictures
PDF
ELK: a log management framework
PPTX
ElasticSearch AJUG 2013
Logging with Elasticsearch, Logstash & Kibana
Elk stack
ELK - Stack - Munich .net UG
The ELK Stack - Get to Know Logs
Log analysis with the elk stack
Elk ruminating on logs
Centralized Logging System Using ELK Stack
Interactive learning analytics dashboards with ELK (Elasticsearch Logstash Ki...
Lessons Learned in Deploying the ELK Stack (Elasticsearch, Logstash, and Kibana)
ELK at LinkedIn - Kafka, scaling, lessons learned
How ElasticSearch lives in my DevOps life
Using ELK-Stack (Elasticsearch, Logstash and Kibana) with BizTalk Server
Attack monitoring using ElasticSearch Logstash and Kibana
Developing highly scalable applications with Symfony and RabbitMQ
Using Elastic to Monitor Everything - Christoph Wurm, Elastic - DevOpsDays Te...
Consolidez vos journaux et vos métriques avec Elastic Beats
Zabbix monitoring in 5 pictures
ELK: a log management framework
ElasticSearch AJUG 2013
Ad

Similar to Central LogFile Storage. ELK stack Elasticsearch, Logstash and Kibana. (20)

PDF
Scaling your logging infrastructure using syslog-ng
PDF
Scaling Your Logging Infrastructure With Syslog-NG
PDF
Node.js API 서버 성능 개선기
PDF
Monitoring with Syslog and EventMachine
PDF
(Fios#02) 2. elk 포렌식 분석
PDF
Application Logging in the 21st century - 2014.key
PPTX
Hack ASP.NET website
KEY
Study2study#4 nginx conf_1_24
PPTX
TO Hack an ASP .NET website?
PDF
Security threat analysis points for enterprise with oss
PPT
Mt logging with_bam
PDF
SCaLE 2016 - syslog-ng: From Raw Data to Big Data
PPT
Building an ActionScript Game Server with over 15,000 Concurrent Connections
PDF
Monitoring with Syslog and EventMachine (RailswayConf 2012)
PDF
MySQL Slow Query log Monitoring using Beats & ELK
PPTX
Hunting for APT in network logs workshop presentation
PDF
JDD 2016 - Tomasz Gagor, Pawel Torbus - A Needle In A Logstack
PDF
2015. Libre Software Meeting - syslog-ng: from log collection to processing a...
PDF
Developing Realtime Data Pipelines With Apache Kafka
PDF
Php logging
Scaling your logging infrastructure using syslog-ng
Scaling Your Logging Infrastructure With Syslog-NG
Node.js API 서버 성능 개선기
Monitoring with Syslog and EventMachine
(Fios#02) 2. elk 포렌식 분석
Application Logging in the 21st century - 2014.key
Hack ASP.NET website
Study2study#4 nginx conf_1_24
TO Hack an ASP .NET website?
Security threat analysis points for enterprise with oss
Mt logging with_bam
SCaLE 2016 - syslog-ng: From Raw Data to Big Data
Building an ActionScript Game Server with over 15,000 Concurrent Connections
Monitoring with Syslog and EventMachine (RailswayConf 2012)
MySQL Slow Query log Monitoring using Beats & ELK
Hunting for APT in network logs workshop presentation
JDD 2016 - Tomasz Gagor, Pawel Torbus - A Needle In A Logstack
2015. Libre Software Meeting - syslog-ng: from log collection to processing a...
Developing Realtime Data Pipelines With Apache Kafka
Php logging

Recently uploaded (20)

PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
medical staffing services at VALiNTRY
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
assetexplorer- product-overview - presentation
PDF
Nekopoi APK 2025 free lastest update
PPTX
history of c programming in notes for students .pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Reimagine Home Health with the Power of Agentic AI​
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Design an Analysis of Algorithms II-SECS-1021-03
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Softaken Excel to vCard Converter Software.pdf
Design an Analysis of Algorithms I-SECS-1021-03
medical staffing services at VALiNTRY
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
wealthsignaloriginal-com-DS-text-... (1).pdf
PTS Company Brochure 2025 (1).pdf.......
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
assetexplorer- product-overview - presentation
Nekopoi APK 2025 free lastest update
history of c programming in notes for students .pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Wondershare Filmora 15 Crack With Activation Key [2025
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Reimagine Home Health with the Power of Agentic AI​

Central LogFile Storage. ELK stack Elasticsearch, Logstash and Kibana.

  • 1. Central Log Storage. ELK stack(a.k.a., Elasticsearch, Logstash, and Kibana) 1
  • 2. List of Log Files. Central Log Storage. 2
  • 3. Central Log Storage. Diagram. 3
  • 4. FileBeat config file. YML standard FileBeat config file. YML 4 vim /etc/filebeat/filebeat.yml - paths: - ${API_APP_LOG_PATH}/file.log encoding: plain input_type: log fields: level: apico_backend review: 1 fields_under_root: false ignore_older: 0 document_type: api_backend_requests scan_frequency: 2s multiline: pattern: ^[[:digit:]]{4} negate: true match: after max_lines: 500 timeout: 2s tail_files: false ### Logstash as output logstash: # The Logstash hosts hosts: ["cls.apico.net:9999"] # Number of workers per Logstash host. worker: 2 # Optional TLS. By default is off. tls: certificate_authorities:["/etc/ssl/certs/rootCA.crt"] insecure: false
  • 5. Using Environment Variblaes in Configuration Logstash config source Link environment-variables @see /etc/sysconfig/filebeat Filebeat_using_env_vars Environment Logstash config result input { tcp { port => "${TCP_PORT}" } } export TCP_PORT=12345 input { tcp { port => 12345 } } input { tcp { port => "${TCP_PORT}" } } No TCP_PORT defined Raise a logstash configuration error input { tcp { port => "${TCP_PORT:54321}" } } No TCP_PORT defined input { tcp { port => 54321 } } filter { mutate { add_field => { "my_path" => "${HOME}/file.log" } } export HOME="/path" filter { mutate { add_field => { "my_path" => "/path/file.log" } } 5
  • 6. SSL Certificate Authority Certificate Authority — в 5 OpenSSL команд https://habrahabr.ru/post/192446/ Using TLS between Beats and Logstash https://gist.github.com/andrewkroh/fdc7e5f3f0f0ed63a11c Validate crt key: [root@MSG-predprod lostash_pp]# pwd /etc/ssl/certs/lostash_pp [root@MSG-predprod lostash_pp]# curl -v --cacert rootCA.crt https://cls.apico.net:9999 * Rebuilt URL to: https://cls.apico.net:9999/ * Connected to cls.apico.net (172.31.13.49) port 9999 (#0) * CAfile: rootCA.crt * Server certificate: * subject: E=kh.airat14@gmail.com,CN=cls.apico.net,OU=ITY,O=Default Company Ltd,L=Moscow,ST=Moscow,C=MT * start date: Apr 19 11:59:50 2016 GMT * expire date: Sep 05 11:59:50 2043 GMT * common name: cls.apico.net > GET / HTTP/1.1 > Host: cls.apico.net:9999 > Accept: */* * Empty reply from server [root@MSG-predprod lostash_pp]# 6 Security:SSL Certificate AUthority.
  • 7. Beats Platform: Collect, Parse, and Ship Don't stop the Beat Packetbeat - the best way to understand the value of a network packet analytics system like Packetbeat is to try it on your own traffic. Topbeat - helps you monitor the availability of your website or service by providing system-wide and per-process statistics along with a disk usage overview. Filebeat - read data from log files 7
  • 8. LogStash Input config file. LogStash Input config file. 8 vim /etc/logstash/conf.d/logstash.conf input { beats { #plugins port => 9999 host => "cls.apico.net" ssl_certificate => "/etc/ssl/certs/rootCA.crt" ssl_key => "/etc/pki/tls/private/rootCA.key" } rabbitmq { exchange => "event-sms-in" queue => "logstash-queue-pp" } } filter { ... } output { file{ path => "/logstash/%{+YYYY-MM-dd}-input.log" } rabbitmq { exchange => "logstash-exchange" key => "logstash-routing-key" } }
  • 9. Get data from Rabbit. Get data from RabbitMq (Logstash plugin) https://www.elastic.co/guide/en/logstash/current/plugins-inputs-rabbitmq.html 9 Get data from RabbitMq.
  • 10. RabbitMq configuration. Output RabbitMq configuration. 10 Hostname IP cls.apico.net 127.0.0.1 Exchange logstash-exchange Exchange_type direct Routing Key logstash-routing-key User user
  • 11. LogStash Filter config file. LogStash Filters. Filter for “log_status”. WIKI: Добавление параметра message_sid в файла логирования для компонентов SmsController RadiusController. Filter messages from log file by STATUS: 11 log file message status error warning info log_status error warning info
  • 12. LogStash Filter config file. LogStash Filters. Filter for “account_sid”. Filter API request by User Auth Status/Role: 12 user auth status/role User unauthorized User:: ROLE_SYSTEM User::ROLE_ACCOUNT account_sid unknown system acc01fe181e-741b-3693-88bb-3847abfb6e86 sac01fe181e-741b-3693-88bb-3847abfb6e55
  • 13. LogStash Filter config file. LogStash Filters. Filter for “message_sid”. Filter SmsController RadiusController SmsSender by message_sid: 13 Source Consoler_app: [MessageSid:msgXXX] SmsSender_app:"message_sid":"msgXXX" message_sid msgXXX msgXXX
  • 14. LogStash Filter config file. LogStash Filters. Filter for “message_sid”. Filter SmsController RadiusController SmsSender by message_sid: 14 Source Consoler_app: [MessageSid:msgXXX] SmsSender_app:"message_sid":"msgXXX" message_sid msgXXX msgXXX
  • 15. LogStash List og plugins.. LogStash Plugins. 15 logstash-codec logstash-filter logstash-input logstash-output collectd dots edn edn_lines es_bulk fluent graphite json json_lines line msgpack multiline netflow oldlogstashjson plain rubydebug anonymize checksum clone csv date dns drop Fingerprint geoip grok json Kv metrics multiline mutate ruby sleep split syslog_pri throttle urldecode useragent uuid xm beats couchdb_changes elasticsearch eventlog exec file ganglia gelf generator graphite heartbeat http http_poller Imap irc Jdbc kafka log4j lumberjack pipe rabbitmq redis s3 snmptrap sqs stdin syslog tcp twitter udp unix xmpp zeromq cloudwatch csv elasticsearch email exec file ganglia gelf graphite hipchat http irc juggernaut kafka lumberjack nagios nagios_nsca null opentsdb pagerduty pipe rabbitmq redis s3 sns sqs statsd stdout tcp udp xmpp zeromq logstash-patterns-core
  • 16. Nginx Kibana: Authentication. Nginx-to-proxy Nginx Restricting Access Nginx Reverse Proxy 16 Nginx Kibana: Authentication. Nginx-to-proxy
  • 17. Kibana. Discover. Search. ElasticSearch Query. 17 Kibana: The Main Components. Discover.
  • 18. Kibana. Visualize. Visualization type. 18 Kibana: The Main Components. Visualize.
  • 19. Kibana. Dashboard. EL Query + Visualization types 19 Kibana: The Main Components.
  • 20. ElasticSearch Query DSL. ES Query DSL ES Query DSL (Webinar Video) 20 ElasticSearch Query DSL
  • 21. Debug. Troubleshooting. Filebeat: 1. filebeat -e -d "publish" -c /etc/filebeat/filebeat.yml -configtest 2. .(точка)(пробел) /etc/sysconfig/filebeat 3. filebeat -e -d "*" -c /etc/filebeat/filebeat.yml Logstash: 1. /opt/logstash/bin/logstash --config /etc/logstash/conf.d/logstash.conf --configtest 2. /opt/logstash/bin/logstash --verbose --config /etc/logstash/conf.d/logstash.conf 21 Debug. Troubleshooting.
  • 22. Inspiration manual. 1.Собираем и анализируем логи с помощью Lumberjack+Logstash+Elasticsearch+RabbitMQ (The Guardian ) 2. Wiki MTT.Innovations. АPICO.CentralLogStorage. 3. Import to CvS Excel . Read Comments https://habrahabr.ru/post/236341/ 4. Logstash alert. The throttle filter is for throttling the number of events received. https://www.elastic.co/guide/en/logstash/current/plugins-filters-throttle.html Plugins outputs email https://www.elastic.co/guide/en/logstash/current/plugins-outputs-email.html 22 Inspiration manual.
  • 23. End. No just the beginning. Elastic BackUp: Snapshot and restore. Backing-up-your-cluster File rotation linux BackUp & Restore(5). Elasticsearch Monitoring Java 23 Just the beginning.