Using the same instance of ES for different Gitlab instances

I am a bit new to this technology but I was wondering if I could use the same ES instance for two different Gitlab environments. Let’s say that we have a Gitlab for dev and a Gitlab for prod. Is there any way we can use the same ES instance for both of them?

Thanks in advance.

@botergios Do you have it working in one of your environments currently? There is nothing in the ES documentation that confirms or denies the possibility of an ES server used in multiple environments:

https://docs.gitlab.com/ee/integration/elasticsearch.html

But I think trying it out would be a good place to start, and maybe even create a feature request if it’s something that you think should be available.

J