Entries with zylk-blog ELK times .

Actualidad

Testing new features in Elastic Search 7 with Docker

avatar
Cesar Capillas Feb 20, 2020
Zylk

If you use or evaluate Elastic Search, you may be surprised of the quite fast version lifecycle and the new features found in every minor version (almost a minor version each two months). Recently, Elastic Search 7.6 was released. A simpler possibility than to upgrade your test environment, or test it in the Elastic cloud, is to use docker images for testing the new Elastic stuff. The documentation provides a docker-compose configuration for setting up a simple cluster, which it is indeed a......

Read More

Using Elastic APM for Alfresco Performance Monitoring

avatar
Cesar Capillas Jan 24, 2020
Zylk

Last days I played with Elastic APM for gaining some insights on the performance of our Alfresco production instance. The setup is quite straight-foward, although obviously, you need some infraestructure for it: An Elastic Search cluster (with Kibana). An Elastic APM Server (listening on port 8200, and binded with your Elastic Search cluster). An Elastic APM agent jar for the application to monitor (in this case Alfresco). For setting the Elastic APM Server, we just download the tar.gz......

Read More

Security in Elastic Search 7.1

avatar
Cesar Capillas Dec 26, 2019
Zylk

As you probably know from Elastic 6.8 and 7.1 versions, security module is free in Basic License, providing important features such as: Native realm for create and managing local users. Role based control access for indices and cluster APIs in Kibana. From some time ago, I can read news about security breaches about unprotected and misconfigured Kibana instances on the Internet. But this is a lack of a basic configuration of a popular stack as Elastic. Below, I summarize some of the steps......

Read More

Snapshots in Elastic Search 7

avatar
Cesar Capillas Dec 15, 2019
Zylk

Snapshots are a very important task for backup, restoration and upgrade procedures in Elastic Search. A snapshot is just a backup taken from a running ES cluster, what we often know as a hot backup. A big disclaimer is taken from documentation; you cannot back up an Elasticsearch cluster by simply taking a copy of the data directories of all of its nodes, while it is running. The only reliable way to back up a cluster is by using the snapshot and restore functionality. Snapshots are taken......

Read More

Un día en la ElasticON

avatar
Cesar Capillas Dec 05, 2019
Zylk

