<?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: Json object key value differences as output in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712812#M240413</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246745"&gt;@vikashumble&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| makeresults &lt;BR /&gt;| eval json1="{\"id\": \"XXXXX\",\"displayName\": \"ANY DISPLAY NAME\",\"createdDateTime\": \"2021-10-05T07:01:58.275401+00:00\",\"modifiedDateTime\": \"2025-02-05T10:30:40.0351794+00:00\",\"state\": \"enabled\",\"conditions\": {\"applications\": {\"includeApplications\": [\"YYYYY\"],\"excludeApplications\": [],\"includeUserActions\": [],\"includeAuthenticationContextClassReferences\": [],\"applicationFilter\": null},\"users\": {\"includeUsers\": [],\"excludeUsers\": [],\"includeGroups\": [\"USERGROUP1\", \"USERGROUP2\"],\"excludeGroups\": [],\"includeRoles\": [],\"excludeRoles\": []},\"userRiskLevels\": [],\"signInRiskLevels\": [],\"clientAppTypes\": [\"all\"],\"servicePrincipalRiskLevels\": []},\"grantControls\": {\"operator\": \"OR\",\"builtInControls\": [\"mfa\"],\"customAuthenticationFactors\": [],\"termsOfUse\": []},\"sessionControls\": {\"cloudAppSecurity\": {\"cloudAppSecurityType\": \"monitor\",\"isEnabled\": true},\"signInFrequency\": {\"value\": 1,\"type\": \"hours\",\"authenticationType\": \"primaryAndSecondaryAuthentication\",\"frequencyInterval\": \"timeBased\",\"isEnabled\": true}}}"&lt;BR /&gt;| eval json2="{\"id\": \"XXXXX\",\"displayName\": \"ANY DISPLAY NAME 1\",\"createdDateTime\": \"2021-10-05T07:01:58.275401+00:00\",\"modifiedDateTime\": \"2025-02-06T10:30:40.0351794+00:00\",\"state\": \"enabled\",\"conditions\": {\"applications\": {\"includeApplications\": [\"YYYYY\"],\"excludeApplications\": [],\"includeUserActions\": [],\"includeAuthenticationContextClassReferences\": [],\"applicationFilter\": null},\"users\": {\"includeUsers\": [],\"excludeUsers\": [],\"includeGroups\": [\"USERGROUP1\", \"USERGROUP2\", \"USERGROUP3\"],\"excludeGroups\": [\"USERGROUP4\"],\"includeRoles\": [],\"excludeRoles\": []},\"userRiskLevels\": [],\"signInRiskLevels\": [],\"clientAppTypes\": [\"all\"],\"servicePrincipalRiskLevels\": []},\"grantControls\": {\"operator\": \"OR\",\"builtInControls\": [\"mfa\"],\"customAuthenticationFactors\": [],\"termsOfUse\": []},\"sessionControls\": {\"cloudAppSecurity\": {\"cloudAppSecurityType\": \"block\",\"isEnabled\": true},\"signInFrequency\": {\"value\": 2,\"type\": \"hours\",\"authenticationType\": \"primaryAndSecondaryAuthentication\",\"frequencyInterval\": \"timeBased\",\"isEnabled\": true}}}"&lt;BR /&gt;| spath input=json1 path="displayName" output=displayName_old&lt;BR /&gt;| spath input=json2 path="displayName" output=displayName_new&lt;BR /&gt;| spath input=json1 path="modifiedDateTime" output=modifiedDateTime_old&lt;BR /&gt;| spath input=json2 path="modifiedDateTime" output=modifiedDateTime_new&lt;BR /&gt;| spath input=json1 path="conditions.users.includeGroups{}" output=includeGroups_old&lt;BR /&gt;| spath input=json2 path="conditions.users.includeGroups{}" output=includeGroups_new&lt;BR /&gt;| spath input=json1 path="conditions.users.excludeGroups{}" output=excludeGroups_old&lt;BR /&gt;| spath input=json2 path="conditions.users.excludeGroups{}" output=excludeGroups_new&lt;BR /&gt;| spath input=json1 path="sessionControls.cloudAppSecurity.cloudAppSecurityType" output=cloudAppSecurityType_old&lt;BR /&gt;| spath input=json2 path="sessionControls.cloudAppSecurity.cloudAppSecurityType" output=cloudAppSecurityType_new&lt;BR /&gt;| spath input=json1 path="sessionControls.signInFrequency.value" output=signInFrequencyValue_old&lt;BR /&gt;| spath input=json2 path="sessionControls.signInFrequency.value" output=signInFrequencyValue_new&lt;BR /&gt;| eval changes=mvappend(&lt;BR /&gt;if(displayName_old!=displayName_new, "displayName, ".displayName_old.", ".displayName_new, null()),&lt;BR /&gt;if(modifiedDateTime_old!=modifiedDateTime_new, "modifiedDateTime, ".modifiedDateTime_old.", ".modifiedDateTime_new, null()),&lt;BR /&gt;if(includeGroups_old!=includeGroups_new, "users.includeGroups, ".includeGroups_old.", ".includeGroups_new, null()),&lt;BR /&gt;if(excludeGroups_old!=excludeGroups_new, "users.excludeGroups, ".excludeGroups_old.", ".excludeGroups_new, null()),&lt;BR /&gt;if(cloudAppSecurityType_old!=cloudAppSecurityType_new, "sessionControls.cloudAppSecurityType, ".cloudAppSecurityType_old.", ".cloudAppSecurityType_new, null()),&lt;BR /&gt;if(signInFrequencyValue_old!=signInFrequencyValue_new, "signInFrequency.value, ".signInFrequencyValue_old.", ".signInFrequencyValue_new, null())&lt;BR /&gt;)&lt;BR /&gt;| mvexpand changes&lt;BR /&gt;| rex field=changes "(?&amp;lt;key&amp;gt;[^,]+), (?&amp;lt;old_value&amp;gt;[^,]+), (?&amp;lt;new_value&amp;gt;.+)"&lt;BR /&gt;| table key, old_value, new_value&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_0-1740746321464.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34752i27E49AE8AFDA4E58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_0-1740746321464.png" alt="kiran_panchavat_0-1740746321464.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2025 12:39:37 GMT</pubDate>
    <dc:creator>kiran_panchavat</dc:creator>
    <dc:date>2025-02-28T12:39:37Z</dc:date>
    <item>
      <title>Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712783#M240402</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a use case where in need to compare two json objects and highlight their key value differences. This is just to ensure that we can let OSC know only about the changes that has been made rather than sending both old and new json as as alert. Is that doable? I tried using foreach, spath, mvexpand but not able to figure out a proper working solution. Any help on this is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Json1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"id": "XXXXX",&lt;BR /&gt;"displayName": "ANY DISPLAY NAME",&lt;BR /&gt;"createdDateTime": "2021-10-05T07:01:58.275401+00:00",&lt;BR /&gt;"modifiedDateTime": "2025-02-05T10:30:40.0351794+00:00",&lt;BR /&gt;"state": "enabled",&lt;BR /&gt;"conditions": {&lt;BR /&gt;"applications": {&lt;BR /&gt;"includeApplications": [&lt;BR /&gt;"YYYYY"&lt;BR /&gt;],&lt;BR /&gt;"excludeApplications": [],&lt;BR /&gt;"includeUserActions": [],&lt;BR /&gt;"includeAuthenticationContextClassReferences": [],&lt;BR /&gt;"applicationFilter": null&lt;BR /&gt;},&lt;BR /&gt;"users": {&lt;BR /&gt;"includeUsers": [],&lt;BR /&gt;"excludeUsers": [],&lt;BR /&gt;"includeGroups": [&lt;BR /&gt;"USERGROUP1",&lt;BR /&gt;"USERGROUP2"&lt;BR /&gt;],&lt;BR /&gt;"excludeGroups": [],&lt;BR /&gt;"includeRoles": [],&lt;BR /&gt;"excludeRoles": []&lt;BR /&gt;},&lt;BR /&gt;"userRiskLevels": [],&lt;BR /&gt;"signInRiskLevels": [],&lt;BR /&gt;"clientAppTypes": [&lt;BR /&gt;"all"&lt;BR /&gt;],&lt;BR /&gt;"servicePrincipalRiskLevels": []&lt;BR /&gt;},&lt;BR /&gt;"grantControls": {&lt;BR /&gt;"operator": "OR",&lt;BR /&gt;"builtInControls": [&lt;BR /&gt;"mfa"&lt;BR /&gt;],&lt;BR /&gt;"customAuthenticationFactors": [],&lt;BR /&gt;"termsOfUse": []&lt;BR /&gt;},&lt;BR /&gt;"sessionControls": {&lt;BR /&gt;"cloudAppSecurity": {&lt;BR /&gt;"cloudAppSecurityType": "monitor",&lt;BR /&gt;"isEnabled": true&lt;BR /&gt;},&lt;BR /&gt;"signInFrequency": {&lt;BR /&gt;"value": 1,&lt;BR /&gt;"type": "hours",&lt;BR /&gt;"authenticationType": "primaryAndSecondaryAuthentication",&lt;BR /&gt;"frequencyInterval": "timeBased",&lt;BR /&gt;"isEnabled": true&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;json2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"id": "XXXXX",&lt;BR /&gt;"displayName": "ANY DISPLAY NAME 1",&lt;BR /&gt;"createdDateTime": "2021-10-05T07:01:58.275401+00:00",&lt;BR /&gt;"modifiedDateTime": "2025-02-06T10:30:40.0351794+00:00",&lt;BR /&gt;"state": "enabled",&lt;BR /&gt;"conditions": {&lt;BR /&gt;"applications": {&lt;BR /&gt;"includeApplications": [&lt;BR /&gt;"YYYYY"&lt;BR /&gt;],&lt;BR /&gt;"excludeApplications": [],&lt;BR /&gt;"includeUserActions": [],&lt;BR /&gt;"includeAuthenticationContextClassReferences": [],&lt;BR /&gt;"applicationFilter": null&lt;BR /&gt;},&lt;BR /&gt;"users": {&lt;BR /&gt;"includeUsers": [],&lt;BR /&gt;"excludeUsers": [],&lt;BR /&gt;"includeGroups": [&lt;BR /&gt;"USERGROUP1",&lt;BR /&gt;"USERGROUP2",&lt;/P&gt;&lt;P&gt;"USERGROUP3"&lt;BR /&gt;],&lt;BR /&gt;"excludeGroups": [&lt;/P&gt;&lt;P&gt;"USERGROUP4"&lt;/P&gt;&lt;P&gt;],&lt;BR /&gt;"includeRoles": [],&lt;BR /&gt;"excludeRoles": []&lt;BR /&gt;},&lt;BR /&gt;"userRiskLevels": [],&lt;BR /&gt;"signInRiskLevels": [],&lt;BR /&gt;"clientAppTypes": [&lt;BR /&gt;"all"&lt;BR /&gt;],&lt;BR /&gt;"servicePrincipalRiskLevels": []&lt;BR /&gt;},&lt;BR /&gt;"grantControls": {&lt;BR /&gt;"operator": "OR",&lt;BR /&gt;"builtInControls": [&lt;BR /&gt;"mfa"&lt;BR /&gt;],&lt;BR /&gt;"customAuthenticationFactors": [],&lt;BR /&gt;"termsOfUse": []&lt;BR /&gt;},&lt;BR /&gt;"sessionControls": {&lt;BR /&gt;"cloudAppSecurity": {&lt;BR /&gt;"cloudAppSecurityType": "block",&lt;BR /&gt;"isEnabled": true&lt;BR /&gt;},&lt;BR /&gt;"signInFrequency": {&lt;BR /&gt;"value": 2,&lt;BR /&gt;"type": "hours",&lt;BR /&gt;"authenticationType": "primaryAndSecondaryAuthentication",&lt;BR /&gt;"frequencyInterval": "timeBased",&lt;BR /&gt;"isEnabled": true&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output expected (Based on above sample jsons):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;KeyName , Old Value, New Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;displayName,&amp;nbsp;"ANY DISPLAY NAME",&amp;nbsp;"ANY DISPLAY NAME 1"&lt;/P&gt;&lt;P&gt;modifiedDateTime,&amp;nbsp;"2025-02-05T10:30:40.0351794+00:00",&amp;nbsp;"2025-02-06T10:30:40.0351794+00:00"&lt;/P&gt;&lt;P&gt;users."includeGroups",&amp;nbsp;["USERGROUP1","USERGROUP2"],&amp;nbsp;["USERGROUP1","USERGROUP2", "USERGROUP3"]&lt;/P&gt;&lt;P&gt;"excludeGroups",[],["USERGROUP4"]&lt;/P&gt;&lt;P&gt;sessionControls."cloudAppSecurityType","moitor","block"&lt;/P&gt;&lt;P&gt;signInFrequency."value",1,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 09:57:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712783#M240402</guid>
      <dc:creator>vikashumble</dc:creator>
      <dc:date>2025-02-28T09:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712791#M240406</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246745"&gt;@vikashumble&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this solution on another question might work for you, instead of me copying it over, check out&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-find-and-show-unique-and-missing-keys-between-two-JSON/m-p/675785" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-find-and-show-unique-and-missing-keys-between-two-JSON/m-p/675785&lt;/A&gt;&amp;nbsp;so you can get the full context.&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 11:03:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712791#M240406</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-28T11:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712797#M240409</link>
      <description>&lt;P&gt;Assuming your fields have already been extracted, try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| transpose 0 column_name="KeyName"
