{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/13564","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/13564/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/13564/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/13564/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/13564","id":351424589,"node_id":"MDU6SXNzdWUzNTE0MjQ1ODk=","number":13564,"title":"Sample script has an inaccurate line within the \"Configure Log Analytics...\" section","user":{"login":"WhitWaldo","id":2238529,"node_id":"MDQ6VXNlcjIyMzg1Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/2238529?v=4","gravatar_id":"","url":"https://api.github.com/users/WhitWaldo","html_url":"https://github.com/WhitWaldo","followers_url":"https://api.github.com/users/WhitWaldo/followers","following_url":"https://api.github.com/users/WhitWaldo/following{/other_user}","gists_url":"https://api.github.com/users/WhitWaldo/gists{/gist_id}","starred_url":"https://api.github.com/users/WhitWaldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhitWaldo/subscriptions","organizations_url":"https://api.github.com/users/WhitWaldo/orgs","repos_url":"https://api.github.com/users/WhitWaldo/repos","events_url":"https://api.github.com/users/WhitWaldo/events{/privacy}","received_events_url":"https://api.github.com/users/WhitWaldo/received_events","type":"User","site_admin":false},"labels":[{"id":836704823,"node_id":"MDU6TGFiZWw4MzY3MDQ4MjM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/assigned-to-author","name":"assigned-to-author","color":"e01f8f","default":false},{"id":836704904,"node_id":"MDU6TGFiZWw4MzY3MDQ5MDQ=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/doc-bug","name":"doc-bug","color":"84edbc","default":false},{"id":646546740,"node_id":"MDU6TGFiZWw2NDY1NDY3NDA=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/log-analytics/svc","name":"log-analytics/svc","color":"009000","default":false},{"id":836702742,"node_id":"MDU6TGFiZWw4MzY3MDI3NDI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"bwren","id":8323784,"node_id":"MDQ6VXNlcjgzMjM3ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8323784?v=4","gravatar_id":"","url":"https://api.github.com/users/bwren","html_url":"https://github.com/bwren","followers_url":"https://api.github.com/users/bwren/followers","following_url":"https://api.github.com/users/bwren/following{/other_user}","gists_url":"https://api.github.com/users/bwren/gists{/gist_id}","starred_url":"https://api.github.com/users/bwren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwren/subscriptions","organizations_url":"https://api.github.com/users/bwren/orgs","repos_url":"https://api.github.com/users/bwren/repos","events_url":"https://api.github.com/users/bwren/events{/privacy}","received_events_url":"https://api.github.com/users/bwren/received_events","type":"User","site_admin":false},"assignees":[{"login":"bwren","id":8323784,"node_id":"MDQ6VXNlcjgzMjM3ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8323784?v=4","gravatar_id":"","url":"https://api.github.com/users/bwren","html_url":"https://github.com/bwren","followers_url":"https://api.github.com/users/bwren/followers","following_url":"https://api.github.com/users/bwren/following{/other_user}","gists_url":"https://api.github.com/users/bwren/gists{/gist_id}","starred_url":"https://api.github.com/users/bwren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwren/subscriptions","organizations_url":"https://api.github.com/users/bwren/orgs","repos_url":"https://api.github.com/users/bwren/repos","events_url":"https://api.github.com/users/bwren/events{/privacy}","received_events_url":"https://api.github.com/users/bwren/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-08-17T01:20:16Z","updated_at":"2018-08-28T17:17:52Z","closed_at":null,"author_association":"NONE","body":"The powershell script in the \"Configure Log Analytics to collect and view Service Fabric logs\" has an incorrect line. Within the Select-StorageAccount function, there exists the following line:\n   \n   $storageAccountsToCheck = $allResources.Where({($_.ResourceType -eq \"Microsoft.Storage/storageAccounts\") -and ($_.ResourceName -in $storageAccountList)})\n   \nThis is incorrect, as it will not yield any resources due to the latter filter. Rather, it should read: \n\n   $storageAccountsToCheck = $allResources.Where({($_.ResourceType -eq \"Microsoft.Storage/storageAccounts\") -and ($_.Name -in $storageAccountList)})\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: 593ac181-5c4c-2577-8ef2-cda067b9c07c\n* Version Independent ID: 3c973a2b-2558-62ed-c4f7-1307b15c8ab4\n* Content: [Assess Service Fabric applications with Azure Log Analytics using PowerShell](https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-service-fabric)\n* Content Source: [articles/log-analytics/log-analytics-service-fabric.md](https://github.com/Microsoft/azure-docs/blob/master/articles/log-analytics/log-analytics-service-fabric.md)\n* Service: **log-analytics**\n* GitHub Login: @niniikhena\n* Microsoft Alias: **nini**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/416668934","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/13564#issuecomment-416668934","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/13564","id":416668934,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjY2ODkzNA==","user":{"login":"bwren","id":8323784,"node_id":"MDQ6VXNlcjgzMjM3ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8323784?v=4","gravatar_id":"","url":"https://api.github.com/users/bwren","html_url":"https://github.com/bwren","followers_url":"https://api.github.com/users/bwren/followers","following_url":"https://api.github.com/users/bwren/following{/other_user}","gists_url":"https://api.github.com/users/bwren/gists{/gist_id}","starred_url":"https://api.github.com/users/bwren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwren/subscriptions","organizations_url":"https://api.github.com/users/bwren/orgs","repos_url":"https://api.github.com/users/bwren/repos","events_url":"https://api.github.com/users/bwren/events{/privacy}","received_events_url":"https://api.github.com/users/bwren/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T17:17:52Z","updated_at":"2018-08-28T17:17:52Z","author_association":"CONTRIBUTOR","body":"#in-progress"}}
{"actor":{"display_login":"bwren"}}