Code Monkey home page Code Monkey logo

liferay-elastic-stack-demo's Introduction

Liferay Elastic Stack Demo

An example of using the Elastic Stack with Liferay and benefit from Elastic Observability features.

Components Overview

  • Liferay: our main application
  • Elasticsearch: the search engine for Liferay & the data store for our containers metrics and logs
  • Elastic APM: server + agent to monitor Liferay
  • Filebeat: aggregate logs from our containers
  • Metricbeat: monitor usages from our containers
  • Kibana: visualization tool for our data

Getting Started

Requirements

  • Docker 19+

Build

docker-compose build

Customize

You can choose the Liferay image (edition and version), the Elastic APM Java Agent version and add a comma separated list of application packages for Elastic APM agent:

docker-compose build \
--build-arg LIFERAY_IMAGE=liferay/dxp:7.3.10-ga1 \
--build-arg ELASTIC_APM_AGENT_VERSION=1.21.0 \
--build-arg ELASTIC_APM_APPLICATION_PACKAGES=com.example

In the example above, it will start Liferay DXP 7.3.10 GA1, install and attach Elastic APM Java Agent 1.21.0 and track com.liferay (always included by default in docker-compose.yml) and com.example.

Run

docker-compose up -d

Explore

Explore indexes, logs and metrics on Kibana at http://localhost:5601.

Play with Liferay at http://localhost:8080 and deploy your applications under ./liferay/deploy.

Screenshots

Elastic Observability

elastic-observability

Docker Containers Metrics

containers-metrics

Liferay Elastic APM

liferay-elastic-apm

License

MIT

liferay-elastic-stack-demo's People

Contributors

lgdd avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.