docs: fix kubernetes logging page (#706)

This commit is contained in:
Rikin Kachhia 2018-10-11 17:10:53 +05:30 committed by Shahidh K Muhammed
parent bf71b17274
commit 92c8ec55b2

View File

@ -1,12 +1,15 @@
Hasura GraphQL engine server logs (Kubernetes)
==============================================
You can check logs of Hasura GraphQL engine deployed on Kubernetes by checking the logs of the
GraphQL engine deployment:
You can check logs of Hasura GraphQL engine deployed on Kubernetes by checking the logs of the GraphQL engine
service, i.e. ``hasura``:
.. code-block:: bash
$ kubectl logs -f deploy/graphql-engine
$ kubectl logs -f svc/hasura
{"timestamp":"2018-10-09T11:20:32.054+0000", "level":"info", "type":"http-log", "detail":{"status":200, "query_hash":"01640c6dd131826cff44308111ed40d7fbd1cbed", "http_version":"HTTP/1.1", "query_execution_time":3.0177627e-2, "request_id":null, "url":"/v1alpha1/graphql", "hasura_metadata":null, "ip":"127.0.0.1", "response_size":209329, "method":"POST", "hasura_role":null, "detail":null}}
...
See https://kubernetes.io/docs/concepts/cluster-administration/logging for more details on logging in Kubernetes.