Issue with collecting custom json logs with "azurerm monitor data collection rule"

Hello Team, I’m facing problems in setting up the “azurerm_monitor_data_collection_rule”. I have a custom json log file and I’m not sure how can I pass the json log file for the DCR from the terraform code. Please note, I have been able to create a table and DCE using terraform, but I couldn’t find how can I send json log file from terraform to DCR.

Any help would be supported. I have tried topics/articles on google, stackoverflow, but no luck so far.

had the same problem
did you got a solution last time?