El pasado martes asistí en Barcelona a un evento del Elastic{ON} Tour, donde el equipo de Elastic Iberia comandado por Ignacio Suárez, Matias Cascallares y Regina Sáenz nos presentó el roadmap y novedades del popular motor de búsqueda analítica y su stack de aplicaciones. Tras una introducción histórica del producto creado en 2010, nos mostraron la orientación actual hacia paquetes de soluciones o casos de uso sobre el stack: Búsqueda de sites y aplicaciones (Site Search / App Search y......

Read More

Visualizing Logstash pipelines in Kibana

avatar
Cesar Capillas Dec 02, 2019
Zylk

When enabling monitoring xpack in Elastic Search and Logstash, you can enjoy the Stack Monitoring section in Kibana. This section provides a complete interface for monitoring your ELK setup including Elastic Search cluster, Logstash and Kibana. For enabling (you need to have security xpack enabled first to define the application usersset), and then restart your components with the following config: In logstash.yml you should set (once authentication is enabled in ES): # X-Pack Monitoring #......

Read More

Playing Heartbeats in Elastic Search 7

avatar
Cesar Capillas Nov 27, 2019
Zylk

Last days I was exploring several features of Elastic Stack in version 7.2, including some of the available Beats agents. In this case, I played a beat with Heartbeat agent, that it is able to perform direct monitoring via TCP / HTTP / ICMP for a given url / host of a given service. It is a basic direct monitoring where we can ping everything, and then indexing this monitoring data in Elastic Search. In Kibana, we can find an Uptime section for visualization. It is also available a (useful)......

Read More

zylk en el ElasticON Tour de Barcelona 2019

avatar
Cesar Capillas Nov 23, 2019
Zylk

La semana que viene (3 de diciembre) estaremos en el evento Elastic{ON} Tour en Barcelona, una oportunidad de conocer en primera persona el roadmap y las novedades del popular stack de búsqueda analítica con corazón open source de la mano de sus expertos. En sus últimas versiones se han incorporado nuevos módulos que permiten trabajar numerosos casos de uso, más allá de la ya tradicional gestión de logs y métricas. Desde el rendimiento de aplicaciones con APM, el Machine Learning hasta la......

Read More

Kibana dashboard for monitoring Liferay JVM via JMX

avatar
Cesar Capillas Nov 21, 2019
Zylk

Some time ago we did a Kibana dashboard for JMX monitoring in Alfresco via Logstash. Today I'll briefly let some notes for a similar configuration but with other tool of the Elastic Stack, Metricbeat, using a jolokia plugin for HTTP - JMX bridge. The main difference is that in the previous example, we had a logstash process for getting JMX information in a Tomcat node, and now we have a lighter agent, Metricbeat, which is ideally better suited for this purpose. Besides the Metricbeat client,......

Read More

Basic security for Elastic Search is now free

avatar
Cesar Capillas Jun 28, 2019
Zylk

As you probably know, Elastic Search is a distributed, document-oriented search and analytics engine, which supports structured and unstructured queries with a schemaless model ahead of time. Elastic Search is used as a search engine, and often for web-scale log analytics or real-time application monitoring. In the past, we previously wrote some examples for monitoring or auditing applications such as Liferay or Alfresco. Some weeks / months ago, one important change was announced in Elastic......

Read More

Auditing added content in Alfresco repository II

avatar
Cesar Capillas Apr 15, 2019
Zylk

In the last post about "Auditing added content in Alfresco repository", we talked about how to create a simple audit console based on an Alfresco behaviour. Let's give some details for this example. The idea is quite simple, for Alfresco creation events, to write an event log in catalina.out, such the following one: 2019-04-15 08:50:02,346 DEBUG [repo.behavior.AuditContentCreatedBehavior] [http-apr-8080-exec-5] version created => uuid=845e3c4e-197a-472a-9b85-cf3a31ad7ae0......

Read More

Auditing added content in Alfresco repository

avatar
Cesar Capillas Apr 09, 2019
Zylk

One of the most important questions for many customers, once they are working with a document management system (now content services), is to know how they are using it. They want to obtain basic usage metrics about their business processes and custom content types to understand quantitatively how critical they are. Sometimes even simpler questions (sometimes audit related or statistics related) are not easy to obtain, such as how many documents do we have in the repository, what are the most......

Read More

Analyzing Tomcat log access data with Docker ELK resources

avatar
Cesar Capillas Feb 09, 2018
Zylk

In last Alfresco Devcon, I presented some basic configuration for Alfresco monitoring with Elastic stack (ELK). A very nice automated setup for testing this configuration in ELK 6.1 is via the docker compose setup given in this github project: $ git clone https://github.com/deviantony/docker-elk $ cd docker-elk This is an opportunity of checking Elastic Stack new features in 6.1 version, for example the new Kibana homepage, some UI accesibility new features, the dashboard full screen mode,......

Read More

Kibana dashboard for monitoring Alfresco Community via OOTB Support Tools

avatar
Cesar Capillas Dec 26, 2017
Zylk

Some weeks ago I wrote a post about how to set up a basic Kibana dashboard representing System Performance and Active Sessions in Alfresco Enterprise via JMX metrics from a logstash JMX input. As you probably know, no such Alfresco JMX objects are available in Alfresco Community, such as active sessions (only the java and catalina objects are available). Anyway, it is possible to obtain a similar dashboard using the relevant information from a webscript, for example, the JSON-based webscripts......

Read More

Simple Kibana dashboard for monitoring Alfresco Logs

avatar
Cesar Capillas Dec 14, 2017
Zylk

Some days ago I wrote a post about how to set up a basic Kibana dashboard in Alfresco Enterprise with JMX metrics, from a logstash JMX input. Today I'm gonna add some simple configuration for creating a dashboard for Alfresco logs. The architecture for ELK is the same of the previous post, with logstash running in your Alfresco instance and a dedicated Elastic Search and Kibana server....

Read More

Kibana dashboard for monitoring Alfresco JMX metrics

avatar
Cesar Capillas Nov 12, 2017

This weekend I read in Elastic blog that Mr. Robot uses Kibana for monitoring the Dark Army, so I decided to write a post about a recent monitoring project for representing some basic (but interesting) Alfresco JMX metrics in a clustered environment, in which I was involved last week. As you probably know, Kibana is a useful tool of the ELK stack, composed by Elastic Search as indexing backend, Logstash for data extraction, and the cited Kibana for graphic representation of the extracted......

Read More
— 20 Items per Page
Showing 16 results.