Hi all… for my cloudwatch logging links, the templ...
# flyte-support
r
Hi all… for my cloudwatch logging links, the template is not filling the {{ .hostname }}, any other like logName, podName, etc is ok. Any ideas?
t
not sure i remember all the details of the templating… can you give some examples of hostname?
are you looking for the instance a task ran on?
r
Yes.. is for a task, here is an example of hostname: *ip-10-0-6*3-57 and part of the url generated by flyte is not rendering the hostname (escape problem maybe?): log-events/{{%20.hostname%20}}.var.log.containers
t
i don’t believe that that’s in the list of templating variables. where did you get that from?
r
That’s how the url is being rendered for the hostname section… this is part of the template: `log-events/{{
{{
}} .hostname {{
}}
}}.var.log.containers.{{
{{
}} .podName {{
}}
}}` .podName, namespace, containername and containerId are rendered with the correct values