<?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 How to generate a search that will display values in my sample data in a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305060#M91621</link>
    <description>&lt;P&gt;Hi I have events coming from the servers. here we have some sample data.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2017-03-29 13:57:09.892 [WMQJCAResourceAdapter : 1424] [INFO ] [DCN 0201708802519120C] SplunkLog - DCN=0201708802519120C, CorrelationID=000970348003699784622353, TransactionTimestamp=2017-03-29 13:57:08.135, GroupNumber =00064939G, ServiceLinecount=3, SectionNumber=0009, CorporateEntityCode=TX1, ClaimType=0, VendorName=VERSCEND, VendorCode=CVP, TransactionCode=RSPUtilizationAmount=0, Department=213, CVPOutcomeCode=G, CVPClaimStatusCode=VA


2017-03-29 13:57:09.285 [WMQJCAResourceAdapter : 2216] [INFO ] [DCN 0201708802519120C] SplunkLog - DCN=0201708802519120C, CorrelationID=000970348003699784622353, TransactionTimestamp=2017-03-29 13:57:09.285, GroupNumber =00064939G, ServiceLinecount=3, SectionNumber=0009, CorporateEntityCode=TX1, ClaimType=0, VendorName=VERSCEND, VendorCode=CVP, TransactionCode=ACK, OutCome=C, Messagetext=ACCEPTED, CVPOutcomeCode=O, Department=213,


2017-03-29 13:57:07.379 [WMQJCAResourceAdapter : 2229] [INFO ] [DCN 0201708802519120C] SplunkLog - DCN=0201708802519120C, CorrelationID=000970348003699784622353, TransactionTimestamp=2017-03-29 13:57:07.379, GroupNumber =00064939G, ServiceLinecount=3, SectionNumber=0009, CorporateEntityCode=TX1, ClaimType=0, VendorName=VERSCEND, VendorCode=CVP, TransactionCode=REQ, Department=213, CVPOutcomeCode=O, CVPClaimStatusCode=VA,
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;here correlationId is unique key here &lt;BR /&gt;
I want  to display these values in a single table but here  cvpoutcomecode and cvpclaimstatuscode will vary in these messages but sometimes not. I want to display those values in the table from which message is coming from either Req,ack,rsp.&lt;/P&gt;

&lt;P&gt;Please need help ....thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2017 19:11:54 GMT</pubDate>
    <dc:creator>prashanthberam</dc:creator>
    <dc:date>2017-03-29T19:11:54Z</dc:date>
    <item>
      <title>How to generate a search that will display values in my sample data in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305060#M91621</link>
      <description>&lt;P&gt;Hi I have events coming from the servers. here we have some sample data.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2017-03-29 13:57:09.892 [WMQJCAResourceAdapter : 1424] [INFO ] [DCN 0201708802519120C] SplunkLog - DCN=0201708802519120C, CorrelationID=000970348003699784622353, TransactionTimestamp=2017-03-29 13:57:08.135, GroupNumber =00064939G, ServiceLinecount=3, SectionNumber=0009, CorporateEntityCode=TX1, ClaimType=0, VendorName=VERSCEND, VendorCode=CVP, TransactionCode=RSPUtilizationAmount=0, Department=213, CVPOutcomeCode=G, CVPClaimStatusCode=VA


2017-03-29 13:57:09.285 [WMQJCAResourceAdapter : 2216] [INFO ] [DCN 0201708802519120C] SplunkLog - DCN=0201708802519120C, CorrelationID=000970348003699784622353, TransactionTimestamp=2017-03-29 13:57:09.285, GroupNumber =00064939G, ServiceLinecount=3, SectionNumber=0009, CorporateEntityCode=TX1, ClaimType=0, VendorName=VERSCEND, VendorCode=CVP, TransactionCode=ACK, OutCome=C, Messagetext=ACCEPTED, CVPOutcomeCode=O, Department=213,


2017-03-29 13:57:07.379 [WMQJCAResourceAdapter : 2229] [INFO ] [DCN 0201708802519120C] SplunkLog - DCN=0201708802519120C, CorrelationID=000970348003699784622353, TransactionTimestamp=2017-03-29 13:57:07.379, GroupNumber =00064939G, ServiceLinecount=3, SectionNumber=0009, CorporateEntityCode=TX1, ClaimType=0, VendorName=VERSCEND, VendorCode=CVP, TransactionCode=REQ, Department=213, CVPOutcomeCode=O, CVPClaimStatusCode=VA,
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;here correlationId is unique key here &lt;BR /&gt;
I want  to display these values in a single table but here  cvpoutcomecode and cvpclaimstatuscode will vary in these messages but sometimes not. I want to display those values in the table from which message is coming from either Req,ack,rsp.&lt;/P&gt;

&lt;P&gt;Please need help ....thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305060#M91621</guid>
      <dc:creator>prashanthberam</dc:creator>
      <dc:date>2017-03-29T19:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will display values in my sample data in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305061#M91622</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | list(TransactionCode) AS TransactionCode list(CVPOutcomeCode) AS CVPOutcomeCode list(CVPClaimStatusCode) AS CVPClaimStatusCode BY CorrelationID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:20:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305061#M91622</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-29T19:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will display values in my sample data in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305062#M91623</link>
      <description>&lt;P&gt;Can you provide a mock table with output that you want (use this sample data as reference)?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:22:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305062#M91623</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-03-29T19:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will display values in my sample data in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305063#M91624</link>
      <description>&lt;P&gt;timestamp dcn Groupnumber CorrelationID sectionnum Corporateentity transactioncode cvpclaimstatuscode_req  cvpclaimstatuscode_rsp cvpoutcomecode_req cvpoutcomecode_ack cvpoutcomecode_rsp department vendorname vendorcode  &lt;/P&gt;

&lt;P&gt;because am getting diffrent values cvpoutcomecode i need to know when it's coming&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:29:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305063#M91624</guid>
      <dc:creator>prashanthberam</dc:creator>
      <dc:date>2020-09-29T13:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will display values in my sample data in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305064#M91625</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search
| eval CVPOutcomeCode_REQ=if(TransactionCode="REQ",CVPOutcomeCode,null())
| eval CVPClaimStatusCode_REQ=if(TransactionCode="REQ",CVPClaimStatusCode,null())
| eval CVPOutcomeCode_ACK=if(TransactionCode="ACK",CVPOutcomeCode,null())
| eval CVPClaimStatusCode_ACK=if(TransactionCode="ACK",CVPClaimStatusCode,null())
| eval CVPOutcomeCode_RSP=if(TransactionCode="RSP",CVPOutcomeCode,null())
| eval CVPClaimStatusCode_RSP=if(TransactionCode="RSP",CVPClaimStatusCode,null())
| stats min(_time) as _time values(*_REQ) as *_REQ values(*_ACK) as *_ACK values(*_RSP) as *_RSP values(TransactionCode) as TransactionCode 
...add other fields here similar to TransactionCode...
by CorrelationID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-values-in-my-sample/m-p/305064#M91625</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-03-29T19:40:20Z</dc:date>
    </item>
  </channel>
</rss>

