---
title: "Wrap up"
description: "Troubleshoot the Elasticsearch connector tutorial and optionally remove its containers and files."
---

# Wrap up

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

## Troubleshoot

If a dispute exists in Aerospike but a support search returns no results in Elasticsearch, check the following.

-   Aerospike does not start or Cross-Datacenter Replication (XDR) does not ship records. Verify the feature-key file, then inspect XDR statistics and Aerospike logs.
    
    Terminal
    
    ```bash
    grep -E '^asdb-change-notification[[:space:]]+true$' features.conf
    
    docker compose exec -T aerospike \
    
      asinfo -v "get-stats:context=xdr;dc=esDC"
    
    docker compose logs aerospike | grep -i 'feature.key\|license\|xdr'
    ```
    
    `success` increases as XDR ships records. If `success` stays at `0` while `in_queue` grows, the destination path has not acknowledged the records.
    
-   The Elasticsearch connector cannot write to Elasticsearch. Check Elasticsearch connector logs and error metrics.
    
    Terminal
    
    ```bash
    docker compose logs aerospike-elasticsearch-outbound | tail -n 50
    
    curl -fsS http://localhost:8902/manage/rest/v1/metrics | grep -io '"[^"]*error[^"]*":{"count":[0-9]*'
    ```
    
    If XDR `success` increases but `_count` remains `0`, refresh the index and verify its name before checking the Elasticsearch connector logs. A nonzero `requests-error` or `requests-parse-error` count means the Elasticsearch connector rejected or failed to process records.
    

## Clean up the tutorial (optional)

1.  Stop and remove the tutorial containers and network. The Compose file does not create persistent volumes, so this removes the tutorial data.
    
    Terminal
    
    ```bash
    docker compose down
    ```
    
2.  Delete the project directory when you no longer need the tutorial. Verify that it contains no files you want to keep, including the sensitive `features.conf` file.
    
    Terminal
    
    ```bash
    cd ..
    
    rm -rf aerospike-elastic-quickstart
    ```
    

::: undefined
-   I’ve verified a local Aerospike-to-Elasticsearch pipeline.
:::

Share

Congratulations on completing this tutorial! Share your achievement with the world and let everyone know about your newly acquired skills.

[](https://www.linkedin.com/feed/?shareActive&mini=true&text=Built%20a%20payment%20dispute%20search%20pipeline%20with%20Aerospike%20and%20Elasticsearch.%0A%0AXDR%20change%20notification%2C%20flat-json%20indexing%2C%20and%20a%20support-desk%20search%20query%20in%20about%2015%20minutes.%0A%0A%23Aerospike%20%23Elasticsearch%20%23Connector%20%23Search%20%23Docker%0A%0Ahttps%3A%2F%2Faerospike.com%2Fdocs%2Fconnectors%2Felasticsearch%2Flearn%2Fget-started "Post to LinkedIn")[](https://bsky.app/intent/compose?text=Built%20a%20payment%20dispute%20search%20pipeline%20with%20Aerospike%20and%20Elasticsearch.%0A%0AXDR%20change%20notification%2C%20flat-json%20indexing%2C%20and%20a%20support-desk%20search%20query%20in%20about%2015%20minutes.%0A%0A%23Aerospike%20%23Elasticsearch%20%23Connector%20%23Search%20%23Docker%0A%0Ahttps%3A%2F%2Faerospike.com%2Fdocs%2Fconnectors%2Felasticsearch%2Flearn%2Fget-started "Post to BlueSky")[](https://twitter.com/intent/tweet?text=Built%20a%20payment%20dispute%20search%20pipeline%20with%20Aerospike%20and%20Elasticsearch.%0A%0AXDR%20change%20notification%2C%20flat-json%20indexing%2C%20and%20a%20support-desk%20search%20query%20in%20about%2015%20minutes.%0A%0A%23Aerospike%20%23Elasticsearch%20%23Connector%20%23Search%20%23Docker%0A%0Ahttps%3A%2F%2Faerospike.com%2Fdocs%2Fconnectors%2Felasticsearch%2Flearn%2Fget-started "Post to Twitter")

::: undefined
-   Run `docker compose down` in your get-started project directory if those containers are still running, then continue with [Secure the Elasticsearch Connector with TLS](https://aerospike.com/docs/connectors/elasticsearch/learn/secure-with-tls) to add mTLS and HTTPS.
    
-   Fine-tune how records are routed, formatted, and batched in [Configure the Elasticsearch Connector](https://aerospike.com/docs/connectors/elasticsearch/configure).
    
-   Review change-notification behavior and limits in [Configure change notification](https://aerospike.com/docs/connectors/elasticsearch/configure/change-notification).
:::

[Previous  
Search for a merchant's disputes](https://aerospike.com/docs/connectors/elasticsearch/learn/get-started/step/2/part/3/search-for-a-merchant)