I’m experimenting with a small pipeline that gets data from postgres and moves it to elasticsearch. It was working well with elasticsearch 7.4.0 by using the PutElasticsearchHttp processer. (all running on docker containers)
But now I am using elasticsearch verion 8.7.1 and I don’t get it to work anymore. I tried several different connection urls but none of them seem to work. Does anyone know how to get it to connect to elasticsearch 8.7.1?
Any help would be greatly appreciated!
Nifi:
PutElasticsearchHttp processer:
yml file (elasticserach):
version: "3.7"
services:
elasticsearch:
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:8.7.1
environment:
- xpack.security.enabled=false
- discovery.type=single-node
- network.host= 0.0.0.0
ports:
- 9200:9200
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
kibana:
image: docker.elastic.co/kibana/kibana:8.7.1
container_name: kibana
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
ports:
- 5601:5601