<?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: Using join to show fields for two sourcetypes in one table, why are some fields empty? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234146#M69577</link>
    <description>&lt;P&gt;Thank you, but this doesn't work eighter. The fields  cvss_base_score, description, exploit_available, exploitability_ease, family_name and risk_factor are still empty &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:04:49 GMT</pubDate>
    <dc:creator>mdorobek</dc:creator>
    <dc:date>2020-09-29T10:04:49Z</dc:date>
    <item>
      <title>Using join to show fields for two sourcetypes in one table, why are some fields empty?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234143#M69574</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I need to show fields for two sourcetypes in one table. Those two sourcetypes have the same ID field: "plugin_id" and "id". For this reason, I tried to join them with the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...|rename plugin_id as id| table id, host-fqdn, hostname, severity | join id type=left [search index=nessus sourcetype="nessus:plugin"| table id, cvss_base_score, description, exploit_available, exploitability_ease, family_name, plugin_name, risk_factor] | table host-fqdn, hostname, severity, id, cvss_base_score, description, exploit_available, exploitability_ease, family_name, plugin_name, risk_factor
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The failure is that some fields in the Table are just empty. &lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 10:05:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234143#M69574</guid>
      <dc:creator>mdorobek</dc:creator>
      <dc:date>2016-06-29T10:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using join to show fields for two sourcetypes in one table, why are some fields empty?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234144#M69575</link>
      <description>&lt;P&gt;try appendcols&lt;/P&gt;

&lt;P&gt;Example sourcetype=abc|table x,y,z,id|appendcols [search sourcetype=def|blah blah|fields id]&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Raghav&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 16:49:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234144#M69575</guid>
      <dc:creator>Raghav2384</dc:creator>
      <dc:date>2016-06-29T16:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using join to show fields for two sourcetypes in one table, why are some fields empty?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234145#M69576</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=foo sourcetype=bar) or (index=nessus sourcetype="nessus:plugin") | eval eid=coalesce(id, plugin_id) | fields host-fqdn, hostname, severity, eid, cvss_base_score, description, exploit_available, exploitability_ease, family_name, plugin_name, risk_factor | stats values(*) as * by host-fqdn eid | table host-fqdn, hostname, severity, id, cvss_base_score, description, exploit_available, exploitability_ease, family_name, plugin_name, risk_factor
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jun 2016 18:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234145#M69576</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-06-29T18:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using join to show fields for two sourcetypes in one table, why are some fields empty?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234146#M69577</link>
      <description>&lt;P&gt;Thank you, but this doesn't work eighter. The fields  cvss_base_score, description, exploit_available, exploitability_ease, family_name and risk_factor are still empty &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:04:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234146#M69577</guid>
      <dc:creator>mdorobek</dc:creator>
      <dc:date>2020-09-29T10:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using join to show fields for two sourcetypes in one table, why are some fields empty?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234147#M69578</link>
      <description>&lt;P&gt;Thank you, but I still have got the same problem.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 06:41:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234147#M69578</guid>
      <dc:creator>mdorobek</dc:creator>
      <dc:date>2016-06-30T06:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using join to show fields for two sourcetypes in one table, why are some fields empty?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234148#M69579</link>
      <description>&lt;P&gt;The fields are getting created and I can display those fields in the table. As soon as I use one of the fields  "host-fqdn, hostname, severity, id, cvss_base_score, description or plugin_name", the fields "cvss_base_score, description, exploit_available, exploitability_ease and family_name" wont be displayed.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:04:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234148#M69579</guid>
      <dc:creator>mdorobek</dc:creator>
      <dc:date>2020-09-29T10:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using join to show fields for two sourcetypes in one table, why are some fields empty?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234149#M69580</link>
      <description>&lt;P&gt;What do you get when you run this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=foo sourcetype=bar) or (index=nessus sourcetype="nessus:plugin") | eval eid=coalesce(id, plugin_id) | table host-fqdn, hostname, severity, eid, cvss_base_score, description, exploit_available, exploitability_ease, family_name, plugin_name, risk_factor
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Jun 2016 12:37:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234149#M69580</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-06-30T12:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using join to show fields for two sourcetypes in one table, why are some fields empty?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234150#M69581</link>
      <description>&lt;P&gt;To better understand this particular Question it is important that it reflects on the intended usage of TA-Nessus.&lt;/P&gt;

&lt;P&gt;The Sourcetype  nessus:plugin is primarily used to create and maintain several lookup-files with included saved searches. Those searches are not scheduled by default and can be run manually or scheduled as needed. &lt;/P&gt;

&lt;P&gt;All requested fields are automatically enriched via lookups to nessus:scan events, if the lookup-files are  created or maintained.&lt;/P&gt;

&lt;P&gt;So my answer to this question is to run and/or schedule the included saved searches of TA-Nessus and all needed fields will be accessible for nessus:scan events without further Searches using Join.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 13:50:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-join-to-show-fields-for-two-sourcetypes-in-one-table-why/m-p/234150#M69581</guid>
      <dc:creator>rschoensee</dc:creator>
      <dc:date>2016-06-30T13:50:16Z</dc:date>
    </item>
  </channel>
</rss>

