I'm writing ES client, as part of that I want to monitor when an user is being added/removed to/from a group. From my understanding I should be able to get the name of the user with
msg->event.od_group_remove->member->member_value.name.data
but it looks like this field gets populated randomly. I will trigger similiar event a couple of times, for example adding user to a group and on one occasion this will hold value, on another it will be empty.
I also tried to check different fields, and surprisingly
od_create_user->user_name
holds the name of the group I am editing, not the name of the user I am adding to the group (but I'm not sure if it should even be engaged at this point).
Am I missing something? Is there a workaround? Or is this a bug?
Please see what eslogger
reports for this event. This is a useful test because:
-
If
eslogger
shows the right values, we should look more carefully at your code. -
OTOH, if
eslogger
has the same problem, that’s a bug.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"