<?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: Splunk Search does now show expected results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259650#M77843</link>
    <description>&lt;P&gt;Hi your right the text I posted did not contain the information. I think there was a copy/paste  issue.&lt;/P&gt;

&lt;P&gt;Because the event I expect to have on my list has this data:&lt;/P&gt;

&lt;P&gt;12:13:49|INFO|internals.py|147| [deploy_status] deploy_status_type=info direction=exiting method=execute_package file=deploy_profile.py engine_type=was method_duration=562156&lt;/P&gt;

&lt;P&gt;And the method field is in the text.  But it just not in my result set.&lt;/P&gt;

&lt;P&gt;And the text from a event that IS shown&lt;/P&gt;

&lt;P&gt;12:54:03|INFO|internals.py|147| [deploy_status] deploy_status_type=info direction=exiting method=execute_package file=deploy_profile.py engine_type=was method_duration=1024765&lt;/P&gt;

&lt;P&gt;My timerange of my serach it only 1 hour on a specific date so I know that the event I except is there&lt;/P&gt;

&lt;P&gt;I can get the event in my result by writing :&lt;/P&gt;

&lt;P&gt;index=bec_ci_prod  SWIFT-TEST-RMA-AskProfileDeploySwitch  ("deploy_status_type=info" AND "direction=exiting" AND  "method=execute_package")&lt;/P&gt;

&lt;P&gt;But I need the search string to look something  like this: &lt;/P&gt;

&lt;P&gt;index=bec_ci_prod  ("deploy_status_type=info" AND "direction=exiting" AND  "method=execute_package")&lt;/P&gt;

&lt;P&gt;This text: SWIFT-TEST-RMA-AskProfileDeploySwitch  is different for most events&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:54:21 GMT</pubDate>
    <dc:creator>hsh</dc:creator>
    <dc:date>2020-09-29T10:54:21Z</dc:date>
    <item>
      <title>Splunk Search does now show expected results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259645#M77838</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have a specific event massage  that I'm trying to search for.&lt;/P&gt;

&lt;P&gt;Now my ideal seach string looks like this: &lt;/P&gt;

&lt;P&gt;index=bec_ci_prod deploy_status_type=info direction=exiting method=execute_package &lt;/P&gt;

&lt;P&gt;Now this search string does not give me a result.&lt;/P&gt;

&lt;P&gt;But if I remove the last token from the serach like this:&lt;/P&gt;

&lt;P&gt;index=bec_ci_prod deploy_status_type=info direction=exiting&lt;/P&gt;

&lt;P&gt;Then I get a result&lt;/P&gt;

&lt;P&gt;I know the event data is their because I can search specifically for it.&lt;/P&gt;

&lt;P&gt;The text that contain what im looking for looks like this:&lt;/P&gt;

&lt;P&gt;12:13:49|INFO|internals.py|147| [deploy_status] deploy_status_type=info direction=exiting method=execute_package file=deploy_profile.py engine_type=was method_duration=562156&lt;/P&gt;

&lt;P&gt;Any ideas of how to do a search that would show this ?&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;BR /&gt;
Henrik&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:50:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259645#M77838</guid>
      <dc:creator>hsh</dc:creator>
      <dc:date>2020-09-29T10:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does now show expected results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259646#M77839</link>
      <description>&lt;P&gt;I have a feeling your fields arent being extracted properly. What do you get if you do the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=bec_ci_prod deploy_status_type=info direction=exiting  | table deploy_status_type direction method 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Do you have any values for method? If not you need to work on your field extractions...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 08:01:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259646#M77839</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2016-09-07T08:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does now show expected results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259647#M77840</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I think I need to clarify the search string :  index=bec_ci_prod deploy_status_type=info direction=exiting method=execute_package &lt;/P&gt;

&lt;P&gt;Does return a result however there is a certain event that should fit this search criteria, but its not in the search result.&lt;/P&gt;

&lt;P&gt;This is the text from an event that is in the result:&lt;/P&gt;

&lt;P&gt;09:46:15|INFO|internals.py|147| [deploy_status]  deploy_status_type=info direction=exiting method=execute_package file=deploy_profile.py engine_type=http method_duration=48977&lt;/P&gt;

&lt;P&gt;Now this is the text from the event that is NOT in the result:&lt;/P&gt;

&lt;P&gt;12:13:49|INFO|internals.py|147| [deploy_status]  file=deploy_profile.py engine_type=was method_duration=562156&lt;/P&gt;

&lt;P&gt;I have a Unique search string that does return the specific event that should be in the result.&lt;/P&gt;

&lt;P&gt;This string return the event:&lt;BR /&gt;
index=bec_ci_prod SWIFT-TEST-RMA-AskProfileDeploySwitch deploy_status_type=info direction=exiting&lt;/P&gt;

&lt;P&gt;This string does not:&lt;BR /&gt;
index=bec_ci_prod SWIFT-TEST-RMA-AskProfileDeploySwitch deploy_status_type=info direction=exiting method=execute_package&lt;/P&gt;

&lt;P&gt;I have no idea way this is &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:50:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259647#M77840</guid>
      <dc:creator>hsh</dc:creator>
      <dc:date>2020-09-29T10:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does now show expected results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259648#M77841</link>
      <description>&lt;P&gt;Ok part of the issue is when you add terms in the form of &lt;STRONG&gt;a=b&lt;/STRONG&gt;, Splunk is looking for Key Value Pairs. KV pairs have to be extracted. Try either extracting those Key Value Pairs, or running a literal search by enclosing the terms in quotes.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=bec_ci_prod SWIFT-TEST-RMA-AskProfileDeploySwitch AND  ("deploy_status_type=info" AND "direction=exiting" AND  "method=execute_package")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Sep 2016 13:07:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259648#M77841</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2016-09-07T13:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does now show expected results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259649#M77842</link>
      <description>&lt;P&gt;Your search terms are implicitly combined using a boolean AND operation. Any events that do not have a method field will consequentially not qualify for your result set.&lt;BR /&gt;
