https://flyte.org logo
#announcements
Title
# announcements
s

Sathish kumar Venkatesan

09/02/2022, 7:59 AM
Team, we configured own domain name and able to access the flyte console after running workflow. jobs are getting succeed but unable to view the pod logs from the console. link is pointing to http://localhost:30082 like below but our flyte url is https://dev-flyte.example.com. please let me know anything need to be updated. also we dont see any logs are pushed to cloudwatch after completion of job. http://localhost:30082/#!/log/cloudops-max-flyte-demo-development/f82ed701fa1f04c489[…]0-0-driver/pod?namespace=cloudops-max-flyte-demo-development
s

Samhita Alla

09/02/2022, 9:00 AM
@Sathish kumar Venkatesan, you may have to refer to https://github.com/flyteorg/flyte/blob/cc127265aec490ad9537d29bd7baff828043c6f5/charts/flyte-core/values-eks.yaml#L304-L317 section to configure your logging links. @Yuvraj / @Prafulla Mahindrakar, how should we configure domain name for logging?
s

Sathish kumar Venkatesan

09/02/2022, 1:48 PM
cloudwatch is set to true and configured buckets. still don't see spark logs are pushing to cloudwatch. can you suggest the location where i can go and debug the logging issue.
k

Ketan (kumare3)

09/02/2022, 2:16 PM
s

Samhita Alla

09/02/2022, 2:26 PM
Oh yes. I forgot to share it but yea, it has the code template I shared earlier.
@Sathish kumar Venkatesan, do you still see the error?
p

Prafulla Mahindrakar

09/02/2022, 5:54 PM
k

karthikraj

09/02/2022, 7:32 PM
I am from @Sathish kumar Venkatesan team. I am gettiing below error when trying to add those templated.
Copy code
time="2022-09-02T19:21:45Z" level=error msg="\n\n\n1 error(s) decoding:\n\n* cannot parse 'templates[0].messageFormat' as int: strconv.ParseInt: parsing \"json\": invalid syntax"
Here is my task_logs in config.
Copy code
task_logs:
    plugins:
      logs:
        kubernetes-enabled: false
        cloudwatch-enabled: true
        cloudwatch-region: "{{ .Values.userSettings.accountRegion }}"
        cloudwatch-log-group: "{{ .Values.userSettings.logGroup }}"
        templates:
          - displayName: logs_test
            templateUris:
              - "<https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logEventViewer:group=/flyte-production/kubernetes;stream=var.log.containers.{{.podName}}_{{.namespace}}_{{.containerName}}-{{.containerId}}.log>"
            messageFormat: "json" # "unknown" | "csv" | "json"
s

Samhita Alla

09/03/2022, 8:02 AM
@Smriti Satyan, can you create an issue to document this?