Use correct field names for namespace and timestamp when indexing documents in Elasticsearch.