In other words: You are explicitly looking for method=execute_package but that key/value pair is not present in the log event you have listed as not showing up. So, the results are as expected. &lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 18:47:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259649#M77842</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2016-09-07T18:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does now show expected results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259650#M77843</link>
      <description>&lt;P&gt;Hi your right the text I posted did not contain the information. I think there was a copy/paste  issue.&lt;/P&gt;

&lt;P&gt;Because the event I expect to have on my list has this data:&lt;/P&gt;

&lt;P&gt;12:13:49|INFO|internals.py|147| [deploy_status] deploy_status_type=info direction=exiting method=execute_package file=deploy_profile.py engine_type=was method_duration=562156&lt;/P&gt;

&lt;P&gt;And the method field is in the text.  But it just not in my result set.&lt;/P&gt;

&lt;P&gt;And the text from a event that IS shown&lt;/P&gt;

&lt;P&gt;12:54:03|INFO|internals.py|147| [deploy_status] deploy_status_type=info direction=exiting method=execute_package file=deploy_profile.py engine_type=was method_duration=1024765&lt;/P&gt;

&lt;P&gt;My timerange of my serach it only 1 hour on a specific date so I know that the event I except is there&lt;/P&gt;

&lt;P&gt;I can get the event in my result by writing :&lt;/P&gt;

&lt;P&gt;index=bec_ci_prod  SWIFT-TEST-RMA-AskProfileDeploySwitch  ("deploy_status_type=info" AND "direction=exiting" AND  "method=execute_package")&lt;/P&gt;

&lt;P&gt;But I need the search string to look something  like this: &lt;/P&gt;

&lt;P&gt;index=bec_ci_prod  ("deploy_status_type=info" AND "direction=exiting" AND  "method=execute_package")&lt;/P&gt;

&lt;P&gt;This text: SWIFT-TEST-RMA-AskProfileDeploySwitch  is different for most events&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259650#M77843</guid>
      <dc:creator>hsh</dc:creator>
      <dc:date>2020-09-29T10:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does now show expected results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259651#M77844</link>
      <description>&lt;P&gt;Hi I tried modifying the search string as you suggested.&lt;/P&gt;

&lt;P&gt;However this search string:&lt;/P&gt;

&lt;P&gt;index=bec_ci_prod SWIFT-TEST-RMA-AskProfileDeploySwitch AND  ("deploy_status_type=info" AND "direction=exiting" AND  "method=execute_package")&lt;/P&gt;

&lt;P&gt;Is just to verify that the event I want  in my list is actually their. The original search string also return the event:&lt;BR /&gt;
index=bec_ci_prod SWIFT-TEST-RMA-AskProfileDeploySwitch deploy_status_type=info direction=exiting  method=execute_package&lt;/P&gt;

&lt;P&gt;The  goal is to have a search string that looks like this:&lt;/P&gt;

&lt;P&gt;index=bec_ci_prod  ("deploy_status_type=info" AND "direction=exiting" AND  "method=execute_package")&lt;/P&gt;

&lt;P&gt;and that will return a list with all the events with this data in it :&lt;/P&gt;

&lt;P&gt;EVENT1&lt;BR /&gt;
12:51:35|INFO|internals.py|147| [deploy_status]  deploy_status_type=info direction=exiting method=execute_package file=deploy_profile.py engine_type=was method_duration=406745&lt;BR /&gt;
... 81 lines omitted ...&lt;BR /&gt;
source = H:\hudson\jobs\INET-SANDBOX-SERVLETETICKET-AskDeploySwitch\builds\2016-09-06_12-4&lt;/P&gt;

&lt;P&gt;EVENT2&lt;BR /&gt;
12:13:47|INFO|bitvise.py|408| [b00011103134.res.bec.dk] 12:13:47|INFO|install_profile.py|860| DEPLOYMENT OF rma_test was FINISHED! 12:13:49|INFO|internals.py|147| [deploy_status] deploy_status_type=info direction=exiting method=execute_package file=deploy_profile.py engine_type=was method_duration=562156&lt;BR /&gt;
 source = H:\hudson\jobs\SWIFT-TEST-RMA-AskProfileDeploySwitch\builds\2016-09-06_12-02-46\log &lt;/P&gt;

&lt;P&gt;As I can see it the only difference between these two events is the source information. But do not want to use that either&lt;/P&gt;

&lt;P&gt;So in short the search string : index=bec_ci_prod  ("deploy_status_type=info" AND "direction=exiting" AND  "method=execute_package")&lt;/P&gt;

&lt;P&gt;Need to return EVENT1 &amp;amp; EVENT2 but currently only EVENT1 is in my result&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:54:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259651#M77844</guid>
      <dc:creator>hsh</dc:creator>
      <dc:date>2020-09-29T10:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does now show expected results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259652#M77845</link>
      <description>&lt;P&gt;Hi Guys&lt;/P&gt;

&lt;P&gt;Thanks for the Input, the result was that :&lt;/P&gt;

&lt;P&gt;index=bec_ci_prod ("deploy_status_type=info" AND "direction=exiting" AND "method=execute_package")&lt;/P&gt;

&lt;P&gt;Actually do work. It did return the expected result I just missed it the first run throw.&lt;/P&gt;

&lt;P&gt;Thanks a lot for the assist&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:54:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Search-does-now-show-expected-results/m-p/259652#M77845</guid>
      <dc:creator>hsh</dc:creator>
      <dc:date>2020-09-29T10:54:31Z</dc:date>
    </item>
  </channel>
</rss>

