Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Send JSON from logstash to Elasticsearch

To send data from a RESTful Webservice, there is the input plugin exec. It executes a command for a defined interval.

Read more

logstash / or ?

Working with logstash on a Windows machine is a little tricky. The curl command exists as Windows binary. Invoking curl gives me a JSON message, that I used for logstash input.

Read more

Jolokia - JMX with JSON over HTTP

Jolokia is remote JMX with JSON over HTTP. It provides several agents to expose JMX MBeans. OSGi is one of them :smile:. Using DropWizard Metrics with the JmxReporter, you can easily access the metrics. If you use the Java EE agent (deploy the jolokia.war to your Java EE application server), it enables you to access the metric under the given MBeans objectName, e.g. The context-root can be simplified to jolokia via the web.xml.

Read more

Encrypt.to - Secure Contact Form

Encrypt.to is a good way to provide (initial) contact with an encrypted email. Just enter the email address of the recipient and if the lookup for a (public) gpg key is successful, you are free to send. There are various service levels from free to enterprise. Quite handy if you have no email client with gpg support or gpg itself around. :smile:

Read more

Socket (HTTP) connection over Proxy

If you need to check that a remote host has a socket open, check following example. This example creates a socket at the HTTP port over your custom network proxy. If the proxy requires authentication, you may override the default Authenticator. Keep in mind that it is only an example!

Read more