# How can I read elasticsearch oplog

**URL:** <https://discuss.elastic.co/t/how-can-i-read-elasticsearch-oplog/101359>\
**Category:** Elasticsearch\
**Created:** [September 21, 2017, 3:24pm UTC](https://discuss.elastic.co/t/how-can-i-read-elasticsearch-oplog/101359 "2017-09-21T15:24:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlkmhd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mlkmhd/32/22385_2.png) [@mlkmhd](https://discuss.elastic.co/u/mlkmhd)\
**Post date:** [September 21, 2017, 3:24pm UTC](https://discuss.elastic.co/t/how-can-i-read-elasticsearch-oplog/101359/1 "2017-09-21T15:24:50Z")

</div>

Hi,

I want to use elasticsearch as a cache and fast search layer above my oracle db. so I need a tool to keep oracle in sync with elasticsearch. I found many tools for sync elasticsearch with oracle like `GoldenGate` but I didn't find a tool for the reverse sync.

if exist a way to read elasticsearch oplog is also good.

Am I doing a good approach?

thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 21, 2017, 9:11pm UTC](https://discuss.elastic.co/t/how-can-i-read-elasticsearch-oplog/101359/2 "2017-09-21T21:11:08Z")

</div>

Elasticsearch has a transaction log (translog), but it is not readable and there is not currently a good way to do what you want.

There are changes coming in 6.0 that will improve this (sequence numbers), but there will need to be more work done to provide a changes API that will, ultimately, provide what you want.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 19, 2017, 9:23pm UTC](https://discuss.elastic.co/t/how-can-i-read-elasticsearch-oplog/101359/3 "2017-10-19T21:23:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