| rename "row 1" as OldValue, "row 2" as NewValue
| eval diff=if(OldValue!=NewValue,1,null())
| where diff=1&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 28 Feb 2025 11:31:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712797#M240409</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-02-28T11:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712810#M240412</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;, Can you please guide me a bit more on what you meant may be by a simpler example? It would help a lot. Also I forgot to mention that it is coming from the same event&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 12:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712810#M240412</guid>
      <dc:creator>vikashumble</dc:creator>
      <dc:date>2025-02-28T12:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712812#M240413</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246745"&gt;@vikashumble&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| makeresults &lt;BR /&gt;| eval json1="{\"id\": \"XXXXX\",\"displayName\": \"ANY DISPLAY NAME\",\"createdDateTime\": \"2021-10-05T07:01:58.275401+00:00\",\"modifiedDateTime\": \"2025-02-05T10:30:40.0351794+00:00\",\"state\": \"enabled\",\"conditions\": {\"applications\": {\"includeApplications\": [\"YYYYY\"],\"excludeApplications\": [],\"includeUserActions\": [],\"includeAuthenticationContextClassReferences\": [],\"applicationFilter\": null},\"users\": {\"includeUsers\": [],\"excludeUsers\": [],\"includeGroups\": [\"USERGROUP1\", \"USERGROUP2\"],\"excludeGroups\": [],\"includeRoles\": [],\"excludeRoles\": []},\"userRiskLevels\": [],\"signInRiskLevels\": [],\"clientAppTypes\": [\"all\"],\"servicePrincipalRiskLevels\": []},\"grantControls\": {\"operator\": \"OR\",\"builtInControls\": [\"mfa\"],\"customAuthenticationFactors\": [],\"termsOfUse\": []},\"sessionControls\": {\"cloudAppSecurity\": {\"cloudAppSecurityType\": \"monitor\",\"isEnabled\": true},\"signInFrequency\": {\"value\": 1,\"type\": \"hours\",\"authenticationType\": \"primaryAndSecondaryAuthentication\",\"frequencyInterval\": \"timeBased\",\"isEnabled\": true}}}"&lt;BR /&gt;| eval json2="{\"id\": \"XXXXX\",\"displayName\": \"ANY DISPLAY NAME 1\",\"createdDateTime\": \"2021-10-05T07:01:58.275401+00:00\",\"modifiedDateTime\": \"2025-02-06T10:30:40.0351794+00:00\",\"state\": \"enabled\",\"conditions\": {\"applications\": {\"includeApplications\": [\"YYYYY\"],\"excludeApplications\": [],\"includeUserActions\": [],\"includeAuthenticationContextClassReferences\": [],\"applicationFilter\": null},\"users\": {\"includeUsers\": [],\"excludeUsers\": [],\"includeGroups\": [\"USERGROUP1\", \"USERGROUP2\", \"USERGROUP3\"],\"excludeGroups\": [\"USERGROUP4\"],\"includeRoles\": [],\"excludeRoles\": []},\"userRiskLevels\": [],\"signInRiskLevels\": [],\"clientAppTypes\": [\"all\"],\"servicePrincipalRiskLevels\": []},\"grantControls\": {\"operator\": \"OR\",\"builtInControls\": [\"mfa\"],\"customAuthenticationFactors\": [],\"termsOfUse\": []},\"sessionControls\": {\"cloudAppSecurity\": {\"cloudAppSecurityType\": \"block\",\"isEnabled\": true},\"signInFrequency\": {\"value\": 2,\"type\": \"hours\",\"authenticationType\": \"primaryAndSecondaryAuthentication\",\"frequencyInterval\": \"timeBased\",\"isEnabled\": true}}}"&lt;BR /&gt;| spath input=json1 path="displayName" output=displayName_old&lt;BR /&gt;| spath input=json2 path="displayName" output=displayName_new&lt;BR /&gt;| spath input=json1 path="modifiedDateTime" output=modifiedDateTime_old&lt;BR /&gt;| spath input=json2 path="modifiedDateTime" output=modifiedDateTime_new&lt;BR /&gt;| spath input=json1 path="conditions.users.includeGroups{}" output=includeGroups_old&lt;BR /&gt;| spath input=json2 path="conditions.users.includeGroups{}" output=includeGroups_new&lt;BR /&gt;| spath input=json1 path="conditions.users.excludeGroups{}" output=excludeGroups_old&lt;BR /&gt;| spath input=json2 path="conditions.users.excludeGroups{}" output=excludeGroups_new&lt;BR /&gt;| spath input=json1 path="sessionControls.cloudAppSecurity.cloudAppSecurityType" output=cloudAppSecurityType_old&lt;BR /&gt;| spath input=json2 path="sessionControls.cloudAppSecurity.cloudAppSecurityType" output=cloudAppSecurityType_new&lt;BR /&gt;| spath input=json1 path="sessionControls.signInFrequency.value" output=signInFrequencyValue_old&lt;BR /&gt;| spath input=json2 path="sessionControls.signInFrequency.value" output=signInFrequencyValue_new&lt;BR /&gt;| eval changes=mvappend(&lt;BR /&gt;if(displayName_old!=displayName_new, "displayName, ".displayName_old.", ".displayName_new, null()),&lt;BR /&gt;if(modifiedDateTime_old!=modifiedDateTime_new, "modifiedDateTime, ".modifiedDateTime_old.", ".modifiedDateTime_new, null()),&lt;BR /&gt;if(includeGroups_old!=includeGroups_new, "users.includeGroups, ".includeGroups_old.", ".includeGroups_new, null()),&lt;BR /&gt;if(excludeGroups_old!=excludeGroups_new, "users.excludeGroups, ".excludeGroups_old.", ".excludeGroups_new, null()),&lt;BR /&gt;if(cloudAppSecurityType_old!=cloudAppSecurityType_new, "sessionControls.cloudAppSecurityType, ".cloudAppSecurityType_old.", ".cloudAppSecurityType_new, null()),&lt;BR /&gt;if(signInFrequencyValue_old!=signInFrequencyValue_new, "signInFrequency.value, ".signInFrequencyValue_old.", ".signInFrequencyValue_new, null())&lt;BR /&gt;)&lt;BR /&gt;| mvexpand changes&lt;BR /&gt;| rex field=changes "(?&amp;lt;key&amp;gt;[^,]+), (?&amp;lt;old_value&amp;gt;[^,]+), (?&amp;lt;new_value&amp;gt;.+)"&lt;BR /&gt;| table key, old_value, new_value&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_0-1740746321464.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34752i27E49AE8AFDA4E58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_0-1740746321464.png" alt="kiran_panchavat_0-1740746321464.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 12:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712812#M240413</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-02-28T12:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712813#M240414</link>
      <description>&lt;P&gt;Please post your raw event in a code block using the &amp;lt;/&amp;gt; button so we can see what you are dealing with and be able to provide further guidance.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 12:40:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712813#M240414</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-02-28T12:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712814#M240415</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264857"&gt;@kiran_panchavat&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does work if I the changed values are only in the fields I deleberatley changed values from. In other words, displayName, modifiedDateTime etc. BUt what I am looking for is if values are changed in any of this json object (say some events have changed values in id or something else). I think that would not be captured by your query (I have tested that). Hence I cannot accept this as a solution as of now&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 12:46:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712814#M240415</guid>
      <dc:creator>vikashumble</dc:creator>
      <dc:date>2025-02-28T12:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712815#M240416</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246745"&gt;@vikashumble&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know how you get on with the link I posted in my previous reply, or the suggestion from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;and then we can help tweak from there depending on the results &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider adding karma to this or any other answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:00:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712815#M240416</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-28T13:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712816#M240417</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;, below is the sample event. I am looking to compare "targetResources.modifiedProperties.oldValue" VS&amp;nbsp;"targetResources.modifiedProperties.newValue". And if there are differences, then output the keyname, old value and new value. Hope this makes sense and apologies for confusion before&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
	"id": "XXXXXX",
	"category": "ABCD",
	"correlationId": "exxxxxx0",
	"result": "success",
	"resultReason": null,
	"activityDisplayName": "update something",
	"activityDateTime": "2025-02-13T10:00:54.007809Z",
	"loggedByService": "XXXX",
	"operationType": "Update",
	"targetResources": [
		{
			"id": "XXXX",
			"displayName": "DISPLAYNAME",
			"type": "ABCD",
			"userPrincipalName": null,
			"groupType": null,
			"modifiedProperties": [
				{
					"displayName": "abcd",
					"oldValue": "{\"id\":\"1234\",\"displayName\":\"ANY DISPLAY NAME\",\"createdDateTime\":\"2022-10-05T10:01:58.275401+00:00\",\"modifiedDateTime\":\"2025-02-05T10:30:40.0351794+00:00\",\"state\":\"enabled\",\"conditions\":{\"applications\":{\"includeApplications\":[\"YYYY\"],\"excludeApplications\":[],\"includeUserActions\":[\"USERACTION1\"],\"includeAuthenticationContextClassReferences\":[],\"applicationFilter\":null},\"users\":{\"includeUsers\":[],\"excludeUsers\":[],\"includeGroups\":[\"USERGROUP1\",\"USERGROUP2\"],\"excludeGroups\":[],\"includeRoles\":[],\"excludeRoles\":[]},\"userRiskLevels\":[],\"signInRiskLevels\":[],\"clientAppTypes\":[\"all\"],\"servicePrincipalRiskLevels\":[]},\"grantControls\":{\"operator\":\"OR\",\"builtInControls\":[\"mfa\"],\"customAuthenticationFactors\":[],\"termsOfUse\":[]},\"sessionControls\":{\"cloudAppSecurity\":{\"cloudAppSecurityType\":\"monitorOnly\",\"isEnabled\":true},\"signInFrequency\":{\"value\":2,\"type\":\"hours\",\"authenticationType\":\"primaryAndSecondaryAuthentication\",\"frequencyInterval\":\"timeBased\",\"isEnabled\":true}}}",
					"newValue": "{\"id\":\"12345\",\"displayName\":\"ANY DISPLAY NAME 1\",\"createdDateTime\":\"2022-10-05T10:01:58.275401+00:00\",\"modifiedDateTime\":\"2025-02-06T10:30:40.0351794+00:00\",\"state\":\"enabled\",\"conditions\":{\"applications\":{\"includeApplications\":[\"AABB\"],\"excludeApplications\":[],\"includeUserActions\":[],\"includeAuthenticationContextClassReferences\":[],\"applicationFilter\":null},\"users\":{\"includeUsers\":[\"All\"],\"excludeUsers\":[],\"includeGroups\":[],\"excludeGroups\":[],\"includeRoles\":[],\"excludeRoles\":[]},\"userRiskLevels\":[],\"signInRiskLevels\":[],\"clientAppTypes\":[\"all\"],\"servicePrincipalRiskLevels\":[]},\"grantControls\":{\"operator\":\"OR\",\"builtInControls\":[\"mfa\"],\"customAuthenticationFactors\":[],\"termsOfUse\":[]},\"sessionControls\":{\"cloudAppSecurity\":{\"cloudAppSecurityType\":\"monitorOnly\",\"isEnabled\":true},\"signInFrequency\":{\"value\":1,\"type\":\"hours\",\"authenticationType\":\"primaryAndSecondaryAuthentication\",\"frequencyInterval\":\"timeBased\",\"isEnabled\":true}}}"
				}
			]
		}
	],
	"additionalDetails": [
		{
			"key": "Category",
			"value": "ANY CATEGORY"
		}
	]
}@&amp;nbsp;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:08:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712816#M240417</guid>
      <dc:creator>vikashumble</dc:creator>
      <dc:date>2025-02-28T13:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712818#M240418</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying the solutions on the link provided by you. They are not working as it is as they compare the key rather than values and I am looking to compare the values and get the differences. I am trying to tweak them to see how can I do that. And yes, once I have the solution, I will add karma points and accept a solution as an answer. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:18:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712818#M240418</guid>
      <dc:creator>vikashumble</dc:creator>
      <dc:date>2025-02-28T13:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712827#M240423</link>
      <description>&lt;P&gt;Try something along these lines&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults format=json data="[{
	\"id\": \"XXXXXX\",
	\"category\": \"ABCD\",
	\"correlationId\": \"exxxxxx0\",
	\"result\": \"success\",
	\"resultReason\": null,
	\"activityDisplayName\": \"update something\",
	\"activityDateTime\": \"2025-02-13T10:00:54.007809Z\",
	\"loggedByService\": \"XXXX\",
	\"operationType\": \"Update\",
	\"targetResources\": [
		{
			\"id\": \"XXXX\",
			\"displayName\": \"DISPLAYNAME\",
			\"type\": \"ABCD\",
			\"userPrincipalName\": null,
			\"groupType\": null,
			\"modifiedProperties\": [
				{
					\"displayName\": \"abcd\",
					\"oldValue\": \"{\\\"id\\\":\\\"1234\\\",\\\"displayName\\\":\\\"ANY DISPLAY NAME\\\",\\\"createdDateTime\\\":\\\"2022-10-05T10:01:58.275401+00:00\\\",\\\"modifiedDateTime\\\":\\\"2025-02-05T10:30:40.0351794+00:00\\\",\\\"state\\\":\\\"enabled\\\",\\\"conditions\\\":{\\\"applications\\\":{\\\"includeApplications\\\":[\\\"YYYY\\\"],\\\"excludeApplications\\\":[],\\\"includeUserActions\\\":[\\\"USERACTION1\\\"],\\\"includeAuthenticationContextClassReferences\\\":[],\\\"applicationFilter\\\":null},\\\"users\\\":{\\\"includeUsers\\\":[],\\\"excludeUsers\\\":[],\\\"includeGroups\\\":[\\\"USERGROUP1\\\",\\\"USERGROUP2\\\"],\\\"excludeGroups\\\":[],\\\"includeRoles\\\":[],\\\"excludeRoles\\\":[]},\\\"userRiskLevels\\\":[],\\\"signInRiskLevels\\\":[],\\\"clientAppTypes\\\":[\\\"all\\\"],\\\"servicePrincipalRiskLevels\\\":[]},\\\"grantControls\\\":{\\\"operator\\\":\\\"OR\\\",\\\"builtInControls\\\":[\\\"mfa\\\"],\\\"customAuthenticationFactors\\\":[],\\\"termsOfUse\\\":[]},\\\"sessionControls\\\":{\\\"cloudAppSecurity\\\":{\\\"cloudAppSecurityType\\\":\\\"monitorOnly\\\",\\\"isEnabled\\\":true},\\\"signInFrequency\\\":{\\\"value\\\":2,\\\"type\\\":\\\"hours\\\",\\\"authenticationType\\\":\\\"primaryAndSecondaryAuthentication\\\",\\\"frequencyInterval\\\":\\\"timeBased\\\",\\\"isEnabled\\\":true}}}\",
					\"newValue\": \"{\\\"id\\\":\\\"12345\\\",\\\"displayName\\\":\\\"ANY DISPLAY NAME 1\\\",\\\"createdDateTime\\\":\\\"2022-10-05T10:01:58.275401+00:00\\\",\\\"modifiedDateTime\\\":\\\"2025-02-06T10:30:40.0351794+00:00\\\",\\\"state\\\":\\\"enabled\\\",\\\"conditions\\\":{\\\"applications\\\":{\\\"includeApplications\\\":[\\\"AABB\\\"],\\\"excludeApplications\\\":[],\\\"includeUserActions\\\":[],\\\"includeAuthenticationContextClassReferences\\\":[],\\\"applicationFilter\\\":null},\\\"users\\\":{\\\"includeUsers\\\":[\\\"All\\\"],\\\"excludeUsers\\\":[],\\\"includeGroups\\\":[],\\\"excludeGroups\\\":[],\\\"includeRoles\\\":[],\\\"excludeRoles\\\":[]},\\\"userRiskLevels\\\":[],\\\"signInRiskLevels\\\":[],\\\"clientAppTypes\\\":[\\\"all\\\"],\\\"servicePrincipalRiskLevels\\\":[]},\\\"grantControls\\\":{\\\"operator\\\":\\\"OR\\\",\\\"builtInControls\\\":[\\\"mfa\\\"],\\\"customAuthenticationFactors\\\":[],\\\"termsOfUse\\\":[]},\\\"sessionControls\\\":{\\\"cloudAppSecurity\\\":{\\\"cloudAppSecurityType\\\":\\\"monitorOnly\\\",\\\"isEnabled\\\":true},\\\"signInFrequency\\\":{\\\"value\\\":1,\\\"type\\\":\\\"hours\\\",\\\"authenticationType\\\":\\\"primaryAndSecondaryAuthentication\\\",\\\"frequencyInterval\\\":\\\"timeBased\\\",\\\"isEnabled\\\":true}}}\"
				}
			]
		}
	],
	\"additionalDetails\": [
		{
			\"key\": \"Category\",
			\"value\": \"ANY CATEGORY\"
		}
	]
}]" 
| fields _raw 
| spath targetResources{}.modifiedProperties{} output=modifiedProperties
| fields - _raw
| spath input=modifiedProperties
| eval newValueString="{\"newValueObject\":".newValue."]"
| spath input=newValueString
| foreach newValueObject.*
    [| eval _value=json_extract(oldValue,"&amp;lt;&amp;lt;MATCHSTR&amp;gt;&amp;gt;")
    | eval _KeyName=if('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'=_value,null(),"&amp;lt;&amp;lt;MATCHSTR&amp;gt;&amp;gt;")
    | eval mismatch=if(isnotnull(_KeyName),if(isnotnull(mismatch),mvappend(mismatch,_KeyName."|"._value."|".'&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'),_KeyName."|"._value."|".'&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'),mismatch)]
