Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagnostics Settings to send Log Analytics' workspace doesn't seem to work #182

Open
johnkattenhorn opened this issue Nov 29, 2023 · 1 comment

Comments

@johnkattenhorn
Copy link

Hi,

Using the following:

Diagnostics Setting Name:

Name: xxxxxx-prodx-uks-asa-labels-diagsettings
Storage Account: -
Event Hub: - 
Log Analytics workspace: xxxxxx-prodx-uks-logasa
Partner solution: -

And setting:

Log Catagory Groups = allLogs

Metrics = AllMetrics

Destination Details

Send To Log Analytics workspace is ticked

Subscription is Valid
Log Analytics workspace = xxxxxx-prodx-uks-logasa

Archive to storage account = unticked
Stream to an event hub = unticked
Stream to partner solution = unticked

We don't seem to get any logs using:

// List all input data errors 
// Shows all errors that occurred while processing the data from inputs. 
// To create an alert for this query, click '+ New alert rule'
AzureDiagnostics 
| where ResourceProvider == "MICROSOFT.STREAMANALYTICS"

We've tried multiple Log Analytics instances, Multiple ASA Jobs and settings and left it for over 24 hours, and we don't see any entries.

Any ideas what might be wrong ?

@johnkattenhorn
Copy link
Author

Quick Update - I think I've fixed this but still testing - it's to do with the length of the name I used for the diagnostics settings, I replace these settings with the name diagnostics and I'm seeing a couple of entries, I'll keep looking at them and come and close this issue if resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant