custom table creation in log analytic workspace using workspace

Hamail Saleemi 0 Reputation points
2023-02-16T13:30:48.0166667+00:00

Hi, i deployed a logic app with connection for workspace.

according to logic app workflow logs have been created using send data
when i send data to workspace specifying the table name, no custom log table is created in workspace.

how to handle this?
I want when i send data to workspace table.
if table does not exist it should create a table.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,403 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,856 Reputation points Microsoft Employee
    2023-02-24T04:24:23.86+00:00

    Hello @Hamail Saleemi - Based on my understanding, you have created a Logic App and connected a Log Analytics workspace, and you're able to see the workflow logs in the Log Analytics workspace. And next, you now want to send/include your own logging data to a custom table in the same Log Analytics workspace -- is this correct?

    If my understanding above is correct, Logic Apps sends its logs to the AzureDiagnostics table in the Log Analytics workspace. The way you can send & include custom data from your workflow runs to this table is by using the TrackingID in trigger settings and TrackedProperties in action settings -- you can specify either a fixed value or use expressions. Here's our official guidance on how to use this feature: Include custom properties in telemetry

    I hope this helps. If I misunderstood your question though, just let me know and I'd be happy to assist further.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.