https://flyte.org logo
#ask-the-community
Title
# ask-the-community
e

Eduardo Matus

10/19/2023, 10:24 PM
Hi all… for my cloudwatch logging links, the template is not filling the {{ .hostname }}, any other like logName, podName, etc is ok. Any ideas?
y

Yee

10/19/2023, 11:56 PM
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?
e

Eduardo Matus

10/20/2023, 1:18 AM
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
y

Yee

10/20/2023, 12:47 PM
i don’t believe that that’s in the list of templating variables. where did you get that from?
e

Eduardo Matus

10/23/2023, 2:55 PM
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