# Does EventBroker trace requests sent to Rasa NLU?

**URL:** <https://forum.rasa.com/t/does-eventbroker-trace-requests-sent-to-rasa-nlu/15438>\
**Category:** Rasa Open Source\
**Created:** [September 9, 2019, 6:30pm UTC](https://forum.rasa.com/t/does-eventbroker-trace-requests-sent-to-rasa-nlu/15438 "2019-09-09T18:30:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chapkovski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chapkovski/32/4497_2.png) [@chapkovski](https://forum.rasa.com/u/chapkovski)\
**Post date:** [September 9, 2019, 6:30pm UTC](https://forum.rasa.com/t/does-eventbroker-trace-requests-sent-to-rasa-nlu/15438/1 "2019-09-09T18:30:22Z")

</div>

When I have my rasa server running using api like:

```
rasa run --enable-api

```

and then send messages, like:

```
curl localhost:5005/model/parse -d '{"text":"hello"}'

```

The event broker does not register that. Is it intentional or I am doing something wrong?

Is it possible to track this data, and for instance later on use it for retraining in Rasa X?

---

<div class="post-metadata">

**Author:** ![gcgloven](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gcgloven/32/3915_2.png) [@gcgloven](https://forum.rasa.com/u/gcgloven)\
**Post date:** [September 10, 2019, 1:57am UTC](https://forum.rasa.com/t/does-eventbroker-trace-requests-sent-to-rasa-nlu/15438/2 "2019-09-10T01:57:47Z")

</div>

you are querying nlu component with this commend… Event broker captures rasa core’s processed data for there’s a reply.

You may use this instead:

```
curl --request POST \
  --url http://localhost:5005/webhooks/rest/webhook \
  --header 'content-type: application/json' \
  --data '{
  "message": "Hello!"
}

```

Do let me know if this solves it for your case, I am still exploring.

---

<div class="post-metadata">

**Author:** ![chapkovski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chapkovski/32/4497_2.png) [@chapkovski](https://forum.rasa.com/u/chapkovski)\
**Post date:** [September 10, 2019, 2:23pm UTC](https://forum.rasa.com/t/does-eventbroker-trace-requests-sent-to-rasa-nlu/15438/3 "2019-09-10T14:23:00Z")

</div>

My task was to get the response from NLU but still keep requests logged via event broker. I solved this by writing a custom event that responds to any request by sending `tracker.latest_message` content (that contains the NLU body, such as intent, intent\_ranking and entities.

I wonder if there is a more elegant way, but this one works for now.
