<?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: how to assemble 2 distinct splunk searches into one? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302198#M161891</link>
    <description>&lt;P&gt;hello kmaron and adonio,&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;kmaron:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I had already tried with a sub-search but no event is displayed at the level of the sub-search I do not know why and yet I had followed the doc splunk.&lt;/P&gt;

&lt;P&gt;I tried the request that you proposed to me but I have the same problem no result is displayed, I will try to find the problem.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;adonio:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I thought I read in the doc concerning append and join that for the requests on many events, her 2 commands were slow and she consumed a lot of resources. That's why I prefer to go through a sub-search before using his commands.&lt;/P&gt;

&lt;P&gt;Thank you &lt;BR /&gt;
Amir&lt;/P&gt;</description>
    <pubDate>Wed, 04 Apr 2018 08:40:18 GMT</pubDate>
    <dc:creator>amir_thales</dc:creator>
    <dc:date>2018-04-04T08:40:18Z</dc:date>
    <item>
      <title>how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302195#M161888</link>
      <description>&lt;P&gt;hello everyone,&lt;/P&gt;

&lt;P&gt;I just want to merge the 2 splunk searches.&lt;/P&gt;

&lt;P&gt;In the first query, i have all information about mounting the usb key.&lt;BR /&gt;
In the second query, i have the information about the unmounting the usb key.&lt;/P&gt;

&lt;P&gt;The events that are used to mount and unmount the USB drive are not similar, so I want to add the unmount events to the mount event. You should know that in the unmount request I use the &lt;CODE&gt;transaction&lt;/CODE&gt; command to group the log audit between them.&lt;/P&gt;

