Can not find Condition document in mongo


(Xuziheng1002) #1

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?


(Jan Doberstein) #2

The collection streamrules is what you are searching for.


(Xuziheng1002) #3

Sorry, I mean AlertCondition not StreamCondition


(Xuziheng1002) #4


(Jesse Hills) #5

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:


(Jan Doberstein) #6

the collection streams is what you are looking for.


#7

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


(system) closed #8

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.