Does Splunk provide any API to retrieve the events/fields and use it in HTML and Jquery/JS?
@a_ameerabbas please elaborate your use case and what do you want to achieve so that community can assist you better.