Thursday, August 3, 2023

After applying OCI ELK stack, when importing a file into Elasticsearch it fails at Data upload step

Error in the browser console - 'There are no ingest nodes in this cluster, unable to forward request to an ingest node'. 

This got fixed after following the node config changes suggested in blog.

Updated the OCI ELK stack terraform. In ESBootStrap.sh, modified the line 78 from 

echo "node.roles: [data]" >>/etc/elasticsearch/elasticsearch.yml

to 

echo "node.roles: [data,ingest,ml,transform]" >>/etc/elasticsearch/elasticsearch.yml