Odin
  • Introduction
  • Why Odin?
  • Key Concepts
    • Environment
      • Environment Type
    • Provisioning
      • Provisioning Config for Component Types
    • Component
      • Available Component Types
      • Component Type reference
        • Optimus Components
          • Aerospike [6.3.0.7-1.0.0]
    • Service
      • Know Your Service Definition
    • Versioning
      • Clearing the Confusion: A Simplified Guide to Artifact, Component, and Service Versions
    • Service Sets
    • Labels
  • Reference
    • CLI reference
  • Onboard Your Service
    • Installation
    • Configure
    • Odin -h
    • Getting Started
    • Create Environment
      • Operations on Environment
    • Service Definition
    • Provisioning Config
    • Deploy Service
    • Release Service
    • Optimus Datastore Operations
      • How to use Optimus Datastore in my service?
      • RDS Operations
      • Aerospike Operations
      • Kafka Operations
    • Operating Service & Components
      • Redeploy
        • In Place Deployment
        • Blue Green Deployment
      • Rolling Restart
      • Adding & removing components
      • Revert a deployment for application component
      • Downscaling a Passive Stack
      • Updating the no. of stacks of application component
    • Dev <> QA iteration
    • Frequently Asked Questions
    • Deploy Concrete Service
    • Undeploy Service
    • Delete Environment
    • Appendix
  • How To
    • Define error threshold for canary deployment
    • Add or Remove a component in an already deployed service
    • Integrate mono-repo(cronjobs) with Odin
    • Deploy crontab with Odin
    • Integrate Data pipeline with Odin
    • Push logs to log central
    • Build artifacts for multi module applications
    • Load test with Odin
    • Track Deployments against Commit Ids
    • Deploy Service on Production - Dream11
    • How and when images are created
    • Check logs for deployed infrastructure - Dream11
    • Onboard Stepfunction as a component
    • Onboard Serverless as a component
    • Login to Kubernetes clusters
  • Release Notes
    • 1.2.0-beta.2 - 11 August, 2022
    • Odin October Release
    • Odin 1.2.0 - Nov 9th 2022
    • Odin February Release
Powered by GitBook
On this page
Export as PDF
  1. How To

Check logs for deployed infrastructure - Dream11

PreviousHow and when images are createdNextOnboard Stepfunction as a component

Last updated 1 year ago

Odin currently uses as the monitoring platform and all logs related to cluster are pushed to datadog. You'll need access to datadog for checking logs currently.

In future we plan to support other monitoring tools and also provide a default monitoring tool by default within odin.

Current cluster name can be found .

Below are steps to check logs for a particular namespace

  • Login to

  • Navigate to Containers Interface via Infrastructure option in the side menu

  • Once you have selected the given cluster, select the required namespace (env name) you want to check logs for. In this example the env name is dev-9091

  • Once selected you should be able to see dashboard for a given namespace (env name) with all components within the name space at the bottom as highlighted

  • Click on any component and navigate to Logs tab to access logs for that component

You can also check the log explorer for detailed view

Using Datadog indexing

Separate index can be created in datadog per service where we can specify what logs to index and what not to, e.g. we can only index the error logs and exclude other logs. Follow these steps for creating index:

  • In filter specify Service:<serviceName>

  • Set index name as service name

    • Click on Add Exclusion Filters

    • In exclusion query add status:info

    • In Name add INFO logs

    • Set exclusion percentage as 100% (you can change if you want)

    • Create another filter for error logs

  • You can check indexes for fantasy-tour-v1 for reference

Apply filter on the cluster name, current cluster name odin deploys to is mentioned

Click on Add new index

Create

Learn more about logging with Datadog

here
here
exclusion filters
here
Datadog
here
https://d11stag.datadoghq.com