How to Configure LDAP River to fetch only updated records?


(Rahul Kalra) #1

Hi,

Please help me to identify the correct configuration for LDAP River, so
that it fetches only *updated records *
in polling after initial full fetch.

I am using below mentioned configuration.
This fetches all the records from LDAP after 86400s (1 day).

================================================================
curl -XPUT 'localhost:9200/_river/my_ldap_river1/_meta' -d '{
"type" : "ldap",
"ldap" : {
"host" : "lookup-uat.zahoo.com",
"userDn" : "",
"credentials" : "",
"baseDn" : "ou=people,o=zahoo",
"filter" : "(objectClass=person)",
"poll" : "86400s",
"scope" : "subtree",
"attributes" : [
"zahooDSID",
"zahooDSID",
"givenName",
"zahooLastName",
"mobile"
],
"fields" : [
"_id",
"zahooDSID",
"firstname",
"lastname",
"mobile"
]
},
"index" : {
"index" : "ldapdata1",
"type" : "persons1"
}
}'

================================================================

Thanks for help in this !!

Regards,
Rahul

--
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/922f601f-c8fc-4f86-8e2a-08d85d4a39ea%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2