This app on-prem works well enough.
Cloud, where no inputs are allowed, there are some modifications needed.
1) Subscription ID dropdown. the REST query for inputs to extract subscriptions will never work. Maybe something like this instead:
`azure-audit` (subscription_id="*")
| stats count by subscription_id
| table subscription_id
2) The inputs_not_configured warning, again doesnt make sense. What about something more dynamic (like the splunk app for Windows Infrastructure), which looks for samples of sourcetypes it needs?
3) minor enhancement for extracting subnet details
props.conf
[source::/subscriptions/...]
REPORT-subnet = azure_extract_resource_field_subnet
transforms.conf
[azure_extract_resource_field_subnet]
SOURCE_KEY = source
REGEX = (?i)\.*\/subnets\/([\w\-]+)
FORMAT = resource_subnet::$1