Forum Discussion
Find requests source - ASP.NET Apps v4.0.30319\Request/sec
Hello,
I have an Alert Rule set based on Log Analytics query to check RPS for my SharePoint application VMs
5 Replies
- CliveWatsonFormer Employee
Is this data in the Office table?
OfficeActivity | where OfficeWorkload == "SharePoint"or Somewhere else, perhaps you sharing your query 'as is' will help us to help you?- BartKosCopper Contributor
Hello CliveWatson
Here is a query I am using to get avg requests:
Perf | where ( ObjectName == "ASP.NET Apps v4.0.30319" ) | where CounterName == "Requests/Sec" | where TimeGenerated> ago(15m) | project TimeGenerated, Computer, RPS=CounterValue | summarize AvgRpsLast15Minutes= avg(RPS) by Computer | where AvgRpsLast15Minutes > 10I am monitoring those request to SharePoint Servers (SHP2013 on WindowsServer 2012R2).
I do not have Office in my LogManagement so I got syntax error for the query you suggested to check.
- CliveWatsonFormer Employee
Hi BartKos
We now have two crucial pieces of info, you are using the PERF table and RPS is a column you have defined that maps to "Request/Sec".
Your query if you don't run the final line, will show which computers have the spikes. I would probably look to the Events table (if you have it) and also check any system updates on those computers to see if a patch or change caused the spike.You could use a query like this to see when the spikes first started or if there is a pattern (i.e. always on a Monday at 9am etc...)
Perf | where TimeGenerated > ago(7d) | where Computer in ("App04","App05") // add in your computer names | where ObjectName == "Processor" | where CounterName == "% Processor Time" and InstanceName == "_Total" | project TimeGenerated, Computer, RPS=CounterValue | summarize AvgRpsLast15Minutes= avg(RPS) by bin(TimeGenerated, 1h), ComputerTest my query in the demo portal, just click:
Go to Log Analytics and Run Query
Note: I've used Processor/CPU data as I don't have any asp.net, so please adjust lines 4 and 5