<?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 How can I reference searches across Prebuilt Panels in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-reference-searches-across-Prebuilt-Panels/m-p/389633#M25559</link>
    <description>&lt;P&gt;I want to use common panels across many dashboards. This way I can modify one object, and update all related dashboards. This is an important software principle of Don't Repeat Yourself.&lt;/P&gt;

&lt;P&gt;I know you can create a report and reference the same report in multiple prebuilt and inlined panels, but reports do not offer tokenized values.&lt;/P&gt;

&lt;P&gt;Is there was a way to use a prebuilt panel that has a search, and reference its search by ID in additional panels? &lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 14:28:09 GMT</pubDate>
    <dc:creator>markbarber21</dc:creator>
    <dc:date>2019-07-16T14:28:09Z</dc:date>
    <item>
      <title>How can I reference searches across Prebuilt Panels</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-reference-searches-across-Prebuilt-Panels/m-p/389633#M25559</link>
      <description>&lt;P&gt;I want to use common panels across many dashboards. This way I can modify one object, and update all related dashboards. This is an important software principle of Don't Repeat Yourself.&lt;/P&gt;

&lt;P&gt;I know you can create a report and reference the same report in multiple prebuilt and inlined panels, but reports do not offer tokenized values.&lt;/P&gt;

&lt;P&gt;Is there was a way to use a prebuilt panel that has a search, and reference its search by ID in additional panels? &lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 14:28:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-reference-searches-across-Prebuilt-Panels/m-p/389633#M25559</guid>
      <dc:creator>markbarber21</dc:creator>
      <dc:date>2019-07-16T14:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I reference searches across Prebuilt Panels</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-reference-searches-across-Prebuilt-Panels/m-p/389634#M25560</link>
      <description>&lt;P&gt;maybe look at the &lt;CODE&gt;| loadjob&lt;/CODE&gt; command?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchReference/Loadjob"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchReference/Loadjob&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 17:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-reference-searches-across-Prebuilt-Panels/m-p/389634#M25560</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-07-16T17:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I reference searches across Prebuilt Panels</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-reference-searches-across-Prebuilt-Panels/m-p/389635#M25561</link>
      <description>&lt;P&gt;I'm looking to have a panel with an inline search with an ID.&lt;BR /&gt;
Save that panel as a Prebuilt Panel.&lt;BR /&gt;&lt;BR /&gt;
Use that panel in a dashboard, and have other Prebuilt or Inline panels reference the first search as a base search.&lt;/P&gt;

&lt;P&gt;Looking to keep things DRY.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 19:40:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-reference-searches-across-Prebuilt-Panels/m-p/389635#M25561</guid>
      <dc:creator>markbarber21</dc:creator>
      <dc:date>2019-07-16T19:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I reference searches across Prebuilt Panels</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-reference-searches-across-Prebuilt-Panels/m-p/389636#M25562</link>
      <description>&lt;P&gt;You can do it like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|rest/services/data/ui/panels
| search eai:appName="Your App Here" AND panel.title="Your Panel Title Here" AND title="Your title here"
| regex eai:data = "\&amp;lt;query\&amp;gt;"
| rex field=eai:data max_match=0 "\&amp;lt;query\&amp;gt;(?&amp;lt;query&amp;gt;.*?)\&amp;lt;\/query\&amp;gt;"
| eval query=mvindex(query, &amp;lt;some number here&amp;gt;)
| map search="search $query$"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Jul 2019 23:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-reference-searches-across-Prebuilt-Panels/m-p/389636#M25562</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-19T23:50:03Z</dc:date>
    </item>
  </channel>
</rss>

