<?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 show two json response in single field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682733#M233237</link>
    <description>&lt;P&gt;The fields are probably multivalue fields for some of your transactions which is why the eval is not working. You should probably start again with your events and work out how to break them up into separate parts so that you can create the composite id, in other words, to get where you want to be, don't start from where you are, you need to go back some steps.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 12:41:54 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-04-02T12:41:54Z</dc:date>
    <item>
      <title>How to show two json response in single field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682639#M233198</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I want to show two field values into single column in a table .query and sample logs given below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="mulesoft"   applicationName="api" |spath content.payload{}
|mvexpand content.payload{}| transaction  correlationId
| rename "content.payload{}.AP Import flow processing results{}.requestID" as RequestID  
 "content.payload{}.GL Import flow processing results{}.impConReqId" as ImpConReqId  content.payload{} as response
| eval OracleRequestId="RequestID: ".RequestID."  ImpConReqId: ".ImpConReqId|table response OracleRequestId&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual Result&lt;/P&gt;&lt;TABLE border="1" width="75%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;response&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD width="25%"&gt;OracleRequestId&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;GL Import flow related results : Extract has no GL records to Import into Oracle&lt;BR /&gt;{&lt;BR /&gt;"AP Import flow processing results" : [ {&lt;BR /&gt;"concurBatchId" : "395",&lt;BR /&gt;"requestID" : "101660728",&lt;BR /&gt;"returnMessage" : null,&lt;BR /&gt;"returnStatus" : "SUCCESS",&lt;BR /&gt;"insertCount" : "72",&lt;BR /&gt;"fileName" : "CONCUR_APAC_APINV_1711965640.csv"&lt;BR /&gt;} ]&lt;BR /&gt;}&lt;/TD&gt;&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;{&lt;BR /&gt;"AP Import flow processing results" : [ {&lt;BR /&gt;"concurBatchId" : "393",&lt;BR /&gt;"requestID" : "101572722",&lt;BR /&gt;"returnMessage" : null,&lt;BR /&gt;"returnStatus" : "SUCCESS",&lt;BR /&gt;"insertCount" : "66",&lt;BR /&gt;"fileName" : "CONCUR_APAC_APINV_1711620043.csv"&lt;BR /&gt;} ]&lt;BR /&gt;}&lt;BR /&gt;{&lt;BR /&gt;"GL Import flow processing results" : [ {&lt;BR /&gt;"concurBatchId" : "393",&lt;BR /&gt;"batchId" : "6409",&lt;BR /&gt;"count" : "5",&lt;BR /&gt;"impConReqId" : "101572713",&lt;BR /&gt;"errorMessage" : null,&lt;BR /&gt;"filename" : "CONCUR_APAC_GLJE_51711620043.csv"&lt;BR /&gt;} ]&lt;BR /&gt;}&lt;/TD&gt;&lt;TD width="25%"&gt;&lt;SPAN&gt;RequestID: 101572722 ImpConReqId: 101572713&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected Result:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1" width="75%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;response&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD width="25%"&gt;OracleRequestId&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;GL Import flow related results : Extract has no GL records to Import into Oracle&lt;BR /&gt;{&lt;BR /&gt;"AP Import flow processing results" : [ {&lt;BR /&gt;"concurBatchId" : "395",&lt;BR /&gt;"requestID" : "101660728",&lt;BR /&gt;"returnMessage" : null,&lt;BR /&gt;"returnStatus" : "SUCCESS",&lt;BR /&gt;"insertCount" : "72",&lt;BR /&gt;"fileName" : "CONCUR_APAC_APINV_1711965640.csv"&lt;BR /&gt;} ]&lt;BR /&gt;}&lt;/TD&gt;&lt;TD width="25%"&gt;requestID:101660728&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;{&lt;BR /&gt;"AP Import flow processing results" : [ {&lt;BR /&gt;"concurBatchId" : "393",&lt;BR /&gt;"requestID" : "101572722",&lt;BR /&gt;"returnMessage" : null,&lt;BR /&gt;"returnStatus" : "SUCCESS",&lt;BR /&gt;"insertCount" : "66",&lt;BR /&gt;"fileName" : "CONCUR_APAC_APINV_1711620043.csv"&lt;BR /&gt;} ]&lt;BR /&gt;}&lt;BR /&gt;{&lt;BR /&gt;"GL Import flow processing results" : [ {&lt;BR /&gt;"concurBatchId" : "393",&lt;BR /&gt;"batchId" : "6409",&lt;BR /&gt;"count" : "5",&lt;BR /&gt;"impConReqId" : "101572713",&lt;BR /&gt;"errorMessage" : null,&lt;BR /&gt;"filename" : "CONCUR_APAC_GLJE_51711620043.csv"&lt;BR /&gt;} ]&lt;BR /&gt;}&lt;/TD&gt;&lt;TD width="25%"&gt;&lt;SPAN&gt;RequestID: 101572722 ImpConReqId: 101572713&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 16:50:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682639#M233198</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-04-01T16:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to show two json response in single field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682646#M233201</link>
      <description>&lt;P&gt;OracleRequestId is empty because your eval doesn't take into account that&amp;nbsp;ImpConReqId is not present in some of your events - either use fillnull on this field or modify the eval to take care when this field is null&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 17:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682646#M233201</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-01T17:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to show two json response in single field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682711#M233225</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes its working i used isnull before the field values its working .But in below senario its not showing any values. Out of three there are two null values in&amp;nbsp;&lt;STRONG&gt;impConReqId.&lt;/STRONG&gt;so its not showing any values in table&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AP Import flow related results : Extract has no AP records to Import into Oracle
{
      "GL Import flow processing results" : [ {
        "concurBatchId" : "463",
        "batchId" : "6393",
        "count" : "1000",
        "impConReqId" : null,
        "errorMessage" : null,
        "filename" : "81711505038.csv"
      }, {
        "concurBatchId" : "463",
        "batchId" : "6393",
        "count" : "1000",
        "impConReqId" : null,
        "errorMessage" : null,
        "filename" : "11505038.csv"
      }, {
        "concurBatchId" : "463",
        "batchId" : "6393",
        "count" : "1000",
        "impConReqId" : null,
        "errorMessage" : null,
        "filename" : "CONCUR_GLJE_37681711505038.csv"
      }, {
        "concurBatchId" : "463",
        "batchId" : "6393",
        "count" : "768",
        "impConReqId" : "101539554",
        "errorMessage" : null,
        "filename" : "711505038.csv"
      } ]
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682711#M233225</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-04-02T10:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to show two json response in single field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682713#M233226</link>
      <description>&lt;P&gt;What is your current search?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:31:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682713#M233226</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-02T10:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to show two json response in single field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682714#M233227</link>
      <description>&lt;LI-CODE lang="markup"&gt;index="mulesoft"   applicationName="api" |spath content.payload{}
|mvexpand content.payload{}| transaction  correlationId
| rename "content.payload{}.AP Import flow processing results{}.requestID" as RequestID  
 "content.payload{}.GL Import flow processing results{}.impConReqId" as ImpConReqId  content.payload{} as response
|eval OracleRequestId="RequestID: ".if(isnull(RequestID),0,RequestID)." ImpConReqId: ".if(isnull(ImpConReqId),0,ImpConReqId)|table OracleRequestId response&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:42:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682714#M233227</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-04-02T10:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to show two json response in single field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682715#M233228</link>
      <description>&lt;P&gt;What is the full search?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:35:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682715#M233228</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-02T10:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to show two json response in single field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682718#M233229</link>
      <description>&lt;LI-CODE lang="markup"&gt;index="mulesoft"   applicationName="api" |spath content.payload{}
|mvexpand content.payload{}| transaction  correlationId
| rename "content.payload{}.AP Import flow processing results{}.requestID" as RequestID  
 "content.payload{}.GL Import flow processing results{}.impConReqId" as ImpConReqId  content.payload{} as response
|eval OracleRequestId="RequestID: ".if(isnull(RequestID),0,RequestID)." ImpConReqId: ".if(isnull(ImpConReqId),0,ImpConReqId)|table OracleRequestId response&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:43:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682718#M233229</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-04-02T10:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to show two json response in single field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682733#M233237</link>
      <description>&lt;P&gt;The fields are probably multivalue fields for some of your transactions which is why the eval is not working. You should probably start again with your events and work out how to break them up into separate parts so that you can create the composite id, in other words, to get where you want to be, don't start from where you are, you need to go back some steps.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 12:41:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-two-json-response-in-single-field/m-p/682733#M233237</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-02T12:41:54Z</dc:date>
    </item>
  </channel>
</rss>

