Last access time for database or collection #37496
-
Is it possible to track last access time for database or collection in Milvus? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can try access log: https://milvus.io/docs/configure_access_logs.md#Configure-Access-Logs You can configure it in the milvus.yaml:
With this configuration, the /tmp/milvus/milvus-access.log is generated inside the milvus container, you can map the path outside the container, or enter the container to read it. You can know which interface is called by which client. Access log of search/query request tells which database and which collection is accessed. For example, an access log of a search request: |
Beta Was this translation helpful? Give feedback.
You can try access log: https://milvus.io/docs/configure_access_logs.md#Configure-Access-Logs
You can configure it in the milvus.yaml:
With this configuration, the /tmp/milvus/milvus-access.log is generated inside the milvus container, you can map the path outside the container, or enter the container to read it.
You can know which interface is called by which client. Access log of search/query request tells which database and which collection is accessed.
For example, an access log of a search request:
[2024/11/07 07:11:24.048 +00:00] [ACCESS] <Unknown: tcp-172.22.0.1:46194> Search [statu…