I’d like to log all conversations to my own logfile that would be consumed by filebeat and forwarded to Kibana.
A custom event broker seems like a good way to go but Rasa X already runs a RabbitMQ broker for its purposes and it doesn’t look like I can have a 2nd event broker. When I add a second
event_broker: section to the
endpoints.yml I get an error.
Other options would be to:
- Create a custom tracker store that writes a copy of the tracker information to a logfile.
- Get the events from RabbitMQ but I don’t see a straight forward way to tap into the RabbitMQ messages. The RabbitMQ logfiles don’t include the messages that were sent.
- Periodically poll the Rasa HTTP getTrackerConvesation endpoint to collect conversations.
- Poll with the Rasa X HTTP getConversations endpoint