Custom Logs on AKS & Azure Monitor

Occasional Visitor

I have containers deployed in AKS. Those containers log into custom files. I want to analyse those logs using Azure Monitor (Log Analytics).


Kindly provide the steps to achieve that.


Thank You

2 Replies


You can write app logs to STDOUT and then oms agent will push these logs to log analytics workspace.


You can refer to logs under container logs ... using Log Query 

| project TimeGenerated  ,LogEntry, LogEntrySource

more on



Hi what is format of your log files ? 

If you don't use  OMS agent you can use externaldata operator to read files, like csv or tsv, scsv, sohsv, psv, txt, raw.

You can also parse text or use predefined  structures like 





URL query

File path

User agent

Version string