Facets based on membership data

I'm still getting my head around all things elastic but I was wondering if
elasticsearch is able and suitable to provide faceted search in this example

Say I import the logs from a server and want to match the username field
with additional data like role membership (user, super-user, admin, domain
admin) which isn't necessarily kept in elastic search for reasons of
security.

Would it be possible to have facets that use the membership hierarchy so I
could only return the super-users found in the server logs but ES would
query an external system for the actual userids that are members of that
role?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5a10ce36-777c-45fd-8b29-5287e0601fc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Unfortunately, an external lookup like you describe is not currently
supported. For now, you'll need to pull data into ES to perform all
faceting/aggregations.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3eeae6b2-84c5-4881-a0b0-6df1abf85d23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.