Hello Splunkers!
I am using HEC to send an html file to splunk. The received event contains the html lines of code.
The html is a table with some data, and forms a table with the data. Is there a way, or how can I create a dashboard from the html text that shows the table?
Maybe another way to say this is: How can I extract the html code from the hec event, and display same on a dashboard?
Thank You So Much,
E Holz
Hi @eholz1
This is possible with some custom JS with a classic dashboard, but not yet possible with Dashboard Studio.
Rather then me pasting the whole process here, check out https://community.splunk.com/t5/Dashboards-Visualizations/Render-HTML-code-from-search-result-in-Spl... which gives an example of how to achieve this.
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
Hi @eholz1
This is possible with some custom JS with a classic dashboard, but not yet possible with Dashboard Studio.
Rather then me pasting the whole process here, check out https://community.splunk.com/t5/Dashboards-Visualizations/Render-HTML-code-from-search-result-in-Spl... which gives an example of how to achieve this.
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
Hello There Ultra Champ,
Thanks for quick response. I will take a look at the process. Thanks again,
Be aware though that allowing displaying an unescaped, unsanitized HTML code from potentially unknown source is not always a best idea.