Snowflake CCF - Allow configurable polling interval
Is your feature request related to a problem? Please describe. Allow the Snowflake CCF connector to have a configurable polling interval (in minutes). Unlike most other systems, Snowflake charges costs for the compute time to generate some of the logs. A configurable polling interval for logs will allow customers to reduce costs depending on their needs Describe the solution you'd like On the Snowflake CCF installation/edit prompt, provide a field to configure the log polling interval in minutes.
Describe alternatives you've considered N/A Additional context
Hi @mcentcw, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates. Thanks!
Hello @mcentcw, I am sharing a few parameters that need to be added or updated in the poller section of the template. These parameters—queryWindowInMin and rateLimitQPS—allow you to modify the polling interval (in minutes) and related things as per your convenience.
You can add/update these fields at all the required places and proceed with a custom deployment. I’ve included the necessary links and documentation for the template and the custom deployment steps.
Please make the updates as suggested, deploy the template, and feel free to reach out if you need any further assistance. In the meantime, we’ll discuss the possibility of adding this as a built-in feature in the connector.
https://learn.microsoft.com/en-us/azure/sentinel/data-connector-connection-rules-reference#request-configuration
https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Snowflake/Package/mainTemplate.json
CustomDeploymentSteps - 1.docx
Hello @mcentcw, I hope you've deployed the template with the suggested modifications. I'm looking forward to your feedback. If anything’s blocking progress on the custom deployment, please feel free to contact us.
Hello @mcentcw, as we have not heard back from you in the past 5 days, we are proceeding to close issue https://github.com/Azure/Azure-Sentinel/issues/12818 in line with our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation!
Since this was closed, is there a feature request I can track to determine if/when a customization is added to the connector's deployment? We will look into deploying a custom connector but would prefer not to.
To put the costs in perspective. If this connector is running on a warehouse by itself (not shared with other workloads) in a snowflake business critical account ($4/hr), and the warehouse is set to disable itself after 1 min of inactivity and is x-small, here are the costs:
- Assuming the connector runs every 10min which appears to be the default.
- Assuming all queries run at the same time. (mine didn't, one query ran 2 min later)
- You are looking at a little bit more than $300/mo in snowflake costs for the default configuration.
- On ours, running the last query 2 min later means we would be a cost of over $600/mo
- If all 10 queries were spaced out 1 min apart across the 10 min interval, you would keep the warehouse on 24/7 at a cost of $3,000/mo
The Snowflake CCF from Content Hub is causing $300+ per week in resource consumption. Microsoft Support directed me here, but why are they not addressing the frequency here? Why can't it be modified? It's their content, no?