You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi,
I have to set _routing in my es doc that is to be indexed.
I have configured the following in my transform
.routing_id=parsed.routingid
where parsed is the json parsed from .message.
And I have the following configured in sink
[sinks.elasticsearch.query]
routing = “{{ .routing_id }}”
But in the logs, I am seeing the routing in the query param in the uri as empty
/_bulk?timeout=60s&routing=
And this is leading to missing _routing field in the document indexed in es.
Can anyone please help here?
Vector Config
No response
Vector Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions