I am currently using ElasticSearch to search through data stored in a mongo db. However I have come across an issue that I seem to be stuck on. I am using a river to build indices from my database, I want to exclude some data from being stored into the JSON document. I have some security sensitive information that I would prefer not to have on my server.

In fact, it would be more beneficial if I could just list the data fields that I want to be included and stored into the JSON document while still using a mongo db river-plugin. Please share any guidance you have on this problem.

I am currently using ElasticSearch to search through data stored in a mongo
db. However I have come across an issue that I seem to be stuck on. I am
using a river to build indices from my database, I want to exclude some data
from being stored into the JSON document. I have some security sensitive
information that I would prefer not to have on my server.

In fact, it would be more beneficial if I could just list the data fields
that I want to be included and stored into the JSON document while still
using a mongo db river-plugin. Please share any guidance you have on this
problem.

I am currently using ElasticSearch to search through data stored in a mongo
db. However I have come across an issue that I seem to be stuck on. I am
using a river to build indices from my database, I want to exclude some
data
from being stored into the JSON document. I have some security sensitive
information that I would prefer not to have on my server.

In fact, it would be more beneficial if I could just list the data fields
that I want to be included and stored into the JSON document while still
using a mongo db river-plugin. Please share any guidance you have on this
problem.