Set-up Elasticsearch v7.10.0 Python 3.7+
Python script runs once each month to create a monthly index using the bulk insert function in the elasticsearch module.
The script uses strings to define the field name during creation as shown below
Issue: Visible pink spaces in Elasticsearch field names.
Even though the strings look perfectly normal above, strange pink spaces appear in the field names when inserted into Elasticsearch.
This is how it looks like -
There's no issue using the field in visualizations per se. However, when my script generates data for a new month, the field names might have pink spaces at a different place.
For '# of unique recurring jobs failing' as an example, the name of the field differs between the Jan 2021 and Feb 2021 indices; thus unable to use it as a common field in an index pattern for visualizations.
I've tried to look up the issue online but it seems like an elusive shiny pokemon.
Any help is appreciated. Thanks!