问题
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