This input allows you to receive events over XMPP/Jabber.
This plugin can be used for accepting events from humans or applications XMPP, or you can use it for PubSub or general message passing for logstash to logstash.
input {
xmpp {
add_field => ... # hash (optional), default: {}
debug => ... # boolean (optional)
format => ... # ["plain", "json", "json_event"] (optional)
host => ... # string (optional)
message_format => ... # string (optional)
password => ... # password (required)
rooms => ... # array (optional)
tags => ... # array (optional)
type => ... # string (required)
user => ... # string (required)
}
}
Add a field to an event
Set to true to enable greater debugging in XMPP. Useful for debugging network/authentication erros.
The format of input data (plain, json, json_event)
The xmpp server to connect to. This is optional. If you omit this setting, the host on the user/identity is used. (foo.com for user@foo.com)
If format is "json", an event sprintf string to build what the display @message should be given (defaults to the raw JSON). sprintf format strings look like %{fieldname} or %{@metadata}.
The xmpp password for the user/identity.
if muc/multi-user-chat required, give the name of the room that you want to join: room@conference.domain/nick
Add any number of arbitrary tags to your event.
This can help with processing later.
Label this input with a type. Types are used mainly for filter activation.
If you create an input with type "foobar", then only filters which also have type "foobar" will act on them.
The type is also stored as part of the event itself, so you can also use the type to search for in the web interface.
The user or resource ID, like foo@example.com.