<?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 to add multiple field in a single search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688421#M234701</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to write spl search query by adding multiple field in single search&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Field 1 - contain data like authorization " Write or Read "&amp;nbsp;&lt;/P&gt;&lt;P&gt;Field 2 - contain user id details like "&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265221"&gt;@abc&lt;/a&gt;.com , user1, user 2,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to write a spl query&amp;nbsp;&lt;/P&gt;&lt;P&gt;Index =testing ("write" AND "&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265221"&gt;@abc&lt;/a&gt;.com" )&amp;nbsp;&lt;/P&gt;&lt;P&gt;spl query to add multiple filed which contain " write " AND "@abc.com" when these condition satisfied an alert has to been sent&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2024 08:59:21 GMT</pubDate>
    <dc:creator>jaibalaraman</dc:creator>
    <dc:date>2024-05-23T08:59:21Z</dc:date>
    <item>
      <title>How to add multiple field in a single search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688421#M234701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to write spl search query by adding multiple field in single search&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Field 1 - contain data like authorization " Write or Read "&amp;nbsp;&lt;/P&gt;&lt;P&gt;Field 2 - contain user id details like "&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265221"&gt;@abc&lt;/a&gt;.com , user1, user 2,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to write a spl query&amp;nbsp;&lt;/P&gt;&lt;P&gt;Index =testing ("write" AND "&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265221"&gt;@abc&lt;/a&gt;.com" )&amp;nbsp;&lt;/P&gt;&lt;P&gt;spl query to add multiple filed which contain " write " AND "@abc.com" when these condition satisfied an alert has to been sent&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 08:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688421#M234701</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2024-05-23T08:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple field in a single search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688422#M234702</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Index=testing ("write" AND " &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265221"&gt;@abc&lt;/a&gt;.com" ) &lt;/LI-CODE&gt;&lt;P&gt;What results do you get?&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 09:06:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688422#M234702</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-05-23T09:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple field in a single search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688450#M234705</link>
      <description>&lt;P&gt;yes i can see the output. However&amp;nbsp; the search returns based on the string mentioned in the bracket&amp;nbsp; and also additionally it returns most of other user id&amp;nbsp;&lt;/P&gt;&lt;P&gt;example -&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265221"&gt;@abc&lt;/a&gt;.com ,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230991"&gt;@test&lt;/a&gt;.com , testing.@test.co&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 11:00:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688450#M234705</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2024-05-23T11:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple field in a single search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688453#M234706</link>
      <description>&lt;P&gt;Please share some of the events whish are being returned incorrectly (anonymised appropriately)&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 11:12:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688453#M234706</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-05-23T11:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple field in a single search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688458#M234707</link>
      <description>&lt;P&gt;Hi please&lt;/P&gt;&lt;P&gt;find the below image&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaibalaraman_0-1716463297677.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30938iD3088595D176FB5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaibalaraman_0-1716463297677.png" alt="jaibalaraman_0-1716463297677.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 11:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688458#M234707</guid>
      <dc:creator>jaibalaraman</dc:creator>
      <dc:date>2024-05-23T11:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple field in a single search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688462#M234708</link>
      <description>&lt;P&gt;Please paste the text (not an image) of the search into code block (otherwise, it is too small to be read easily)&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 12:02:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688462#M234708</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-05-23T12:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add multiple field in a single search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688465#M234710</link>
      <description>&lt;P&gt;May I misunderstand your question, but it's simple:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index= testing field1="write" field2="*@abc.com"

|table field1, field2, ....&lt;/LI-CODE&gt;
&lt;P&gt;if "@abc.com"&amp;nbsp; is a user name and not a domain (as I assume) you do not need to put the wildcard (*) before. If you put it, it will result in every user with&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265221"&gt;@abc&lt;/a&gt;.com. Like, &lt;A href="mailto:user1@abc.com," target="_blank" rel="noopener"&gt;user1@abc.com,&lt;/A&gt;&amp;nbsp;&lt;A href="mailto:user2@abc.com.." target="_blank" rel="noopener"&gt;user2@abc.com..&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;alternative:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=testing | stats count by field1 field2 | search field1="write" AND field2"*@abc.com"&lt;/LI-CODE&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 14:35:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-multiple-field-in-a-single-search/m-p/688465#M234710</guid>
      <dc:creator>norbertt911</dc:creator>
      <dc:date>2024-05-23T14:35:56Z</dc:date>
    </item>
  </channel>
</rss>

