Comment on Monitor Claude Code Usage with GrafanaparentComments−kisamotoOP5moYou can get user prompts and tool calls in the logs (but not system prompts) although you do have to set a couple of extra environment variables.It's under the `prompt` and `tool_parameter` fields in the logs. {service_name=~"claude-code"} | prompt != "" | line_format `prompt={{.prompt}}`
Comments
You can get user prompts and tool calls in the logs (but not system prompts) although you do have to set a couple of extra environment variables.
It's under the `prompt` and `tool_parameter` fields in the logs.