Getting Robot Logs from Azure Orchestrator App into Azure Log Anaylitics

Installer(.exe or .msi):

License type(Free, Trial/License code): Orchestrator

Studio/Robot version: 2018.2.3

Running Orchestrator on Azure

As we are hosting everything on Azure (Orchestrator App, SQL db, Robot VMs, etc.), I’d like to get the Robot logs into an instance of Azure Log Analytics, where the rest of our resources send their logs.

Attempted solutions

Here are some of the things I’ve tried/considered so far:

  • Changing the Web.config Nlog target to a logfile.txt file that Log Analytics could read from
  • Requesting the logs from the Orchestrator Robot log API endpoint (using a small service) and making that available to Analytics
  • Querying the Logs table in the database

Changing the Nlog target in the Web.config didn’t result in anything for me, and I want to do some due diligence before working on the other solutions to make sure I’m not missing something.

Does anyone have any recommendations/ideas for this?

@naku, did you determine a resolution on this? I have a client looking to do the same currently.

Did you manage to do this??