| fields - newValueObject.* newValueString _value _KeyName&lt;/LI-CODE&gt;&lt;P&gt;You should end up with a multi-value field with pipe delimited values for key, old value, new value&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 14:41:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/712827#M240423</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-02-28T14:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Json object key value differences as output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/740475#M240440</link>
      <description>&lt;P&gt;Thank you for illustrating the use case clearly with sample data, logic, and expected result from sample. &amp;nbsp;But you also want to specify if Json1 and json2 are in the same row/event. &amp;nbsp;Here is a solution if they are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| table Json1 json2
| transpose 0 column_name=name
| spath input="row 1"

| fields - "row 1"
| foreach *{}
    [eval &amp;lt;&amp;lt;MATCHSTR&amp;gt;&amp;gt;_array = mv_to_json_array('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;')]
| fillnull value=null
| fields - *{}
| stats list(*) as *
| foreach *
    [eval "&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;" = if(mvcount(mvdedup('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;')) &amp;lt; 2, null(), '&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;')]

| transpose 0 column_name=KeyName
| search "row 1" = *
| eval KeyName = if(KeyName LIKE "%_array", replace(KeyName, "_array$", "{}"), KeyName)
| eval "Old Value" = mvindex('row 1', 0), "New Value" = mvindex('row 1', 1)
| fields - "row 1"
| foreach *Value
    [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt; = if('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;' != "null", '&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;',
    if(KeyName LIKE "%{}", "[]", null()))]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an emulation you can play with and compare with real data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| fields - _time
