<?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 display the results matching the same fields as another fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590547#M205604</link>
    <description>&lt;P&gt;When you run the query without the &lt;FONT face="courier new,courier"&gt;where &lt;/FONT&gt;clause, can you see any event where&amp;nbsp;&lt;SPAN&gt;actordisplayName is not the same as targetUser?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can think of two reasons why the &lt;FONT face="courier new,courier"&gt;where&lt;/FONT&gt; clause would return no results:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) Every user is changing his own password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) The user names in the two fields are in different formats (with and without domain name, for instance).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Again I ask, Can you share some sanitized results?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 00:12:15 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-03-24T00:12:15Z</dc:date>
    <item>
      <title>How to display the results matching the same fields as another fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590515#M205595</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I was working on a case where i have 2 fields extracted as "actordisplayName" &amp;amp; "targetUser" in the same raw log.&lt;/P&gt;
&lt;P&gt;actordisplayName - who initiated the change,&amp;nbsp;targetUser - to which user it was changed.&lt;/P&gt;
&lt;P&gt;index=something&amp;nbsp; displayMes="User update password"&lt;BR /&gt;| where actordisplayName!= targetUser&lt;BR /&gt;| table _time user, displayMes, actordisplayName, targetUser outcome.result&lt;BR /&gt;&lt;STRONG&gt;Running this for 30 days&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Requirement: I need to search only for users where&amp;nbsp;actordisplayName &amp;amp;&amp;nbsp;targetUser is not same.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Eg: I want only the results for my admin/someone who has done password reset for me&lt;/STRONG&gt;, I don't want the results for me resetting the passwords for my account. In short i need results for where&amp;nbsp;&lt;STRONG&gt;actordisplayName &amp;amp;&amp;nbsp;targetUser &lt;/STRONG&gt;is not same.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 18:02:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590515#M205595</guid>
      <dc:creator>ChethanNP</dc:creator>
      <dc:date>2022-03-23T18:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the results matching the same fields as another fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590523#M205596</link>
      <description>&lt;P&gt;How is that query failing to meet the requirements?&amp;nbsp; Can you share some sanitized results?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 18:58:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590523#M205596</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-03-23T18:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the results matching the same fields as another fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590526#M205598</link>
      <description>&lt;P&gt;I don't see any results when i use "&lt;SPAN&gt;| where actordisplayName!= targetUser&lt;/SPAN&gt;", maybe because some or other day between 30 days the&amp;nbsp;&lt;SPAN&gt;actordisplayName would be the targetUser.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 19:12:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590526#M205598</guid>
      <dc:creator>ChethanNP</dc:creator>
      <dc:date>2022-03-23T19:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the results matching the same fields as another fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590528#M205600</link>
      <description>&lt;P&gt;Your query is not doing any summarization, so it should be fetching all rows where password has changed and your query should work just fine. Just remove the where clause and see if you can manually find a record where they're different.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 19:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590528#M205600</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-03-23T19:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the results matching the same fields as another fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590534#M205602</link>
      <description>&lt;P&gt;yes, I did find the results using&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=something  displayMes="User update password"
| table _time user, displayMes, actordisplayName, targetUser outcome.result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;that is why i wanted to remove where&amp;nbsp;actordisplayName!=targetUser &amp;amp; see but that's not working.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 20:54:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590534#M205602</guid>
      <dc:creator>ChethanNP</dc:creator>
      <dc:date>2022-03-23T20:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the results matching the same fields as another fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590547#M205604</link>
      <description>&lt;P&gt;When you run the query without the &lt;FONT face="courier new,courier"&gt;where &lt;/FONT&gt;clause, can you see any event where&amp;nbsp;&lt;SPAN&gt;actordisplayName is not the same as targetUser?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can think of two reasons why the &lt;FONT face="courier new,courier"&gt;where&lt;/FONT&gt; clause would return no results:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) Every user is changing his own password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) The user names in the two fields are in different formats (with and without domain name, for instance).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Again I ask, Can you share some sanitized results?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 00:12:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590547#M205604</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-03-24T00:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the results matching the same fields as another fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590648#M205643</link>
      <description>&lt;P&gt;Fixed!&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;P&gt;Resolution:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=something  displayMes="User update password"
| where 'actordisplayName'!='targetUser'
| table _time user, displayMes, actordisplayName, targetUser outcome.result&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 24 Mar 2022 11:49:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-the-results-matching-the-same-fields-as-another/m-p/590648#M205643</guid>
      <dc:creator>ChethanNP</dc:creator>
      <dc:date>2022-03-24T11:49:42Z</dc:date>
    </item>
  </channel>
</rss>

