Can not find Condition document in mongo

I’m try to write data by mongo direct, but I can’t find the document of condition(StreamCondition).
Is that not saved in mongo? or named other names?

The collection streamrules is what you are searching for.

Sorry, I mean AlertCondition not StreamCondition

Hi @xuziheng1002

I actually had this same question the other week. The Alert conditions are stored in the streams collection within MongoDB.

See this thread for reference:

the collection streams is what you are looking for.

The Graylog API not suitable for this project (instead of rape the backend database)?