I have a question I can't get going through the forums.
Is there any way to set up a rule that will prohibit any attempt to create a field with a name that has a datetime section in it?
For e.g data comes in, and the field name they want to create = "Data2020-04-18"
Please note I am not talking about the content within the field, just the field name itself.
Is there a way to stop certain field names being created
I can't see a solution for that specifically.
You can reject any document which does not comply with the mapping with "dynamic": "strict" mapping option ( https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic.html) but I don't think you can define regex or things like that.
I believe this is something you should control in your application.
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.