But I have problems because Logstash showme that the "Login[1]" has a Invalid FieldReference so I thing is for the part of the "[1]".
How can I set this kind of field on logstash?
Then it may not be possible to do it in logstash itself. However, ingest pipelines have a rename processor that might be able to do it. I do not run Elasticsearch myself, so I cannot test it. Perhaps @stephenb can speak to that.You can set the pipeline option on an Elasticsearch output to say which ingest pipeline should be used.
This works you would set this up (with your own pipeline name) then as @Badger indicated you can set the pipeline => "my-pipeline" setting in the logstash Elasticsearch output section
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.