What’s the Best Way to Store Audit Logs for an Azure Web App?

0
20
Asked By TechGiraffe92 On

I'm looking for a solution to store audit logs for my internal web application hosted on Azure. I want to avoid creating any external dependencies like using MongoDB. Can anyone suggest software or methods specifically suited for this purpose that can be easily integrated with Azure web apps?

3 Answers

Answered By NoSQLNinja17 On

Just a heads up, if you want to store logs in a NoSQL format for flexibility (like JSON), Log Analytics might not be the best fit since it’s more SQL/table-oriented. You might want to explore other NoSQL databases offered by Azure that can accommodate changing structures in your logs.

DataNerd101 -

Yeah, I need to be able to adjust the schema of the logs easily as well.

QueryMaster22 -

Exactly, I need that flexibility too! Any alternatives you recommend?

Answered By CloudySkies88 On

You should consider using Azure Log Analytics Workspace for this. It's pretty powerful, but keep in mind that the costs can add up quickly if you're not careful with the amount of logging you do. KQL (Kusto Query Language) is fantastic for querying your logs once they're stored there. Just make sure to fine-tune what you log to keep expenses manageable!

DataNerd101 -

Yeah, it's definitely one way to go. Just remember, too much logging can lead to higher bills.

QueryMaster22 -

I agree, KQL is great but the costs can be a concern.

Answered By CostSaver23 On

If you're looking for a cheaper alternative, you might want to write compressed Parquet files directly to Azure Blob Storage. This can help keep costs down, especially if you use automated tiering to manage your storage efficiently. The choice between these options really depends on how often you'll need to query the logs and the complexity of your queries.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.