AWS Document DB for mongodb

I was wondering if anyone has used AWS Document DB for Graylog instead of MongoDB?

with the latest release AWS Document DB is not compatible with Graylog - as this is not compatible with MongoDB 3.6 what is minimal needed for Graylog

Oh okay. Thanks for replying back to me. I was just assume since on AWS Document DB, they said “Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6 API…” ( I have disabled TLS for testing purpose and seems like its having timeout issues.

2019-03-30 02:02:24,386 INFO : org.mongodb.driver.cluster - Exception in monitor thread while connecting to server {GRAYLOG_URL}
com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message
	at com.mongodb.connection.InternalStreamConnection.translateReadException( ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.receiveMessage( ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.receiveCommandMessageResponse( ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.sendAndReceive( ~[graylog.jar:?]
	at com.mongodb.connection.CommandHelper.sendAndReceive( ~[graylog.jar:?]
	at com.mongodb.connection.CommandHelper.executeCommand( ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnectionInitializer.initializeConnectionDescription( ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnectionInitializer.initialize( ~[graylog.jar:?]
	at ~[graylog.jar:?]
	at com.mongodb.connection.DefaultServerMonitor$ [graylog.jar:?]
	at [?:1.8.0_181]
Caused by: Read timed out
	at Method) ~[?:1.8.0_181]
	at ~[?:1.8.0_181]
	at ~[?:1.8.0_181]
	at ~[?:1.8.0_181]
	at ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.receiveResponseBuffers( ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.receiveMessage( ~[graylog.jar:?]
	... 9 more
2019-03-30 02:02:34,299 ERROR: org.graylog2.bindings.providers.MongoConnectionProvider - Error connecting to MongoDB: Timed out after 30000 ms while waiting for a server that matches com.mongodb.Mongo$4@bb25753. Client view of cluster state is {type=REPLICA_SET, servers=[{address={GRAYLOG_URL}, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message}, caused by { Read timed out}}]

You want to read:

1 Like

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