Automate

Welcome to the Automate community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements

 View Only
  • 1.  Is there a way to Connect to multiple Runner Log Viewers to Power BI

    Posted 28 days ago

    I have multiple runners running scripts in my APP and I want to connect all of their Log Viewer data into one Power BI.

    My goal is to have a Power BI refresh daily with the counts etc. for my leadership to review.

    thanks,



    ------------------------------
    Jane Dobbs
    Canadian Pacific Railway
    ------------------------------


  • 2.  RE: Is there a way to Connect to multiple Runner Log Viewers to Power BI

    Employee
    Posted 28 days ago
    Edited by jagat kaushal 28 days ago

    Hi Jane,

    Thanks for your message.

    You can consolidate run data from multiple runners into one report, but note that Log Viewer doesn't have a central data store. Each Studio installation keeps its run history locally, so you'll need to collect the data from each runner first.

    Where the data is stored

    Log Viewer reads the following database for the Windows user running Studio:

    %APPDATA%\Winshuttle\Studio\StudioDB.db

    Suggested approach

    Use a Windows Scheduled Task on each runner to copy  StudioDB.db to a shared location, for example \\server\StudioLogs\<RunnerName>.db. We recommend working from these copies rather than querying the live database while Studio scripts may be running.

    Once the copies are collected, you can use the Common table as the data source for your reporting tool. For Power BI specifics, such as connecting to SQLite or CSV files, transforming the data and scheduling refreshes through an on-premises data gateway, please refer to Microsoft's Power BI documentation or your internal BI team.

    Please note

    • StudioDB.db is an internal file used by Studio, not a documented interface, so its structure may change between releases. We recommend revalidating your report at your end.
    • If several Windows users run Studio on the same runner, each user has their own database under their own /%appdata% folder.


      Thanks



    ------------------------------
    jagat kaushal
    *Precisely Software Inc.
    ------------------------------