Hello, I am logging a variable as a json:
But when I use a query to show in a canvas table I lose the new line characters:
Is there a way to prevent that from happening?
Hello, I am logging a variable as a json:
But when I use a query to show in a canvas table I lose the new line characters:
Is there a way to prevent that from happening?
HTML tables will preserve/render all the new lines and tabs in your JSON string if you apply the following CSS.
.canvasDataTable__table {
white-space: pre-wrap;
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.