diff --git a/mongo_connector/doc_managers/elastic_doc_manager.py b/mongo_connector/doc_managers/elastic_doc_manager.py
index <HASH>..<HASH> 100755
--- a/mongo_connector/doc_managers/elastic_doc_manager.py
+++ b/mongo_connector/doc_managers/elastic_doc_manager.py
@@ -136,8 +136,8 @@ class DocManager(DocManagerBase):
                     "_type": self.meta_type,
                     "_id": doc_id,
                     "_source": {
-                        "_ns": index,
-                        "ts": timestamp
+                        "ns": index,
+                        "_ts": timestamp
                     }
                 }
                 yield document_action
Use correct field names for namespace and timestamp when indexing documents in Elasticsearch.