Graylog and ferretdb, podman

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!

1. Describe your incident:
Hi everybody,

I have podman containers, and want to connect graylog to ferretdb instead of mongodb, but i get errors while trying to get it connected:

Blockquote
2025-04-01T10:14:08.918Z WARN clientconn/conn.go:624 Response message:
{
FlagBits: [],
Checksum: int64(0),
Sections: [
{
Kind: 0,
Document: {
ok: 0.0,
errmsg: no such command: '{ ping: 1 }',
code: 59,
codeName: CommandNotFound,
},
},
],
} {“name”:“listener”}
(…)
Or an error like this:
ERROR: Unable to connect to MongoDB. Is it running and the configuration correct?
Details: Command failed with error 115 (CommandNotSupported): ‘Error in specification { “key” : { “title” : 1 }, “name” : “title_1”, “collation” : { “locale” : “en” } } :: caused by :: createIndex.collation is not implemented yet’ on server ferretdb:27017. The full response is {“ok”: 0.0, “errmsg”: “Error in specification { "key" : { "title" : 1 }, "name" : "title_1", "collation" : { "locale" : "en" } } :: caused by :: createIndex.collation is not implemented yet”, “code”: 115, “codeName”: “CommandNotSupported”}
(…)
Terminating. :frowning:

It then simply terminates.

2. Describe your environment:

  • OS Information:
    Debian 12, 6.1.0-23-amd64

  • Package Version:
    podman version 4.3.1
    ferretdb:2.0.0
    postgres-documentdb:17-0.102.0-ferretdb-2.0.0
    graylog/graylog:6.0
    graylog/graylog-datanode:6.1.4

  • Service logs, configurations, and environment variables:

3. What steps have you already taken to try and solve the problem?

  • Since Ping is not supported by ferretdb, i tried to avoid that in compose, not really working.
  • Try to get it run with mongodb until first config is done and then switch to ferretdb → different errors, also does not work correctly.

4. How can the community help?
Did anyone also tried to get graylog run with ferretdb instead of mongodb?

Best regards

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

Hey @fsec,

You likely know but Graylog only supports MongoDB and thus there has been no testing on other similar products.

Looking at the error thrown, it reads like ferretDB does not support the collation operation with createIndex and without it I’m unsure there is much to be done.

Can I ask why you don’t want to use MongoDB or is this just curiosity?

hey @Wine_Merchant,

thanks for your message. In fact we are facing a situation where we have a centrally provided PostgreSQL service running on dedicated enterprise hardware. For policy reasons there is currently no option that we could get a centrally operate MongoDB service similar to the one we have for PostgreSQL. This is why we started to look around and find ferretDB as a potential drop-in replacement of MongoDB with a PostgreSQL backend. To understand limitations we were looking into well established products (such as graylog) that use MongoDB under the hood to see how far this approach brings us.

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