I did a filter for Error. It seems there were 3 cloudwatch logs for each call (going off the timestamps).
Log 1
{ "Msg": "Exception writing to storage for db: 9d94802f-efb3-4965-a69c-af84acd9ce73", "Ex": { "Cause": "Alias arn:aws:kms:eu-central-1:301612442803:alias/datomic is not found. (Service: AWSKMS; Status Code: 400; Error Code: NotFoundException; Request ID: 2bc074dd-9c7b-47a8-8213-6db86ce8bae3)", "Via": [ { "Type": "com.amazonaws.services.kms.model.NotFoundException", "Message": "Alias arn:aws:kms:eu-central-1:301612442803:alias/datomic is not found. (Service: AWSKMS; Status Code: 400; Error Code: NotFoundException; Request ID: 2bc074dd-9c7b-47a8-8213-6db86ce8bae3)", "At": [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "handleErrorResponse", "AmazonHttpClient.java", 1640 ] } ], "Trace": [ [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "handleErrorResponse", "AmazonHttpClient.java", 1640 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "executeOneRequest", "AmazonHttpClient.java", 1304 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "executeHelper", "AmazonHttpClient.java", 1058 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "doExecute", "AmazonHttpClient.java", 743 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "executeWithTimer", "AmazonHttpClient.java", 717 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "execute", "AmazonHttpClient.java", 699 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "access$500", "AmazonHttpClient.java", 667 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl", "execute", "AmazonHttpClient.java", 649 ], [ "com.amazonaws.http.AmazonHttpClient", "execute", "AmazonHttpClient.java", 513 ], [ "com.amazonaws.services.kms.AWSKMSClient", "doInvoke", "AWSKMSClient.java", 3202 ], [ "com.amazonaws.services.kms.AWSKMSClient", "invoke", "AWSKMSClient.java", 3178 ], [ "com.amazonaws.services.kms.AWSKMSClient", "executeGenerateDataKey", "AWSKMSClient.java", 1552 ], [ "com.amazonaws.services.kms.AWSKMSClient", "generateDataKey", "AWSKMSClient.java", 1527 ], [ "datomic.kms$generate_data_key", "invokeStatic", "kms.clj", 68 ], [ "datomic.kms$generate_data_key", "invoke", "kms.clj", 68 ], [ "datomic.log$get_secret_key_for_batch", "invokeStatic", "log.clj", 41 ], [ "datomic.log$get_secret_key_for_batch", "invoke", "log.clj", 29 ], [ "datomic.log$write_batch", "invokeStatic", "log.clj", 128 ], [ "datomic.log$write_batch", "invoke", "log.clj", 119 ], [ "datomic.log$init", "invokeStatic", "log.clj", 162 ], [ "datomic.log$init", "invoke", "log.clj", 156 ], [ "datomic.catalog2.Client$init_log__28312", "invoke", "catalog2.clj", 301 ], [ "datomic.catalog2.Client$fn__28316", "invoke", "catalog2.clj", 313 ], [ "clojure.core.async$thread_call$fn__5739", "invoke", "async.clj", 442 ], [ "clojure.lang.AFn", "run", "AFn.java", 22 ], [ "java.util.concurrent.ThreadPoolExecutor", "runWorker", "ThreadPoolExecutor.java", 1149 ], [ "java.util.concurrent.ThreadPoolExecutor$Worker", "run", "ThreadPoolExecutor.java", 624 ], [ "java.lang.Thread", "run", "Thread.java", 748 ] ] }, "Type": "Alert", "Tid": 73, "Timestamp": 1547305056377 }
Log 2
{ "CognitectAnomaliesCategory": "CognitectAnomaliesFault", "DatomicAnomaliesError": { "Error": "Unable to create catalog entry", "Cause": { "Error": "Error initializing log", "Cause": { "Error": "Unable to initialize log", "Cause": { "Error": { "Cause": "Alias arn:aws:kms:eu-central-1:301612442803:alias/datomic is not found. (Service: AWSKMS; Status Code: 400; Error Code: NotFoundException; Request ID: 2bc074dd-9c7b-47a8-8213-6db86ce8bae3)", "Via": [ { "Type": "com.amazonaws.services.kms.model.NotFoundException", "Message": "Alias arn:aws:kms:eu-central-1:301612442803:alias/datomic is not found. (Service: AWSKMS; Status Code: 400; Error Code: NotFoundException; Request ID: 2bc074dd-9c7b-47a8-8213-6db86ce8bae3)", "At": [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "handleErrorResponse", "AmazonHttpClient.java", 1640 ] } ], "Trace": [ [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "handleErrorResponse", "AmazonHttpClient.java", 1640 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "executeOneRequest", "AmazonHttpClient.java", 1304 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "executeHelper", "AmazonHttpClient.java", 1058 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "doExecute", "AmazonHttpClient.java", 743 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "executeWithTimer", "AmazonHttpClient.java", 717 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "execute", "AmazonHttpClient.java", 699 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "access$500", "AmazonHttpClient.java", 667 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl", "execute", "AmazonHttpClient.java", 649 ], [ "com.amazonaws.http.AmazonHttpClient", "execute", "AmazonHttpClient.java", 513 ], [ "com.amazonaws.services.kms.AWSKMSClient", "doInvoke", "AWSKMSClient.java", 3202 ], [ "com.amazonaws.services.kms.AWSKMSClient", "invoke", "AWSKMSClient.java", 3178 ], [ "com.amazonaws.services.kms.AWSKMSClient", "executeGenerateDataKey", "AWSKMSClient.java", 1552 ], [ "com.amazonaws.services.kms.AWSKMSClient", "generateDataKey", "AWSKMSClient.java", 1527 ], [ "datomic.kms$generate_data_key", "invokeStatic", "kms.clj", 68 ], [ "datomic.kms$generate_data_key", "invoke", "kms.clj", 68 ], [ "datomic.log$get_secret_key_for_batch", "invokeStatic", "log.clj", 41 ], [ "datomic.log$get_secret_key_for_batch", "invoke", "log.clj", 29 ], [ "datomic.log$write_batch", "invokeStatic", "log.clj", 128 ], [ "datomic.log$write_batch", "invoke", "log.clj", 119 ], [ "datomic.log$init", "invokeStatic", "log.clj", 162 ], [ "datomic.log$init", "invoke", "log.clj", 156 ], [ "datomic.catalog2.Client$init_log__28312", "invoke", "catalog2.clj", 301 ], [ "datomic.catalog2.Client$fn__28316", "invoke", "catalog2.clj", 313 ], [ "clojure.core.async$thread_call$fn__5739", "invoke", "async.clj", 442 ], [ "clojure.lang.AFn", "run", "AFn.java", 22 ], [ "java.util.concurrent.ThreadPoolExecutor", "runWorker", "ThreadPoolExecutor.java", 1149 ], [ "java.util.concurrent.ThreadPoolExecutor$Worker", "run", "ThreadPoolExecutor.java", 624 ], [ "java.lang.Thread", "run", "Thread.java", 748 ] ] } } } } }, "Msg": "Server Error", "Type": "Alert", "Tid": 72, "Timestamp": 1547305056451 }
Log 3
{ "Msg": "Uncaught Exception: Alias arn:aws:kms:eu-central-1:301612442803:alias/datomic is not found. (Service: AWSKMS; Status Code: 400; Error Code: NotFoundException; Request ID: de69063b-f70a-4807-9dbf-efa8bde77867)", "Ex": { "Cause": "Alias arn:aws:kms:eu-central-1:301612442803:alias/datomic is not found. (Service: AWSKMS; Status Code: 400; Error Code: NotFoundException; Request ID: de69063b-f70a-4807-9dbf-efa8bde77867)", "Via": [ { "Type": "com.amazonaws.services.kms.model.NotFoundException", "Message": "Alias arn:aws:kms:eu-central-1:301612442803:alias/datomic is not found. (Service: AWSKMS; Status Code: 400; Error Code: NotFoundException; Request ID: de69063b-f70a-4807-9dbf-efa8bde77867)", "At": [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "handleErrorResponse", "AmazonHttpClient.java", 1640 ] } ], "Trace": [ [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "handleErrorResponse", "AmazonHttpClient.java", 1640 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "executeOneRequest", "AmazonHttpClient.java", 1304 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "executeHelper", "AmazonHttpClient.java", 1058 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "doExecute", "AmazonHttpClient.java", 743 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "executeWithTimer", "AmazonHttpClient.java", 717 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "execute", "AmazonHttpClient.java", 699 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutor", "access$500", "AmazonHttpClient.java", 667 ], [ "com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl", "execute", "AmazonHttpClient.java", 649 ], [ "com.amazonaws.http.AmazonHttpClient", "execute", "AmazonHttpClient.java", 513 ], [ "com.amazonaws.services.kms.AWSKMSClient", "doInvoke", "AWSKMSClient.java", 3202 ], [ "com.amazonaws.services.kms.AWSKMSClient", "invoke", "AWSKMSClient.java", 3178 ], [ "com.amazonaws.services.kms.AWSKMSClient", "executeGenerateDataKey", "AWSKMSClient.java", 1552 ], [ "com.amazonaws.services.kms.AWSKMSClient", "generateDataKey", "AWSKMSClient.java", 1527 ], [ "datomic.kms$generate_data_key", "invokeStatic", "kms.clj", 68 ], [ "datomic.kms$generate_data_key", "invoke", "kms.clj", 68 ], [ "datomic.index_io$create_index_job_writer", "invokeStatic", "index_io.clj", 59 ], [ "datomic.index_io$create_index_job_writer", "invoke", "index_io.clj", 54 ], [ "datomic.index$create_index$fn__17823$state_machine__5502__auto____17828$fn__17830", "invoke", "index.clj", 795 ], [ "datomic.index$create_index$fn__17823$state_machine__5502__auto____17828", "invoke", "index.clj", 793 ], [ "clojure.core.async.impl.ioc_macros$run_state_machine", "invokeStatic", "ioc_macros.clj", 973 ], [ "clojure.core.async.impl.ioc_macros$run_state_machine", "invoke", "ioc_macros.clj", 972 ], [ "clojure.core.async.impl.ioc_macros$run_state_machine_wrapped", "invokeStatic", "ioc_macros.clj", 977 ], [ "clojure.core.async.impl.ioc_macros$run_state_machine_wrapped", "invoke", "ioc_macros.clj", 975 ], [ "datomic.index$create_index$fn__17823", "invoke", "index.clj", 793 ], [ "clojure.lang.AFn", "run", "AFn.java", 22 ], [ "java.util.concurrent.ThreadPoolExecutor", "runWorker", "ThreadPoolExecutor.java", 1149 ], [ "java.util.concurrent.ThreadPoolExecutor$Worker", "run", "ThreadPoolExecutor.java", 624 ], [ "java.lang.Thread", "run", "Thread.java", 748 ] ] }, "Type": "Alert", "Tid": 19, "Timestamp": 1547305056461 }