Errors exporting alerts during `template export`
See original GitHub issueseqcli template export -o Seq\test -s *** -a ***
If alert has any recent notifications
Error:
The command failed: Unsupported type: Seq.Api.Model.Shared.DateTimeRange. Use the JsonSerializer class to get the object's JSON representation. Path 'Activity.RecentOccurrences[0]'.
JSON:
{
"Activity": {
// ...
"RecentOccurrences": [
{
"DetectedAt": "2022-07-25T11:13:06.9765797Z",
"DetectedOverRange": {
"Start": "2022-07-25T11:05:36.9765797Z",
"End": "2022-07-25T11:12:36.9765797Z"
},
"NotificationLevel": "Debug",
"Notifications": [
{
"HistoricalAppInstanceId": "appinstance-261"
}
]
}
// ...
]
}
}
If Slack app instance allows Message property override
Error:
The command failed: Unsupported type: System.Collections.Generic.KeyValuePair`2[System.String,System.String]. Use the JsonSerializer class to get the object's JSON representation. Path 'NotificationChannels[0].NotificationAppSettingOverrides'.
JSON:
"NotificationChannels": [
{
"Id": "notificationchannel-ea922d068c29441ab58d6ea411d4d477",
"NotificationMessage": "This is test alert notification message",
"IncludeContributingEvents": true,
"IncludedContributingEventLimit": 1,
"NotificationAppInstanceId": "appinstance-261",
"NotificationAppSettingOverrides": {
"MessageTemplate": "This is test alert message"
}
}
],
Seq 2022.1.7929 Seqcli 2022.1.594 Slack Notifier App 1.0.0
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Error when exporting OVF template
Hi guys, I have a need to backup vApp environments for archiving purposes. I had the solution to export the vApp as a...
Read more >Resolve the "Export EXPORT_NAME cannot be updated ...
You get this error when one or more stacks are importing an exported output value from the stack that you want to update...
Read more >How to get Xporter errors for exported issues
Solved: Hello, Is there a way to know what errors occured when an issue has been exported by Xporter? For example, if there...
Read more >Cannot export ARM template for alerts · Issue #39632
Having entered new alerts they cannot be exported in an ARM template, which makes creating alerts in a template much trickier.
Read more >Export template in Azure portal - Resource Manager
Use Azure portal to export an Azure Resource Manager template from resources in your subscription.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for checking it out; sounds like a different issue, I’ll take a look 👍
Hi all! We’ve just merged a fix for this - if you’d like to try out the
dev
build you can find binaries at:https://ci.appveyor.com/project/datalust/seqcli/branch/dev/job/1kvhn8j740gbsota/artifacts
Would be great to hear how you go 😃