<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unable to fetch audit logs after Kafka integration in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/unable-to-fetch-audit-logs-after-kafka-integration/m-p/314624#M1625</link>
    <description>&lt;P&gt;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 &lt;STRONG&gt;/api/v1/id/{docId}/@audit&lt;/STRONG&gt; 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.&lt;/P&gt;
&lt;P&gt;Below is the Kafka and Elastic search properties configured in nuxeo.conf&lt;/P&gt;
&lt;P&gt;I have masked IPs because of security concerns to post this question.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;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, &lt;A href="http://172.30.xx.xx:9200" target="test_blank"&gt;http://172.30.xx.xx:9200&lt;/A&gt;
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
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Reponse:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;{
    "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": []
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Aug 2020 13:09:36 GMT</pubDate>
    <dc:creator>Ankush_Bandil</dc:creator>
    <dc:date>2020-08-05T13:09:36Z</dc:date>
    <item>
      <title>Unable to fetch audit logs after Kafka integration</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/unable-to-fetch-audit-logs-after-kafka-integration/m-p/314624#M1625</link>
      <description>&lt;P&gt;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 &lt;STRONG&gt;/api/v1/id/{docId}/@audit&lt;/STRONG&gt; 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.&lt;/P&gt;
&lt;P&gt;Below is the Kafka and Elastic search properties configured in nuxeo.conf&lt;/P&gt;
&lt;P&gt;I have masked IPs because of security concerns to post this question.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;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, &lt;A href="http://172.30.xx.xx:9200" target="test_blank"&gt;http://172.30.xx.xx:9200&lt;/A&gt;
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
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Reponse:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;{
    "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": []
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Aug 2020 13:09:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/unable-to-fetch-audit-logs-after-kafka-integration/m-p/314624#M1625</guid>
      <dc:creator>Ankush_Bandil</dc:creator>
      <dc:date>2020-08-05T13:09:36Z</dc:date>
    </item>
  </channel>
</rss>

