Hi
Is it possible to find out which users are using the EWS feature?
Report which users are using the EWS feature
Re: Report which users are using the EWS feature
It's ugly but I grep the logs.
- oetiker
- Outstanding Member
- Posts: 276
- Joined: Fri Mar 07, 2014 1:05 pm
- Location: Switzerland
- ZCS/ZD Version: Release 10.0.6.GA.4518.UBUNTU20_64
- Contact:
Re: Report which users are using the EWS feature
Something like that?
Code: Select all
/opt/zimbra/log# grep ActiveSync /opt/zimbra/log/sync.log | awk -Fname= '{print $2}' | awk -F\; '{print $1}' | sort | uniq
-
- Zimbra Employee
- Posts: 57
- Joined: Tue Oct 18, 2022 11:22 am
Re: Report which users are using the EWS feature
@oetiker
You could use LDAP search to get the users with EWS enabled. Accounts would have EWS enabled on the account with zimbraFeatureEwsEnabled set to TRUE.
LDAP search filter as "(&(objectClass=zimbraAccount) (&(zimbraFeatureEwsEnabled=TRUE)))"
You could use LDAP search to get the users with EWS enabled. Accounts would have EWS enabled on the account with zimbraFeatureEwsEnabled set to TRUE.
LDAP search filter as "(&(objectClass=zimbraAccount) (&(zimbraFeatureEwsEnabled=TRUE)))"
-
- Ambassador
- Posts: 2767
- Joined: Mon Dec 16, 2013 11:35 am
- Location: France - Drôme
- ZCS/ZD Version: All of them
- Contact:
Re: Report which users are using the EWS feature
This will list the accounts with the feature enabled, not the accounts using it.yogesh.dasi wrote:You could use LDAP search to get the users with EWS enabled. Accounts would have EWS enabled on the account with zimbraFeatureEwsEnabled set to TRUE.
LDAP search filter as "(&(objectClass=zimbraAccount) (&(zimbraFeatureEwsEnabled=TRUE)))"
Re: Report which users are using the EWS feature
This is crude but works :
Code: Select all
egrep -e "ews - User: .* has successfully logged in." ews.log |cut -f3 -d'[' | sort | uniq