Setup for elk Server setup for BIG-IP logging
install completed on LXC Ubuntu 16.04
- ubuntu_base_install file for base setup
#Elastic Search Setup
- ubuntu_elastic_install
#Kibana Install and Server setup
- ubuntu_kibana
#Logstash Install
- ubuntu_logstash
#Additional Plug-ins
- sudo /usr/share/logstash/bin/logstash-plugin install logstash-filter-geoip
- sudo /usr/share/logstash/bin/logstash-plugin install logstash-filter-dns
#Install Index Templates into Elastic Search for the required modules
- CURL - XPUT *.json (requried file upload)
- curl -XPUT http://localhost:9200/_template/pem?pretty -d @pem_mapping.json
- curl -XPUT http://localhost:9200/_template/afm?pretty -d @afm_mapping.json
- curl -XPUT http://localhost:9200/_template/dns?pretty -d @dns_mapping.json
#Configure F5 BIG-IP to Send data
- Pool = tcp server:5514 - PEM
- Pool = tcp server:5515 - DNS
- Pool = tcp server:5516 - AFM/CGNAT
#Check that Data is arriving in the Index curl 'localhost:9200/_cat/indices?v'
- health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
- yellow open pem-2017.01.18 -drykpvETBK0wVN3dKTDxw 5 1 526 0 1.5mb 1.5mb
- yellow open .kibana da8KKtaLS12mpj9bm7Izig 1 1 1 0 3.1kb 3.1kb
#Configure Indexes in Kibana
-
index pattern = pem-*
-
select @timestamps
-
index pattern = afm-*
-
select @timestamps
-
index pattern = dns-*
-
select @timestamps
#Import object data into Kibana
- Change Index UUID in json
- Import object json into Kibana
OPTIONAL
#Configure nginx for reverse proxy to Kibana