Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Overview

This PoC uses Filebeat and the apache filebeat module

Overview

In this PoC Filebeat is used in combination with the filebeat apache module to monitor the /usr/share/data/accesss.log-file on the local filesystem and output the data to elasticsearch.

When Elasticsearches receives data, the data is then processed using the defined ingest-pipeline filebeat apache module.

Usage

To run the PoC simply execute the run.sh script. It will start all the docker-container and apply runtime configuration, aswell as output log messages and cleanup after you exit.

Runtime Configuration

Kibana uses a custom runtime configuration to create an index-pattern. This configuration is created when starting the docker-environment using the run.sh script. The scripts used to perform runtime object creation can be found in the setup-directory.

  • 01_create_kibana_index_pattern.sh: Creates a kibana-index-pattern, which matches all filebeat*-indexes and sets the timeFieldName to @timestamp.

Filebeat uses the apache module, which defines an ingest-pipeline, aswell as a default index-template for the enabled module. This configuration is automatically applied by filebeat when run with docker.