
I built a very simple custom SWQL query to pull the most recent 100 logs for a specific node that I put on the Node Details page.
SELECT TOP 100
[Logs].MessageDateTime AS [Date/Time]
, [Logs].Message
, [Logs].Level
, [Logs].LogType.Name AS [LogType]
FROM Orion.OLM.LogEntry AS [Logs]
WHERE [Logs].NodeID = ${NodeID}
ORDER BY MessageDateTime DESC
I'll probably update this post if/when I add search capabilities and see about colorizing the results, but I wanted to share it in case anyone was looking for a similar solution.
Running on:
- Orion Platform 2020.2.4
- Network Performance Monitor 2020.2.4
- Log Analyzer 2020.2.4