Yes, you can configure widgets to exclude results by tags. You can do this by applying a tag prepended with a ! to signify "not".
So in your case, you can set up your widget scoped over importance:ignore and then hit the little </> button on the right to expose the underlying query, and sneak a ! in front to make it !importance:ignore.
This doc has a nice example (although it's for notebooks, it works the same in dashboards as well).
Answer from stephenlechner on Stack OverflowAll of these answers are correct in their own ways, but my specific issue was that the Datadog annotations for the source and service were not properly quoted:
ad.datadoghq.com/my-service.logs: |
[{
"source": "my-service", # Needs Quotes
"service": "my-service", # Needs Quotes
"log_processing_rules": [
{
"type": "exclude_at_match",
"name": "exclude_healthcheck_logs",
"pattern": "\"RequestPath\": \"\/health\""
}
]
}]
Be sure you are applying the label com.datadoghq.ad.logs to the service container which is generating the log messages... not the Datadog agent container. (That was my mistake.)
Hi all, I work in a smallish global corporation in the manufacturing sector. I support a number of our software products as well as providing some networking and cybersecurity advice to people who are more mechanically minded.
We’ve encountered some issues with one of our products a installed at a particular customer and I suspect it may be the antivirus causing some conflicts. Ours is the only software running on a Windows Server VM, so Baseline install followed by our software. The software includes PostgreSQL and some file based network stuff (old technology). So in one folder there are up to 1000 files being written and deleted per second.
Sometimes files are not written that should be written, and aren’t deleted that should be deleted. We also have some issues with time outs on the database.
PostgreSQL advise to exclude the installation folder from antivirus. And I have also requested that our software folder be excluded from antivirus.
The customer‘s IT basically responded with „no“.
Is this a serious security threat? It seems standard practice for production software to require an exclusion.
How would you respond? And do you think I’m right to suspect the antivirus as the cause of our issues?
Thanks.