Search on INFO level Azure Function Logs

ε祈祈猫儿з 提交于 2020-08-10 19:39:04

问题


Taking cue from here -

https://stackoverflow.com/questions/63125857/azure-function-container-audit/63131294#63131294

I am logging which user accessed which file and at what time. I see that it is now working fine.

Now I want to search that log message to identify a given filename was accessed by which user(s) ? Is this feasible? Is there any Splunk like mechanism I could use. I tried using Application Insights but it doesn't search on INFO message or may be I am not doing it correctly.

Please guide.


回答1:


found it ..In App Insights

union traces
| union exceptions
| where timestamp > ago(30d)
| where message like "<filename>"
| order by timestamp desc


来源:https://stackoverflow.com/questions/63158982/search-on-info-level-azure-function-logs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!