Skip to content

Commit

Permalink
Fix logging bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonsteele committed Dec 12, 2023
1 parent 8bfc7bb commit 1590e4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/deployment/worbook_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The Azure Workbook template `infoasst-lw-xxxx` is designed for log analysis, pro
- Default Query:
```kql
AppServiceConsoleLogs
| project TimeGenerated, Level, ResultDescription, _ResourceId
| project TimeGenerated, ResultDescription, _ResourceId
| where TimeGenerated > ago(6h)
| order by TimeGenerated desc
```
Expand Down
1 change: 1 addition & 0 deletions functions/FileLayoutParsingOther/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def PartitionFile(file_extension: str, file_url: str):
bytes_io = BytesIO(response.content)
response.close()
metadata = []
elements = None
try:
if file_extension == '.csv':
from unstructured.partition.csv import partition_csv
Expand Down
2 changes: 1 addition & 1 deletion infra/core/logging/monitor.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ resource logworkbook 'Microsoft.Insights/workbooktemplates@2020-11-20' = {
type: 3
content: {
version: 'KqlItem/1.0'
query: 'AppServiceConsoleLogs | project TimeGenerated, Level, ResultDescription, _ResourceId | where TimeGenerated > ago(6h) | order by TimeGenerated desc'
query: 'AppServiceConsoleLogs | project TimeGenerated, ResultDescription, _ResourceId | where TimeGenerated > ago(6h) | order by TimeGenerated desc'
size: 0
timeContext: {
durationMs: 86400000
Expand Down

0 comments on commit 1590e4c

Please sign in to comment.