Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

How To Check Log Server

We store all request logs to Elasticsearch for following apps:

  1. hh-server the other apps is not yet

How to do it?

staging AWS: visit logs.hhstaging.dev staging DO: visit logs.hh-engineering.my.id new staging DO: visit hh-staging01-hungryhub-staging.j.aivencloud.com production: visit logs.hungryhub.com

Access New Staging Logs on Kibana

How to find the request log

  • then go to discover page

  • to find the log, you can change the time range here

  • use this filter to see logs from hh-server and sidekiq servers

  • then add the keyword in the search field

What should you do when there is no data in Discover page

  • Go to index pattern page
  • Create new index pattern if hasn't been created yet
  • Type the log name (usually " logstash-* ") and @timestamp

  • Then go to kibana
  • Then search the app name or the API endpoint

How To Open Elasticsearch

setup the index if it's missing https://hungryhubgroup.slack.com/archives/C03PCB3PTUH/p1691663839177939?thread_ts=1691662164.135359&cid=C03PCB3PTUH

  • Open Elasticsearch url access logs.hhstaging.dev or logs.hungryhub.com username: elastic password: abc123
  • Pick Global
  • Open menu, and pick discover example:
  • find based on controller
    • click filter
    • it will show up on the filter form
    • click to edit to any value

  •   *   **don't forget to update the timerange too**