&lt;P&gt;The first query (&lt;STRONG&gt;mount query&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="mtab_executer" OR source="unix:useraccounts"
| rex max_match=0 "(^|\n)(?&amp;lt;usb_key&amp;gt;\/\S+\s\/\S+)"
| eval user_id=coalesce(user_id, uid)
| eventstats latest(user) AS user BY user_id
| convert timeformat="%d/%m/%Y %H:%M:%S" ctime(_time) AS c_time
| stats latest(c_time) AS Mount, latest(user) AS user, latest(user_id) AS user_id, count BY usb_key
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The second query (&lt;STRONG&gt;unmount query&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="linux_audit" | transaction startswith="type=SYSCALL" endswith="type=PATH"
| convert timeformat="%d/%m/%Y %H:%M:%S" ctime(_time) AS c_time
| stats latest(c_time) AS Umount, count BY name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to add the result of this search  &lt;CODE&gt;sourcetype="linux_audit" | transaction startswith="type=SYSCALL" endswith="type=PATH"&lt;/CODE&gt; to the result of this search  &lt;CODE&gt;sourcetype="mtab_executer" OR source="unix:useraccounts"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;To summarize, all this I want to merge the 2 requests and display the table of the request 1 but I add the date of unmount of the key and more.&lt;/P&gt;

&lt;P&gt;Thank you&lt;BR /&gt;
Amir &lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 15:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302195#M161888</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-03T15:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302196#M161889</link>
      <description>&lt;P&gt;using &lt;CODE&gt;|append&lt;/CODE&gt; or &lt;CODE&gt;|join&lt;/CODE&gt; will do the trick however, looks like there is a better way to merge the two queries.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.3/SearchReference/Append"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.3/SearchReference/Append&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.3/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.3/SearchReference/Join&lt;/A&gt;&lt;BR /&gt;
hope it helps for the meantine&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 17:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302196#M161889</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-04-03T17:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302197#M161890</link>
      <description>&lt;P&gt;I believe you can do that with a subsearch. Maybe something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="mtab_executer" OR source="unix:useraccounts" 
| rex max_match=0 "(^|\n)(?&amp;lt;usb_key&amp;gt;\/\S+\s\/\S+)" 
| eval user_id=coalesce(user_id, uid) 
| eventstats latest(user) AS user BY user_id 
| convert timeformat="%d/%m/%Y %H:%M:%S" ctime(_time) AS c_time 
| stats latest(c_time) AS Mount, latest(user) AS user, latest(user_id) AS user_id, count BY usb_key 
    [ search sourcetype="linux_audit" 
    | transaction startswith="type=SYSCALL" endswith="type=PATH" 
    | convert timeformat="%d/%m/%Y %H:%M:%S" ctime(_time) AS c_time 
    | stats latest(c_time) AS Umount, count BY name 
    | fields Umount ] 
| table Mount Umount user user_id usb_key
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Apr 2018 17:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302197#M161890</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2018-04-03T17:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302198#M161891</link>
      <description>&lt;P&gt;hello kmaron and adonio,&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;kmaron:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I had already tried with a sub-search but no event is displayed at the level of the sub-search I do not know why and yet I had followed the doc splunk.&lt;/P&gt;

&lt;P&gt;I tried the request that you proposed to me but I have the same problem no result is displayed, I will try to find the problem.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;adonio:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I thought I read in the doc concerning append and join that for the requests on many events, her 2 commands were slow and she consumed a lot of resources. That's why I prefer to go through a sub-search before using his commands.&lt;/P&gt;

&lt;P&gt;Thank you &lt;BR /&gt;
Amir&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 08:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302198#M161891</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-04T08:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302199#M161892</link>
      <description>&lt;P&gt;sorry for the double post.&lt;/P&gt;

&lt;P&gt;Adonio:&lt;/P&gt;

&lt;P&gt;to use &lt;CODE&gt;join&lt;/CODE&gt; you need a common field that binds the 2 queries unless I'm wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 09:08:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302199#M161892</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-04T09:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302200#M161893</link>
      <description>&lt;P&gt;And you don't have such a common field? How do you then want to correlate the mounts and unmounts? Because that is what you want to achieve in the end, right?&lt;/P&gt;

&lt;P&gt;Can you perhaps share some sample data (output of those 2 queries) and also show what you want the results to look like in the end?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 09:27:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302200#M161893</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-04T09:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302201#M161894</link>
      <description>&lt;P&gt;hello @FrankVI,&lt;/P&gt;

&lt;P&gt;I'm not trying to correlate the information between her I just want to add the data from the second query with the first query and then I'll do a stats to group the data that interests me.&lt;/P&gt;

&lt;P&gt;As I said above the data used for unmount and mount are different.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Data unmount:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;For unmount data, I use audit logs that allows me to know when the key is removed and so in the table of the first query I just have to add the unmount date because I have almost all the information in the first request.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/236645-unmount.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Data mount:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;For data mount, I use the splunk plugin add-on for unix where I activated the script allowing me to generate events of / etc / passwd, I also generated events of a file system file ( mtab) via a script and I correlated the events of / etc / passwd with those of the script for the first request. And i use &lt;CODE&gt;transaction&lt;/CODE&gt; command to group same events.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;script event:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/236646-mount1.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;add-on event:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Wed Apr  4 12:10:15 CEST 2018 user=local_splunk password=x user_id=500 user_group_id=500 home=/home/local_splunk shell=/bin/bash&lt;/P&gt;

&lt;P&gt;host =PFSplunk-Srv              source =Unix:UserAccounts                           sourcetype =    Unix:UserAccounts   &lt;/P&gt;

&lt;P&gt;thank you &lt;BR /&gt;
amir&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:46:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302201#M161894</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2020-09-29T18:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302202#M161895</link>
      <description>&lt;P&gt;sorry for the error.&lt;/P&gt;

&lt;P&gt;I use &lt;CODE&gt;transaction&lt;/CODE&gt; command in the data unmount and not in the data mount.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 15:07:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302202#M161895</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-04T15:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302203#M161896</link>
      <description>&lt;P&gt;Hey @amir_thales - Based on what I'm reading here and what I remember/understand from &lt;A href="https://answers.splunk.com/answers/623114/correlate-2-events-with-uid-in-a-table.html#answer-625784"&gt;your other post&lt;/A&gt;, I'm going to suggest this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="linux_audit" 
| transaction startswith="type=SYSCALL" endswith="type=PATH" 
| convert timeformat="%d/%m/%Y %H:%M:%S" ctime(_time) AS c_time 
| stats latest(c_time) AS Umount, count BY name 
| rename name AS usb_key 
| append 
    [ sourcetype="mtab_executer" OR source="unix:useraccounts" 
    | rex max_match=0 "(^|\n)(?&amp;lt;usb_key&amp;gt;\/\S+\s\/\S+)" 
    | eval user_id=coalesce(user_id, uid) 
    | eventstats latest(user) AS user BY user_id 
    | convert timeformat="%d/%m/%Y %H:%M:%S" ctime(_time) AS c_time 
    | stats latest(c_time) AS Mount, latest(user) AS user, latest(user_id) AS user_id, count BY usb_key] 
| stats latest(Mount) AS Mount, latest(user) AS user, latest(user_id) AS user_id, latest(Umount) AS Umount, sum(count) AS count BY usb_key
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If that doesn't return what you're looking for, I'd recommend stripping off that final stats call and see if the appended results look like what you expect. I'm pretty sure &lt;CODE&gt;name&lt;/CODE&gt; in the first search represents the link to &lt;CODE&gt;usb_key&lt;/CODE&gt; in the second search, and I've deliberately reversed the order of searches, because transaction is an expensive command that's more likely to time out (making it a bad candidate for a subsearch).&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 15:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302203#M161896</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-04-04T15:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302204#M161897</link>
      <description>&lt;P&gt;hello @elliotproebstel,&lt;/P&gt;

&lt;P&gt;firstly thanks for the help you gave me on the previous post.&lt;/P&gt;

&lt;P&gt;I tested the request that you proposed to me and nothing appears. I am currently seeing what is wrong but at the level of the names you are right the name does well reference to the usb key.&lt;/P&gt;

&lt;P&gt;thank you&lt;BR /&gt;
Amir&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 15:55:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302204#M161897</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-04T15:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302205#M161898</link>
      <description>&lt;P&gt;@elliotproebstel,&lt;/P&gt;

&lt;P&gt;To use the &lt;CODE&gt;append&lt;/CODE&gt; command, must there be a link between the two search query or not because I tested the 2 search queries 1 by 1 it works well but if I put the &lt;CODE&gt;append&lt;/CODE&gt; command as in the above query nothing does not appear as it does not recognize my command, which is surprising to me that there is no error message to tell me what's wrong.&lt;/P&gt;

&lt;P&gt;Here's what I have when I launch the command:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4665iF02B985535BFC6B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I stay on the beginning page.&lt;/P&gt;

&lt;P&gt;Thank you &lt;BR /&gt;
Amir&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 16:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302205#M161898</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-04T16:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302206#M161899</link>
      <description>&lt;P&gt;It doesn't look like the search was even launched. You did click to start the search, right? What happens if you try removing the final stats command, as I suggested in my post? Can you show what that returns? &lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 01:43:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302206#M161899</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-04-05T01:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302207#M161900</link>
      <description>&lt;P&gt;hello @elliotproebstel,&lt;/P&gt;

&lt;P&gt;Sorry to answer you so late. I had some complications in his last days.&lt;/P&gt;

&lt;P&gt;yes, i clicked to start search in this picture.&lt;/P&gt;

&lt;P&gt;When i delete the stats command nothing is returned, i have the same result as above.&lt;/P&gt;

&lt;P&gt;Thank you&lt;BR /&gt;
Amir&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 09:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302207#M161900</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-16T09:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302208#M161901</link>
      <description>&lt;P&gt;hello @elliotproebstel,&lt;/P&gt;

&lt;P&gt;I'm coming back to what I told you about the post above, &lt;CODE&gt;NAME&lt;/CODE&gt; is not the same as &lt;CODE&gt;USB_KEY&lt;/CODE&gt; because in the &lt;CODE&gt;USB_KEY&lt;/CODE&gt; we have the name of the mount point and more than the &lt;CODE&gt;NAME&lt;/CODE&gt; refers to the name of the usb key .&lt;/P&gt;

&lt;P&gt;Thank you&lt;BR /&gt;
Amir&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:01:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302208#M161901</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-17T14:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302209#M161902</link>
      <description>&lt;P&gt;hello ,&lt;/P&gt;

&lt;P&gt;I finally managed to find what I wanted.&lt;/P&gt;

&lt;P&gt;Thank you&lt;BR /&gt;
amir &lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:02:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302209#M161902</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-17T14:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302210#M161903</link>
      <description>&lt;P&gt;Care to share your solution? Then others can also benefit from it if they stumble upon your question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:31:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302210#M161903</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-17T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302211#M161904</link>
      <description>&lt;P&gt;hello Hello @FrankVI,&lt;/P&gt;

&lt;P&gt;yes sorry&lt;/P&gt;

&lt;P&gt;Thank you &lt;BR /&gt;
Amir&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:39:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302211#M161904</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-17T14:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302212#M161905</link>
      <description>&lt;P&gt;Here is the solution that takes what was proposed above @elliotproebstel and I added some command because I had a problem, the result did not display and it came from the fact that usb_key and name was not similar .&lt;/P&gt;

&lt;P&gt;If it can be improved do not hesitate to propose your improvements.&lt;/P&gt;

&lt;P&gt;solution:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4666iA3C6BCD4A1CDC240/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thank you &lt;BR /&gt;
Amir&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:44:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302212#M161905</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-17T14:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302213#M161906</link>
      <description>&lt;P&gt;Hi Amir, I think the reason your first two searches were not returning anything at all while that last search returns something has to do with the time window, not just the changed query. I see that the values for name and usb_key are not the same, so good change with not renaming name to usb_key - but the fact that you were getting no results at all before either means the search wasn't running (which is honestly what the picture seems to show) or maybe the search was timing out because you were running a transaction command over a 7 day window, which is really hard for Splunk to handle.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302213#M161906</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2020-09-29T19:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to assemble 2 distinct splunk searches into one?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302214#M161907</link>
      <description>&lt;P&gt;hi elliot,&lt;/P&gt;

&lt;P&gt;I'm on now the mistake comes from the fact that I thought at first that the fields name and usb_key were similar but I was wrong when I rectified that I get what I want.&lt;/P&gt;

&lt;P&gt;Thank you for your assistance elliot and that of all those who participated.&lt;/P&gt;

&lt;P&gt;Thank you &lt;BR /&gt;
Amir&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 08:47:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-assemble-2-distinct-splunk-searches-into-one/m-p/302214#M161907</guid>
      <dc:creator>amir_thales</dc:creator>
      <dc:date>2018-04-18T08:47:16Z</dc:date>
    </item>
  </channel>
</rss>

