• Kubernetes Submit Queue's avatar
    Merge pull request #36857 from Shrugs/fix/elasticsearch-template-mapping · d77610fc
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    fix: elasticsearch template mapping to parse kubernetes.labels
    
    **What this PR does / why we need it**:
    
    This PR updates the field mappings for the elasticsearch template that ships with the EFK stack implementation.
    
    Specifically, elasticsearch cannot parse the `kubernetes.labels` object because it attempts to treat it as a string and produces an error. This update treats `kubernetes.labels` as an object and all of the properties within as a string, allowing accurate indexing and allowing users in kibana to search on `kubernetes.labels.*`.
    
    **Release note**:
    ```release-note
    Fluentd/Elastisearch add-on: correctly parse and index kubernetes labels
    ```
    d77610fc
Name
Last commit
Last update
..
config Loading commit data...
Dockerfile Loading commit data...
Makefile Loading commit data...
elasticsearch_logging_discovery.go Loading commit data...
run.sh Loading commit data...
template-k8s-logstash.json Loading commit data...