Join two csv files

Hello!

I have 2 csv files that share a common field and I would like to pass 2 fields from one of the files to the other.

The functionality that I want is the same that I usually have with the Elasticsearch filter obtaining fields from an index via a common field but with csv before indexing.

Is this possible ?

input{
  csv1
}

input {
  csv2
}

filter{ 
  join
}

output{

}

Thanks in advanced!

Use a translate filter. There are many threads that discuss this. For example, here and here.