<?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 Create a table from only certain fixed values in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-a-table-from-only-certain-fixed-values/m-p/481028#M33218</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a search that returns hundreds of results. Each result contains a field called jobName and another field called server&lt;BR /&gt;I need to build a table with 2 columns from a fixed set of JobNames. However, if one of the JobName in my defined list is not found in the search result, I need to return 'Not found'&lt;/P&gt;
&lt;P&gt;Table should look like: &lt;BR /&gt;JobName server&lt;BR /&gt;JobA Server1&lt;BR /&gt;JobB Server2&lt;BR /&gt;JobE Not found&lt;BR /&gt;JobX Server6&lt;/P&gt;
&lt;P&gt;Can anyone please help on how to generate the output above? &lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jun 2020 23:25:39 GMT</pubDate>
    <dc:creator>worldexplorer81</dc:creator>
    <dc:date>2020-06-07T23:25:39Z</dc:date>
    <item>
      <title>Create a table from only certain fixed values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-a-table-from-only-certain-fixed-values/m-p/481028#M33218</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a search that returns hundreds of results. Each result contains a field called jobName and another field called server&lt;BR /&gt;I need to build a table with 2 columns from a fixed set of JobNames. However, if one of the JobName in my defined list is not found in the search result, I need to return 'Not found'&lt;/P&gt;
&lt;P&gt;Table should look like: &lt;BR /&gt;JobName server&lt;BR /&gt;JobA Server1&lt;BR /&gt;JobB Server2&lt;BR /&gt;JobE Not found&lt;BR /&gt;JobX Server6&lt;/P&gt;
&lt;P&gt;Can anyone please help on how to generate the output above? &lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 23:25:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-a-table-from-only-certain-fixed-values/m-p/481028#M33218</guid>
      <dc:creator>worldexplorer81</dc:creator>
      <dc:date>2020-06-07T23:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table from only certain fixed values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-a-table-from-only-certain-fixed-values/m-p/481029#M33219</link>
      <description>&lt;P&gt;can you share a sample of your data?&lt;BR /&gt;
try and look into the &lt;CODE&gt;fillnull&lt;/CODE&gt; command&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/Fillnull"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/Fillnull&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;... your search ... | fields jobName server | table jobName server | fillnull value="Not found" server&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 03:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-a-table-from-only-certain-fixed-values/m-p/481029#M33219</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2020-04-21T03:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create a table from only certain fixed values</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Create-a-table-from-only-certain-fixed-values/m-p/481030#M33220</link>
      <description>&lt;P&gt;Thanks! The fillnull function works&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 12:35:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Create-a-table-from-only-certain-fixed-values/m-p/481030#M33220</guid>
      <dc:creator>worldexplorer81</dc:creator>
      <dc:date>2020-04-21T12:35:14Z</dc:date>
    </item>
  </channel>
</rss>

