<?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 Combining search statements in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Combining-search-statements/m-p/349592#M159559</link>
    <description>&lt;P&gt;For each subject in the search sentence, the count number is displayed.&lt;BR /&gt;
In addition to the information currently being displayed, I want to display the attached file name for each subject.&lt;/P&gt;

&lt;P&gt;The search sentence you are using is below.&lt;BR /&gt;
※ Partially omitted&lt;/P&gt;

&lt;P&gt;index=xxxxx&lt;BR /&gt;
 | lookup ～ommitted～&lt;BR /&gt;
| stats count ～ommitted～ by subject&lt;/P&gt;

&lt;P&gt;Can I display the attached file name by adding it to the search sentence that is counting?&lt;/P&gt;

&lt;P&gt;-image-&lt;/P&gt;

&lt;P&gt;Subject | Number | attached file name | Number of Mail with Attachment&lt;/P&gt;

&lt;P&gt;AAAA | 100 | aaaa | 10&lt;BR /&gt;
BBBB | 50 | none | 0&lt;BR /&gt;
CCCC | 200 | cccc | 200&lt;/P&gt;

&lt;P&gt;In the current search searches, only the subject line and number of items are displayed.&lt;BR /&gt;
*I want to display none if there is no attached file.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2017 05:12:32 GMT</pubDate>
    <dc:creator>honobe</dc:creator>
    <dc:date>2017-08-03T05:12:32Z</dc:date>
    <item>
      <title>Combining search statements</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combining-search-statements/m-p/349592#M159559</link>
      <description>&lt;P&gt;For each subject in the search sentence, the count number is displayed.&lt;BR /&gt;
In addition to the information currently being displayed, I want to display the attached file name for each subject.&lt;/P&gt;

&lt;P&gt;The search sentence you are using is below.&lt;BR /&gt;
※ Partially omitted&lt;/P&gt;

&lt;P&gt;index=xxxxx&lt;BR /&gt;
 | lookup ～ommitted～&lt;BR /&gt;
| stats count ～ommitted～ by subject&lt;/P&gt;

&lt;P&gt;Can I display the attached file name by adding it to the search sentence that is counting?&lt;/P&gt;

&lt;P&gt;-image-&lt;/P&gt;

&lt;P&gt;Subject | Number | attached file name | Number of Mail with Attachment&lt;/P&gt;

&lt;P&gt;AAAA | 100 | aaaa | 10&lt;BR /&gt;
BBBB | 50 | none | 0&lt;BR /&gt;
CCCC | 200 | cccc | 200&lt;/P&gt;

&lt;P&gt;In the current search searches, only the subject line and number of items are displayed.&lt;BR /&gt;
*I want to display none if there is no attached file.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 05:12:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combining-search-statements/m-p/349592#M159559</guid>
      <dc:creator>honobe</dc:creator>
      <dc:date>2017-08-03T05:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Combining search statements</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combining-search-statements/m-p/349593#M159560</link>
      <description>&lt;P&gt;try...&lt;BR /&gt;
    | eval filename=coalesce(filename, "none")&lt;BR /&gt;
    | stats count  values(filename) as filename by subject&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 20:01:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combining-search-statements/m-p/349593#M159560</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-03T20:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Combining search statements</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combining-search-statements/m-p/349594#M159561</link>
      <description>&lt;P&gt;Thanks to your answer, I was able to solve the problem.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 00:57:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combining-search-statements/m-p/349594#M159561</guid>
      <dc:creator>honobe</dc:creator>
      <dc:date>2017-08-04T00:57:16Z</dc:date>
    </item>
  </channel>
</rss>

