<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Running jQuery on search results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Running-jQuery-on-search-results/m-p/437808#M124663</link>
    <description>&lt;P&gt;Not the most elegant way, but I've found a solution putting my jQuery in /opt/splunk/share/splunk/search_mrsparkle/templates/pages/base.html right before  works. &lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2019 20:33:04 GMT</pubDate>
    <dc:creator>big_nuggets</dc:creator>
    <dc:date>2019-06-24T20:33:04Z</dc:date>
    <item>
      <title>Running jQuery on search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-jQuery-on-search-results/m-p/437807#M124662</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Hoping someone here can help because I've been running into walls on it. &lt;BR /&gt;
I'm trying to insert a link on every &lt;CODE&gt;tr&lt;/CODE&gt; element returned in search results. Searching around here it appears I need to edit a .js file somewhere in this directory &lt;CODE&gt;/opt/splunk/share/splunk/search_mrsparkle/exposed&lt;/CODE&gt;, more accurately directories therein.&lt;/P&gt;

&lt;P&gt;However, I've tried modifying EVERYTHING I could think of with a simple &lt;CODE&gt;alert("hi");&lt;/CODE&gt;, then ./bin/splunk restart splunkweb, get a message that webservices have been restarted and nothing. Using Chrome Incognito so I know it's not a caching issue. I'm doing this on Splunk 7.3.0. Any help would be appreciated thank you!&lt;/P&gt;

&lt;P&gt;I really don't want to make my own app, I'd much rather just inject some JS into the default mrsparkle search. &lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7238i105A0E6C17D20751/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 17:15:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-jQuery-on-search-results/m-p/437807#M124662</guid>
      <dc:creator>big_nuggets</dc:creator>
      <dc:date>2019-06-21T17:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Running jQuery on search results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-jQuery-on-search-results/m-p/437808#M124663</link>
      <description>&lt;P&gt;Not the most elegant way, but I've found a solution putting my jQuery in /opt/splunk/share/splunk/search_mrsparkle/templates/pages/base.html right before  works. &lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 20:33:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-jQuery-on-search-results/m-p/437808#M124663</guid>
      <dc:creator>big_nuggets</dc:creator>
      <dc:date>2019-06-24T20:33:04Z</dc:date>
    </item>
  </channel>
</rss>

