[17:33:30] <mun24> Need some help with data insertion
[17:33:51] <zell> hello, is there a tool similar to "redis-cli monitor" for mongo ?
[17:34:31] <zell> i mean i could increase the profile level to 2 and tail the mongo logs
[17:35:13] <zell> but I would like to only change the profiling level for the session of mongo (cli)
[17:35:31] <zell> and not bother reseting it every time i enter it or leave it
[17:36:14] <Derick> zell: yes, there is mongostat and mongotop, which would do something similar-ish
[17:36:36] <zell> Derick: yeah but mongo stat and mongotop flood my terminal
[17:37:06] <zell> (it's not refreshing the view like top, it's actually re-printing without clearing)
[17:37:32] <zell> (also i don't get the precise query, just the stat related to it)
[17:39:29] <zell> Derick: this is what redis-cli monitor look like: https://puu.sh/C4XgT/aa7c5546b8.png
[17:48:05] <zell> the closest i got to what i'm looking for is with db.setLogLevel(), but it print me big chunk of log, and also I have to set different log level at the beginning of the session, and reset them before i leave
[20:07:41] <h0d0r> Hi everyone - I am trying to use a query document in order to find a street name in array of addresses. The nested nature of the document makes it very hard for me to structure my query though.
[20:07:55] <h0d0r> "addresses" is the key under which the address array can be found, so what I did was: {find: "myCollection", filter: {addresses.street: { \$regex: /My Street Name/}} }
[20:08:27] <h0d0r> Which didn't work at all, because addresses.street is not accepted syntax
[20:08:50] <h0d0r> Do you guys know how I should structure this query document?