log a has field "ts" of type float
log b has field "ts" of type date
This is causing a WARN - cannot create index
Ideally, I don't want to have to drop one of the logs, so I wanted to create a index specifically for log b which is only coming from a certain pod. This are the indeces I have made
- index: "index-a-%{+yyyyMM}"
when.not.regexp:
kubernetes.pod.name: "mypod-.*"
when.regexp:
kubernetes.namespace: "mynamespace-*"
- index: "index-b-%{+yyyyMM}"
when.regexp:
kubernetes.pod.name: "mypod-.*"
kubernetes.namespace: "mynamespace-.*"
With the above config, I am still getting the WARN, and index-b is not created. Any help would be greatly appreciated