A community member has associated this post with a similar question:
Display custom container insights logs on asp.net website using c#
Only moderators can edit this content.
Display Container insights logs in c#
I have requirement like i need to display logs for custom query in container logs(Kubernetes service) azure kub for c#
Please help me with any documentation or article. I can see documents on application insights but not on azure logs.
custom query like below
KubePodInventory
| where Namespace contains "monitor"
| join
(
ContainerLog
)
on ContainerID
| project TimeOfCommand, LogEntry, LogEntrySource, PodLabel, ContainerID, Namespace
| where LogEntry contains "keyword"
| order by TimeOfCommand desc