Join Slack
Powered by
.hostname does not resolve in task logs path it l...
# flyte-support
n
numerous-sunset-21589
01/18/2024, 9:44 PM
.hostname does not resolve in task logs path it looks like it is a bug cause it is not passed in
https://github.com/flyteorg/flyteplugins/blob/b0684d97a1cf240f1a44f310f4a79cc21844caa9/go/tasks/pluginmachinery/tasklog/template.go#L69
t
tall-lock-23197
01/19/2024, 1:52 PM
can you take a look at this thread?
https://discuss.flyte.org/t/10385778/hi-all-i-am-trying-to-configure-the-logging-link-in-my-newly
n
numerous-sunset-21589
01/19/2024, 3:00 PM
thats how i got it working yes - by pointing to log insights vs log group
numerous-sunset-21589
01/19/2024, 3:01 PM
but it does look like a bug
numerous-sunset-21589
01/19/2024, 3:01 PM
why say that .hostname is exposed in tempaltes when it is not - it does not resolve in the template and stays as {{.hostname}}
t
tall-lock-23197
01/19/2024, 3:58 PM
you're right. we need to update the doc. would you mind creating an issue to resolve this issue as well? [flyte-docs]
u
user
01/19/2024, 3:58 PM
📘 Create a new Flyte Docs issue:
https://github.com/flyteorg/flyte/issues/new?assignees=&labels=documentation%2Cuntriaged&template=docs_issue.yaml&title=%5BDocs%5D+
5
Views
Open in Slack
Previous
Next