I have a follow up question to [Spark Structured streaming] Elasticsearch sink index name
James said, "As christian has mentioned above, ES-Hadoop will not create an index name using the current time, but rather will let you give a field name on your document to use in the index name creation. This field can contain a timestamp, which is usually what users want when they are using time based indices."
What is the field name that ES-Hadoop (or ES possibly) looking for index name creation? And how do we configure which field to use?
Do we have a related documentation or example? In this example, https://www.elastic.co/guide/en/elasticsearch/hadoop/current/spark.html#spark-sql-streaming-write-scala , wouldn't it create a spark index?