| eval Json1 = "{
\"id\": \"XXXXX\",
\"displayName\": \"ANY DISPLAY NAME\",
\"createdDateTime\": \"2021-10-05T07:01:58.275401+00:00\",
\"modifiedDateTime\": \"2025-02-05T10:30:40.0351794+00:00\",
\"state\": \"enabled\",
\"conditions\": {
\"applications\": {
\"includeApplications\": [
\"YYYYY\"
],
\"excludeApplications\": [],
\"includeUserActions\": [],
\"includeAuthenticationContextClassReferences\": [],
\"applicationFilter\": null
},
\"users\": {
\"includeUsers\": [],
\"excludeUsers\": [],
\"includeGroups\": [
\"USERGROUP1\",
\"USERGROUP2\"
],
\"excludeGroups\": [],
\"includeRoles\": [],
\"excludeRoles\": []
},
\"userRiskLevels\": [],
\"signInRiskLevels\": [],
\"clientAppTypes\": [
\"all\"
],
\"servicePrincipalRiskLevels\": []
},
\"grantControls\": {
\"operator\": \"OR\",
\"builtInControls\": [
\"mfa\"
],
\"customAuthenticationFactors\": [],
\"termsOfUse\": []
},
\"sessionControls\": {
\"cloudAppSecurity\": {
\"cloudAppSecurityType\": \"monitor\",
\"isEnabled\": true
},
\"signInFrequency\": {
\"value\": 1,
\"type\": \"hours\",
\"authenticationType\": \"primaryAndSecondaryAuthentication\",
\"frequencyInterval\": \"timeBased\",
\"isEnabled\": true
}
}
}",
json2 = "{
\"id\": \"XXXXX\",
\"displayName\": \"ANY DISPLAY NAME 1\",
\"createdDateTime\": \"2021-10-05T07:01:58.275401+00:00\",
\"modifiedDateTime\": \"2025-02-06T10:30:40.0351794+00:00\",
\"state\": \"enabled\",
\"conditions\": {
\"applications\": {
\"includeApplications\": [
\"YYYYY\"
],
\"excludeApplications\": [],
\"includeUserActions\": [],
\"includeAuthenticationContextClassReferences\": [],
\"applicationFilter\": null
},
\"users\": {
\"includeUsers\": [],
\"excludeUsers\": [],
\"includeGroups\": [
\"USERGROUP1\",
\"USERGROUP2\",

