A Journey of a Thousand Miles Begins with a Single Step

Filter for incorrect behavior in RiskShield Server

The RiskShield Servers provide the capability to filter log messages, since log4j is under the hood. Especially in early stages, the INFO or DEBUG messages may produce too much “noise” to see the misconfiguration or problems the RiskShield Server is telling you. To filter only the log entries with incorrect content (WARN, ERROR, FATAL) you can use the show option to limit to these messages.

Read more

Monitor Elasticsearch in Docker with Monit

Running Elasticsearch as docker container is straightforward. If you don’t have a cluster manager like Kubernetes, monit can help you to keep track of the container lifecycle.

Read more

List dependency tree in Apache Maven

Do you ever run into the situation that a open source library uses a logging framework and you don’t know which one? If you use Apache Maven as build tool, the easiest solution is just to invoke mvn dependency:tree.

Read more

Get distinct field values in Elasticsearch

The aggregations framework helps provide aggregated data based on a search query. It is based on simple building blocks called aggregations, that can be composed in order to build complex summaries of the data. There are several types of aggregations. The cardinality aggregation is the exact match for distinct field values.

Read more

Comment and uncomment files with sed

If you have the need to comment a whole file sed is very handy to comment and uncomment files.

Read more

Monitoring of TCP connections with collectd and Elasticsearch

If you have an application which does distributed computing, i.e. means connects to other servers and send data, it is interesting to monitor the connection handling. Therefore collectd provides the plugin tcpconns, that allows to monitor dedicated ports. This data can be send to logstash, where it can have graphite or elasticsearch as output. Having the data in a metrics storage, visualization with Kibana or Grafana is a piece of cake.

Read more

Controlling Elasticsearch Marvel Data Collection

Marvel is the monitoring plugin for Elasticsearch and Kibana. If you do maintenance in Elasticsearch, and therefore close indices, you might stumble over some ERROR messages in the elasticsearch log. (Update: elastic rebranded it as x-pack monitoring)

Read more

Monitor process and used ports of Kibana

Monit has the capability to check for a process name. The process itself can also provided a service on a dedicated port, in this Kibana in Production, which uses SSL and expose its service on port 5601.

Read more

Checking for running port on Windows cmd

Using Windows command line is sometimes challenging. Especially if you want to check if a special port is up and running (listening). This post demonstrates how.

Read more