08-05-2020 09:09 AM
Hi, I am using Nuxeo 10.10 in cluster mode and have setup elastic search cluster as well. Before Kafka integration, I was able to fetch audit logs by /api/v1/id/{docId}/@audit endpoint. But after Kafka integration, I am getting empty entries for my document in the response of same endpoint. Please tell me know how can I fetch the audit logs now.
Below is the Kafka and Elastic search properties configured in nuxeo.conf
I have masked IPs because of security concerns to post this question.
kafka.enabled=true
kafka.bootstrap.servers=uat-node1.org:6668,uat-node2.org:6668,uat-node3.org:6668
kafka.heartbeat.interval.ms=1000
kafka.max.poll.records=50
kafka.topicPrefix=nuxeo-topic
elasticsearch.nodeName=node-1
elasticsearch.clusterName=nuxeo-uat
elasticsearch.enabled=true
audit.elasticsearch.enabled=true
elasticsearch.index.translog.durability=async
elasticsearch.client=RestClient
elasticsearch.addressList=http://172.30.xx.xx:9200, http://172.30.xx.xx:9200
elasticsearch.indexName=nuxeo
elasticsearch.indexNumberOfReplicas=0
audit.elasticsearch.indexName=${elasticsearch.indexName}-audit
seqgen.elasticsearch.indexName=${elasticsearch.indexName}-uidgen
elasticsearch.override.pageproviders=default_search,document_content,section_content,document_content,tree_children,default_document_suggestion,simple_search,advanced_search,nxql_search,DEFAULT_DOCUMENT_SUGGESTION
Reponse:
{
"entity-type": "logEntries",
"isPaginable": true,
"resultsCount": 0,
"pageSize": 50,
"maxPageSize": 1000,
"resultsCountLimit": 0,
"currentPageSize": 0,
"currentPageIndex": 0,
"currentPageOffset": 0,
"numberOfPages": 1,
"isPreviousPageAvailable": false,
"isNextPageAvailable": false,
"isLastPageAvailable": false,
"isSortable": true,
"hasError": false,
"errorMessage": null,
"pageIndex": 0,
"pageCount": 1,
"entries": []
}
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.