-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
from Slack conversation https://clojurians.slack.com/archives/C03J782P329/p1737574229809269
from Nim Sadeh
Hey me again. Wondering if there are any tips for setting up structured logging with OpenSearch/ElasticSearch? I keep getting errors because of the dynamic nature of the structured logs. It's a bit unpredictable, so every day I squash a few, it works, then I get a new one.
For example, yesterday it complained about having periods in certain field names, so I put this dynamic template on:
{
"dynamic_templates": [
{
"dots_as_keywords": {
"path_match": ".*\\..*",
"match_pattern": "regex",
"mapping": {
"type": "keyword"
}
}
}
],
"properties": {}
}
Today I am getting the error:
"illegal_argument_exception", :reason "mapper [info.o.trace.a] cannot be changed from type [long] to [text]"}}})}
I'm wondering if there's a standard configuration that just works with mulog
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working