Hello!
I have a strange error using httpjson-input plugin in filebeat. Everything works fine, I was getting data updates via cursor until now. Now in logs everytime request finished with > 0 events published I get an error:
Nov 11 18:04:31 sdg-logstash.test filebeat[14729]: 2021-11-11T18:04:31.167+0300 ERROR [input] input-cursor/publish.go:147 Failed to update state in the registry for 'httpjson::https://test.zone/api/data?cursor=123129_12374849' {"input_type": "httpjson"}
my .yml file:
- type: httpjson
config_version: 2
interval: 1m
request.url: https://test.zone/api/data?cursor=123129_12374849
request.method: GET
cursor:
last_execution_update:
value: '[[.last_response.body.next_cursor]]'
request.transforms:
- set:
target: url.params.cursor
value: '[[.cursor.last_execution_update]]'