Using REST Collector source, is there a way to mark the each event from which URL it was retrieved
![noura ali](https://s.gravatar.com/avatar/7473e8bdfc60472d4c89553a286fb5b8?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fno.png)
hello,
Using REST Collector source and putting multiple URLs in the collect URL field, is there a way to mark the each event from which URL it was retrieved
Best Answer
-
You can use the discover option, choose list
the id will be available in the event as
__collectible.id
0
Answers
-
Could you please elaborate a bit? A single REST Collector supports only one URL at a time as far as I am aware. A collector run adds multiple internal fields that you can use to identify different details. Please see the screenshot attached.
For example the URL that was used to retrieve an event is available in __collectStats.url0 -
i am trying to create one REST collector to collect REST data from 2 endpoints:
- https://x/public/api/admin/users/
- https://y/public/api/admin/users/
So i created a REST Collector with configuration as attached.
However, the field __collectStats.url seems to be not existing (attached).0 -
I am pretty sure that you will need 2 collectors. One for each URL. Happy to test that later.
0 -
You can use the discover option, choose list
the id will be available in the event as
__collectible.id
0