Splunk Search

How to embed a Splunk element inside an HTML element (e.g. in a table)

benholfeld
New Member

For some custom UI improvement, I need to arrange Splunk input elements in a certain way, e.g. align them horizontally... so I created an html table and can put drop-downs in there, but I couldn't find a way to put a Splunk element inside an html element. How is that possible?

What I was hoping is something like this:

<html>
<table><tr>
<td>xyy</td>
<td>
<splunk>
<input ...
</splunk>
</td>
</tr></table>
</html>
Tags (4)
0 Karma

jaffar20
Explorer

I'm having the same issue. Did you ever get an answer to this?

0 Karma

Raghav2384
Motivator

Hello,

Create tokens related to the drop downs by populating searches and you can call the token I side tags.

Docs: search for token usage in splunk docs.

Example, let's say I have a token called $username$ defined. I can call that token from the html code.

$username $

Hope this helps,
Thanks,
Raghav

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...