UiPath Integration with Splunk

What are the configurations required for integrating UiPath with Splunk?
Can we publish process / orchestrator dashboard logs to Splunk?

Hi,

I don’t know if there is any ready to use solution for that, but You can install Splunk agent for Windows and then get values from log files by regular expressions.

Also I’m not sure about ready solutions for integration Orchestrator with Splunk, but I would use Orchestrator API to put logs to Splunk.

Regards

What will be the path for the below logs?

Queue details
Robot specific metrics
Workflow execution log

regards
Kaushal

I don’t think that there is any direct path. Probably You would have to create that file on your own.
I have 3 possible solutions on my mind:

  1. Create log files during Robot running (create it in workflows) and then install Splunk Agent and get logs from that files by regular expressions → pretty clumsy, but should work

  2. Create simple App in .NET to get data by Orchestrator API and create log files from that data. Then install Splunk Agent and get logs from that files by regular expressions.

  3. Create simple App in .NET to get data by Orchestrator API and send them directly to Splunk
    → could be pretty neat I think, You could use this App for all of your Robots in Orchestrator

Here is Orchestrator API: UiPath Orchestrator API Guide 2016.2

And there are also Splunk libraries for .NET
http://dev.splunk.com/view/splunk-loglib-dotnet/SP-CAAAEX4

1 Like

Since all logs would be on the UiPath server where Orchestrator is installed, is there a way to schedule this Splunk .NET component as a task without utilizing a Robot

Hello,
any news on this ? Which is the easiest and smoothest way to integrate UiPath with Splunk ?

Hi,
while this was working with 2018.2.4, in 2018.2.6 I get an error about required Newtonsoft.json v11 (while the one included in UiPath is v9).

So in fact 2018.2.6 broke Splunk integration.

Did you found a workaround ?

If you upgraded, the default installation WILL replace your NLog.config and NLog.dll files (version 4.4.12 is used by UiPath out of the box, which is too old).

You will need to follow the instructions I left to replace the .dll and .config.

After that, it works the same as before. Just got mine working again, actually.

Sorry, had to delete my post per company guidelines.

Hi
I m looking for a solution to catch queue orchestrator informtations in splunk.
We already have some reports for robot activity with splunk.
So i would like to know if we could consider a “upgrade” of our existing solution to catching queue informlation ? (modify webfile)
Did anyone have some example of what to to to report on queue orchestrator ?

Thank you

Hi Thierry,

We use REFramework where possible, but have modified it slightly for a similar use case. Within SetTransactionStatus we:

  1. Pass in the TransactionItem Output (Dictionary of data we want to capture) and assign it to in_TransactioItem.Output
  2. We add the QueueItem to the AddLogFields followed by an Informational Log Message and remove the custom log messages.

image

image

This is one way to go about it… you could use a DB Connector with Splunk and tap into the database and I’m sure other ways. This was a quick way for us and our dashboards build a table looking for the latest value of a particular field and our business units will use these dashboards to review things.

I would suggest opening a new topic that is specific to your inquiry as this one is over a year old and doesn’t directly relate to Queue details.

1 Like