Using graylog v2.4.6, we require a java plugin.
A graylog input (SYSLOG, GELF, etc, over TCP/IP) is configured to use SSL/TLS certificates and to require/optional client certificates. When a message arrives on that input, the plugin should lookup the client certificate Subject field and extract the subject. If present, the plugin should store it in a message field named gl2_remote_tls. If not present, the plugin should set the message gl2_remote_tls field to the empty string.
The plugin should overwrite any gl2_remote_tls field already present in the message.
Experience in JAVA development and GRAYLOG is required for this project.