# How to collect JSON files using azurerm monitor data collection rule?

**URL:** <https://discuss.hashicorp.com/t/how-to-collect-json-files-using-azurerm-monitor-data-collection-rule/68389>\
**Category:** Azure\
**Tags:** azure\
**Created:** [July 5, 2024, 8:39pm UTC](https://discuss.hashicorp.com/t/how-to-collect-json-files-using-azurerm-monitor-data-collection-rule/68389 "2024-07-05T20:39:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![doka380](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/doka380/32/40918_2.png) [@doka380](https://discuss.hashicorp.com/u/doka380)\
**Post date:** [July 5, 2024, 8:39pm UTC](https://discuss.hashicorp.com/t/how-to-collect-json-files-using-azurerm-monitor-data-collection-rule/68389/1 "2024-07-05T20:39:27Z")

</div>

The latest documentation ([Terraform Registry](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_data_collection_rule)) says the only supported option for log\_file/format is “text”. It’s possible to configure it using ARM template and the difference between “text” and “json” is in this only parameter.

Any suggestion on how to configure data collection from JSON files?

Thank you.
