Query error with .keywords

Hello!

I am trying to enrich my index with logstash's elastic filter.

the problem is that it analyzes instead of taking the concrete value.

How can I query to use the .keyword?

im want something like this:


  elasticsearch {
    hosts => "http://xxxxxx:9200"
    index => "prueba-agentes"
    query => "alias.keyword:%{[alias.keyword]}"
    fields => {
      "estado_agente" => "estado_agente_enriquecido"
    }

  elasticsearch {
    hosts => "http://xxxxxx:9200"
    index => "prueba-agentes"
    query => "alias.keyword:%{[alias][keyword]}"
    fields => {
      "estado_agente" => "estado_agente_enriquecido"
    }

Thanks in advanced!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.