\"USERGROUP3\"
],
\"excludeGroups\": [

\"USERGROUP4\"

],
\"includeRoles\": [],
\"excludeRoles\": []
},
\"userRiskLevels\": [],
\"signInRiskLevels\": [],
\"clientAppTypes\": [
\"all\"
],
\"servicePrincipalRiskLevels\": []
},
\"grantControls\": {
\"operator\": \"OR\",
\"builtInControls\": [
\"mfa\"
],
\"customAuthenticationFactors\": [],
\"termsOfUse\": []
},
\"sessionControls\": {
\"cloudAppSecurity\": {
\"cloudAppSecurityType\": \"block\",
\"isEnabled\": true
},
\"signInFrequency\": {
\"value\": 2,
\"type\": \"hours\",
\"authenticationType\": \"primaryAndSecondaryAuthentication\",
\"frequencyInterval\": \"timeBased\",
\"isEnabled\": true
}
}
}"
``` data emulation above ```&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above search gives&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;KeyName&lt;/TD&gt;&lt;TD&gt;New Value&lt;/TD&gt;&lt;TD&gt;Old Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;conditions.users.excludeGroups{}&lt;/TD&gt;&lt;TD&gt;["USERGROUP4"]&lt;/TD&gt;&lt;TD&gt;[]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;conditions.users.includeGroups{}&lt;/TD&gt;&lt;TD&gt;["USERGROUP1","USERGROUP2","USERGROUP3"]&lt;/TD&gt;&lt;TD&gt;["USERGROUP1","USERGROUP2"]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;displayName&lt;/TD&gt;&lt;TD&gt;ANY DISPLAY NAME 1&lt;/TD&gt;&lt;TD&gt;ANY DISPLAY NAME&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;modifiedDateTime&lt;/TD&gt;&lt;TD&gt;2025-02-06T10:30:40.0351794+00:00&lt;/TD&gt;&lt;TD&gt;2025-02-05T10:30:40.0351794+00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;name&lt;/TD&gt;&lt;TD&gt;json2&lt;/TD&gt;&lt;TD&gt;Json1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;sessionControls.cloudAppSecurity.cloudAppSecurityType&lt;/TD&gt;&lt;TD&gt;block&lt;/TD&gt;&lt;TD&gt;monitor&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;sessionControls.signInFrequency.value&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;UL&gt;&lt;LI&gt;For the life of me I cannot figure where does ModifiedDateTime differ. &amp;nbsp;They look identical to me.&lt;/LI&gt;&lt;LI&gt;We can go more semantic with SPL but as you want the {} notation intact, this is perhaps the most direct.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 02 Mar 2025 00:34:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Json-object-key-value-differences-as-output/m-p/740475#M240440</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2025-03-02T00:34:28Z</dc:date>
    </item>
  </channel>
</rss>

