Stream endpoint: filter option
samu opened this issue · 2 comments
The /stream
endpoint currently allows to pass appID
as an argument. It would be useful if in addition to that, the message type could be specified (Log or Metric).
A quick look at the code shows that here the appID is used as a parameter. The Filter structure appears to also allow for a Message option. Is it possible to extend this endpoint so one could specify it as a parameter?
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/161394699
The labels on this github issue will be updated when the story is started.
Hi @samu,
What you desire can be achieved today via the RLP (Reverse Log Proxy) Gateway. The RLP Gateway provides the Loggregator V2 API over HTTP using Server Sent Events with JSON payloads of the Loggregator V2 Envelope Batches.
The RLP Gateway is documented here and the Loggregator V2 Envelope Batch is defined in loggregator-api
I am going to close this issue for now. If the RLP Gateway does not fulfil your needs feel free to re-open.