Truncate Corrupted Translog of Index

/usr/share/elasticsearch/bin/elasticsearch-shard remove-corrupted-data --index graylog_9 --shard-id 0
You should run the following command to allocate this shard:
curl -XPOST --header 'Content-Type: application/json' http://localhost:9200/_cluster/reroute -d '
{
  "commands" : [
    {
      "allocate_stale_primary" : {
        "index" : "graylog_9",
        "shard" : 0,
        "node" : "zYNG7nZMRWCNCDlqsDhKkw",
        "accept_data_loss" : true
      }
    }
  ]
}'