<?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: fields are not extracted properly in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/580959#M202398</link>
    <description>&lt;P&gt;Thank you for your response. yes Splunk has extracted all these&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;fields like&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;logGroup&lt;/FONT&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;aws_acctid&lt;/FONT&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;cwtimestamp&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;and, most importantly,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;cwmessage. how can i extract fields from cwmessagge seperated with pipe. Mainly i am looking for fields tran_id, batch_id and pricing hascode and rules hashcode. Do i need to write any props or i can do field extraction with the query?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 14:31:01 GMT</pubDate>
    <dc:creator>srivenna</dc:creator>
    <dc:date>2022-01-13T14:31:01Z</dc:date>
    <item>
      <title>fields are not extracted properly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/580844#M202355</link>
      <description>&lt;P&gt;recently we onboarded these logs but most of the fields are not extracted though these values are mentioned with =. I am trying to extract batch_id , tran_id and pricing hashcode and rules hashcode.&amp;nbsp; I tried to extract from GUI but i am seeing lot of mismatches. can anyone help me with this.&lt;/P&gt;&lt;P&gt;here are sample logs&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"logGroup": "ldcs-devl-eb-06-webapp-Application", "logStream": "ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log", "aws_acctid": "189693026861", "aws_region": "us-east-1", "splunkdata": {"shard_id": "000000000020", "splkhf": "spitsi-acpt-log-heavy-4", "rvt": 1642014308933}, "lifecycle": "devl-shared", "aws_appshortname": "ldcs", "appcode": "FVV", "cwmessage": "2022-01-12 14:05:02.322|[DefaultThreadPool-18] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|batch_id=&lt;/SPAN&gt;&lt;SPAN class=""&gt;9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|dealset_id=116784&lt;/SPAN&gt;&lt;SPAN&gt;|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E02:414|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007 ", "cwtimestamp": 1641996302000}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"logGroup": "ldcs-devl-eb-06-webapp-Application", "logStream": "ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log", "aws_acctid": "189693026861", "aws_region": "us-east-1", "splunkdata": {"shard_id": "000000000020", "splkhf": "spitsi-acpt-log-heavy-4", "rvt": 1642014334358}, "lifecycle": "devl-shared", "aws_appshortname": "ldcs", "appcode": "FVV", "cwmessage": "2022-01-12 14:05:27.035|[DefaultThreadPool-20] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=751b1112-0511-4dbd-b94c-a6409c23b20d|batch_id=&lt;SPAN class=""&gt;751b1112-0511-4dbd-b94c-a6409c23b20d&lt;/SPAN&gt;|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E0A:457|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007 ", "cwtimestamp": 1641996327000}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 19:33:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/580844#M202355</guid>
      <dc:creator>srivenna</dc:creator>
      <dc:date>2022-01-12T19:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: fields are not extracted properly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/580890#M202379</link>
      <description>&lt;P&gt;Clearly the logs are in JSON. &amp;nbsp;However, it is unclear whether logs are ingested with a JSON sourcetype, that is, whether JSON extraction is performed at indexing time. &amp;nbsp;If they are, Splunk would already have fields like &lt;FONT face="courier new,courier"&gt;logGroup&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;aws_acctid&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;cwtimestamp&lt;/FONT&gt; and, most importantly, &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;cwmessage&lt;/FONT&gt;&lt;/STRONG&gt;. &amp;nbsp;All key-value pairs are in cwmessage.&lt;/P&gt;&lt;P&gt;If cwmessage is already available to you, try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rename _raw as temp, cwmessage as _raw
| kv pairdelim="|" kvdelim="="
| rename _raw as cwmessage, temp as _raw&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;kv&lt;/U&gt; is an alias of&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.0/SearchReference/Extract" target="_blank" rel="noopener"&gt;extract&lt;/A&gt;. &amp;nbsp;If the log is ingested without JSON format but _raw events are still valid JSON as you illustrated, add &lt;U&gt;spath&lt;/U&gt; command at the beginning, i.e.,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| spath
| rename _raw as temp, cwmessage as _raw
| kv pairdelim="|" kvdelim="="
| rename _raw as cwmessage, temp as _raw&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note the forward and backward renames are &amp;nbsp;just to preserve &amp;nbsp;original fields. &amp;nbsp; If that's &amp;nbsp;not &amp;nbsp;a concern for next filters, "&lt;FONT face="courier new,courier"&gt;rename cwmessage AS _raw&lt;/FONT&gt;" before kv suffices.&lt;/P&gt;&lt;P&gt;Example: Given dataset&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;_time&lt;/TD&gt;&lt;TD&gt;_raw&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2022-01-12 06:05:02&lt;/TD&gt;&lt;TD&gt;{"logGroup": "ldcs-devl-eb-06-webapp-Application", "logStream": "ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log", "aws_acctid": "189693026861", "aws_region": "us-east-1", "splunkdata": {"shard_id": "000000000020", "splkhf": "spitsi-acpt-log-heavy-4", "rvt": 1642014308933}, "lifecycle": "devl-shared", "aws_appshortname": "ldcs", "appcode": "FVV", "cwmessage": "2022-01-12 14:05:02.322|[DefaultThreadPool-18] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|batch_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E02:414|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007 ", "cwtimestamp": 1641996302000}&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2022-01-12 06:05:27&lt;/TD&gt;&lt;TD&gt;{"logGroup": "ldcs-devl-eb-06-webapp-Application", "logStream": "ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log", "aws_acctid": "189693026861", "aws_region": "us-east-1", "splunkdata": {"shard_id": "000000000020", "splkhf": "spitsi-acpt-log-heavy-4", "rvt": 1642014334358}, "lifecycle": "devl-shared", "aws_appshortname": "ldcs", "appcode": "FVV", "cwmessage": "2022-01-12 14:05:27.035|[DefaultThreadPool-20] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=751b1112-0511-4dbd-b94c-a6409c23b20d|batch_id=751b1112-0511-4dbd-b94c-a6409c23b20d|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E0A:457|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007 ", "cwtimestamp": 1641996327000}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;the above filters will render something like the following, including fields of your interest.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="74.8125px"&gt;_time&lt;/TD&gt;&lt;TD width="835.65625px"&gt;_raw&lt;/TD&gt;&lt;TD width="74.859375px"&gt;appcode&lt;/TD&gt;&lt;TD width="126.203125px"&gt;aws_acctid&lt;/TD&gt;&lt;TD width="116.96875px"&gt;appshortname&lt;/TD&gt;&lt;TD width="94.296875px"&gt;aws_region&lt;/TD&gt;&lt;TD width="124.671875px"&gt;batch_id&lt;/TD&gt;&lt;TD width="94.328125px"&gt;component&lt;/TD&gt;&lt;TD width="835.65625px"&gt;cwmessage&lt;/TD&gt;&lt;TD width="135.8125px"&gt;cwtimestamp&lt;/TD&gt;&lt;TD width="86.578125px"&gt;dealset_id&lt;/TD&gt;&lt;TD width="123.359375px"&gt;execution_time&lt;/TD&gt;&lt;TD width="67.203125px"&gt;lifestyle&lt;/TD&gt;&lt;TD width="92.59375px"&gt;loan_count&lt;/TD&gt;&lt;TD width="93.171875px"&gt;logGroup&lt;/TD&gt;&lt;TD width="179.046875px"&gt;logStream&lt;/TD&gt;&lt;TD width="275.3125px"&gt;messageId&lt;/TD&gt;&lt;TD width="97.40625px"&gt;seller_id&lt;/TD&gt;&lt;TD width="376.9375px"&gt;session_id&lt;/TD&gt;&lt;TD width="135.8125px"&gt;splunkdata.rvt&lt;/TD&gt;&lt;TD width="156.65625px"&gt;splunkdata.shard_id&lt;/TD&gt;&lt;TD width="59.078125px"&gt;splunkdata.splkhf&lt;/TD&gt;&lt;TD width="124.671875px"&gt;tran_id&lt;/TD&gt;&lt;TD width="89.046875px"&gt;user_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="74.8125px"&gt;2022-01-12 06:05:02&lt;/TD&gt;&lt;TD width="835.65625px"&gt;{"logGroup": "ldcs-devl-eb-06-webapp-Application", "logStream": "ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log", "aws_acctid": "189693026861", "aws_region": "us-east-1", "splunkdata": {"shard_id": "000000000020", "splkhf": "spitsi-acpt-log-heavy-4", "rvt": 1642014308933}, "lifecycle": "devl-shared", "aws_appshortname": "ldcs", "appcode": "FVV", "cwmessage": "2022-01-12 14:05:02.322|[DefaultThreadPool-18] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|batch_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E02:414|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007 ", "cwtimestamp": 1641996302000}&lt;/TD&gt;&lt;TD width="74.859375px"&gt;FVV&lt;/TD&gt;&lt;TD width="126.203125px"&gt;189693026861&lt;/TD&gt;&lt;TD width="116.96875px"&gt;ldcs&lt;/TD&gt;&lt;TD width="94.296875px"&gt;us-east-1&lt;/TD&gt;&lt;TD width="124.671875px"&gt;9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85&lt;/TD&gt;&lt;TD width="94.328125px"&gt;LD-PRICING&lt;/TD&gt;&lt;TD width="835.65625px"&gt;2022-01-12 14:05:02.322|[DefaultThreadPool-18] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|batch_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E02:414|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007&lt;/TD&gt;&lt;TD width="135.8125px"&gt;1641996302000&lt;/TD&gt;&lt;TD width="86.578125px"&gt;116784&lt;/TD&gt;&lt;TD width="123.359375px"&gt;WholeLoan&lt;/TD&gt;&lt;TD width="67.203125px"&gt;devl-shared&lt;/TD&gt;&lt;TD width="92.59375px"&gt;1&lt;/TD&gt;&lt;TD width="93.171875px"&gt;ldcs-devl-eb-06-webapp-Application&lt;/TD&gt;&lt;TD width="179.046875px"&gt;ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log&lt;/TD&gt;&lt;TD width="275.3125px"&gt;ID:SOADevl-ems08.752D61D05D2DBE2E02:414&lt;/TD&gt;&lt;TD width="97.40625px"&gt;165700007&lt;/TD&gt;&lt;TD width="376.9375px"&gt;D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02&lt;/TD&gt;&lt;TD width="135.8125px"&gt;1642014308933&lt;/TD&gt;&lt;TD width="156.65625px"&gt;000000000020&lt;/TD&gt;&lt;TD width="59.078125px"&gt;spitsi-acpt-log-heavy-4&lt;/TD&gt;&lt;TD width="124.671875px"&gt;9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85&lt;/TD&gt;&lt;TD width="89.046875px"&gt;c9273wne&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="74.8125px"&gt;2022-01-12 06:05:27&lt;/TD&gt;&lt;TD width="835.65625px"&gt;{"logGroup": "ldcs-devl-eb-06-webapp-Application", "logStream": "ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log", "aws_acctid": "189693026861", "aws_region": "us-east-1", "splunkdata": {"shard_id": "000000000020", "splkhf": "spitsi-acpt-log-heavy-4", "rvt": 1642014334358}, "lifecycle": "devl-shared", "aws_appshortname": "ldcs", "appcode": "FVV", "cwmessage": "2022-01-12 14:05:27.035|[DefaultThreadPool-20] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=751b1112-0511-4dbd-b94c-a6409c23b20d|batch_id=751b1112-0511-4dbd-b94c-a6409c23b20d|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E0A:457|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007 ", "cwtimestamp": 1641996327000}&lt;/TD&gt;&lt;TD width="74.859375px"&gt;FVV&lt;/TD&gt;&lt;TD width="126.203125px"&gt;189693026861&lt;/TD&gt;&lt;TD width="116.96875px"&gt;ldcs&lt;/TD&gt;&lt;TD width="94.296875px"&gt;us-east-1&lt;/TD&gt;&lt;TD width="124.671875px"&gt;751b1112-0511-4dbd-b94c-a6409c23b20d&lt;/TD&gt;&lt;TD width="94.328125px"&gt;LD-PRICING&lt;/TD&gt;&lt;TD width="835.65625px"&gt;2022-01-12 14:05:27.035|[DefaultThreadPool-20] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=751b1112-0511-4dbd-b94c-a6409c23b20d|batch_id=751b1112-0511-4dbd-b94c-a6409c23b20d|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E0A:457|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007&lt;/TD&gt;&lt;TD width="135.8125px"&gt;1641996327000&lt;/TD&gt;&lt;TD width="86.578125px"&gt;116784&lt;/TD&gt;&lt;TD width="123.359375px"&gt;WholeLoan&lt;/TD&gt;&lt;TD width="67.203125px"&gt;devl-shared&lt;/TD&gt;&lt;TD width="92.59375px"&gt;1&lt;/TD&gt;&lt;TD width="93.171875px"&gt;ldcs-devl-eb-06-webapp-Application&lt;/TD&gt;&lt;TD width="179.046875px"&gt;ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log&lt;/TD&gt;&lt;TD width="275.3125px"&gt;ID:SOADevl-ems08.752D61D05D2DBE2E0A:457&lt;/TD&gt;&lt;TD width="97.40625px"&gt;165700007&lt;/TD&gt;&lt;TD width="376.9375px"&gt;D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02&lt;/TD&gt;&lt;TD width="135.8125px"&gt;1642014334358&lt;/TD&gt;&lt;TD width="156.65625px"&gt;000000000020&lt;/TD&gt;&lt;TD width="59.078125px"&gt;spitsi-acpt-log-heavy-4&lt;/TD&gt;&lt;TD width="124.671875px"&gt;751b1112-0511-4dbd-b94c-a6409c23b20d&lt;/TD&gt;&lt;TD width="89.046875px"&gt;c9273wne&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 07:08:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/580890#M202379</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-01-13T07:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: fields are not extracted properly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/580959#M202398</link>
      <description>&lt;P&gt;Thank you for your response. yes Splunk has extracted all these&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;fields like&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;logGroup&lt;/FONT&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;aws_acctid&lt;/FONT&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;cwtimestamp&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;and, most importantly,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;cwmessage. how can i extract fields from cwmessagge seperated with pipe. Mainly i am looking for fields tran_id, batch_id and pricing hascode and rules hashcode. Do i need to write any props or i can do field extraction with the query?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 14:31:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/580959#M202398</guid>
      <dc:creator>srivenna</dc:creator>
      <dc:date>2022-01-13T14:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: fields are not extracted properly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/580966#M202401</link>
      <description>&lt;P&gt;I tried this&amp;nbsp;&lt;/P&gt;&lt;P&gt;| spath&lt;BR /&gt;| rename _raw as temp, cwmessage as _raw&lt;BR /&gt;| kv pairdelim="|" kvdelim="="&lt;/P&gt;&lt;P&gt;All = fields are extracted. But fields with " : " are not extracted. I am&amp;nbsp; specifically looking for Pricing hashcode and rules hashcode.&amp;nbsp; &amp;nbsp;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 14:46:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/580966#M202401</guid>
      <dc:creator>srivenna</dc:creator>
      <dc:date>2022-01-13T14:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: fields are not extracted properly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/581173#M202472</link>
      <description>&lt;P&gt;If you already see fields like logGroup, that means spath is redundant. (See &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.0/SearchReference/Spath#Alternatives_to_the_spath_command" target="_blank" rel="noopener"&gt;Alternatives to the spath command&lt;/A&gt;.) To capture those key-value pairs separated by :, try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rename _raw as temp, cwmessage as _raw
| rex mode=sed "s/ - / + /g"
| kv pairdelim="|+" kvdelim="=:"
| rename _raw as cwmessage, temp as _raw&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rex command is to establish a unique delimiter. &amp;nbsp;The pairs are separated by " - " (space-space), but "-" appears in some values. &amp;nbsp;I notice that "+" is not used anywhere in cwmessage, therefore "+" would be a good candidate. &amp;nbsp;The above does not restore cwmessage to its original content as I sense that you wouldn't use it further.&lt;/P&gt;&lt;P&gt;Using the same sample data, the output is&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="74.8125px" height="25px"&gt;_time&lt;/TD&gt;&lt;TD width="835.65625px" height="25px"&gt;_raw&lt;/TD&gt;&lt;TD width="246.6875px" height="25px"&gt;Pricing_Info___Pricing_Hashcode&lt;/TD&gt;&lt;TD width="132.515625px" height="25px"&gt;Rules_Hashcode&lt;/TD&gt;&lt;TD width="74.859375px" height="25px"&gt;appcode&lt;/TD&gt;&lt;TD width="126.203125px" height="25px"&gt;aws_acctid&lt;/TD&gt;&lt;TD width="154.859375px" height="25px"&gt;aws_appshortname&lt;/TD&gt;&lt;TD width="94.296875px" height="25px"&gt;aws_region&lt;/TD&gt;&lt;TD width="124.671875px" height="25px"&gt;batch_id&lt;/TD&gt;&lt;TD width="94.328125px" height="25px"&gt;component&lt;/TD&gt;&lt;TD width="835.65625px" height="25px"&gt;cwmessage&lt;/TD&gt;&lt;TD width="135.8125px" height="25px"&gt;cwtimestamp&lt;/TD&gt;&lt;TD width="86.578125px" height="25px"&gt;dealset_id&lt;/TD&gt;&lt;TD width="123.453125px" height="25px"&gt;execution_type&lt;/TD&gt;&lt;TD width="228.96875px" height="25px"&gt;investorCommitmentIdentifier&lt;/TD&gt;&lt;TD width="70.703125px" height="25px"&gt;lifecycle&lt;/TD&gt;&lt;TD width="102.046875px" height="25px"&gt;loand_count&lt;/TD&gt;&lt;TD width="93.171875px" height="25px"&gt;logGroup&lt;/TD&gt;&lt;TD width="179.046875px" height="25px"&gt;logStream&lt;/TD&gt;&lt;TD width="275.3125px" height="25px"&gt;messageId&lt;/TD&gt;&lt;TD width="107.90625px" height="25px"&gt;poolIdentifier&lt;/TD&gt;&lt;TD width="97.40625px" height="25px"&gt;sellerId&lt;/TD&gt;&lt;TD width="150.421875px" height="25px"&gt;sellerLoanIdentifier&lt;/TD&gt;&lt;TD width="97.40625px" height="25px"&gt;seller_id&lt;/TD&gt;&lt;TD width="376.9375px" height="25px"&gt;session_id&lt;/TD&gt;&lt;TD width="135.8125px" height="25px"&gt;splunkdata.rvt&lt;/TD&gt;&lt;TD width="156.65625px" height="25px"&gt;splunkdata.shard_id&lt;/TD&gt;&lt;TD width="137.5625px" height="25px"&gt;splunkdata.splkhf&lt;/TD&gt;&lt;TD width="124.671875px" height="25px"&gt;tran_id&lt;/TD&gt;&lt;TD width="200.125px" height="25px"&gt;uniqueClientDealIdentifier&lt;/TD&gt;&lt;TD width="89.046875px" height="25px"&gt;user_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="74.8125px" height="267px"&gt;2022-01-12 06:05:02&lt;/TD&gt;&lt;TD width="835.65625px" height="267px"&gt;{"logGroup": "ldcs-devl-eb-06-webapp-Application", "logStream": "ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log", "aws_acctid": "189693026861", "aws_region": "us-east-1", "splunkdata": {"shard_id": "000000000020", "splkhf": "spitsi-acpt-log-heavy-4", "rvt": 1642014308933}, "lifecycle": "devl-shared", "aws_appshortname": "ldcs", "appcode": "FVV", "cwmessage": "2022-01-12 14:05:02.322|[DefaultThreadPool-18] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|batch_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E02:414|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007 ", "cwtimestamp": 1641996302000}&lt;/TD&gt;&lt;TD width="246.6875px" height="267px"&gt;1761264532&lt;/TD&gt;&lt;TD width="132.515625px" height="267px"&gt;-1500207091&lt;/TD&gt;&lt;TD width="74.859375px" height="267px"&gt;FVV&lt;/TD&gt;&lt;TD width="126.203125px" height="267px"&gt;189693026861&lt;/TD&gt;&lt;TD width="154.859375px" height="267px"&gt;ldcs&lt;/TD&gt;&lt;TD width="94.296875px" height="267px"&gt;us-east-1&lt;/TD&gt;&lt;TD width="124.671875px" height="267px"&gt;9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85&lt;/TD&gt;&lt;TD width="94.328125px" height="267px"&gt;LD-PRICING&lt;/TD&gt;&lt;TD width="835.65625px" height="267px"&gt;2022-01-12 14:05:02.322|[DefaultThreadPool-18] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|batch_id=9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E02:414|ENDOFFIELDS + Pricing Info ~ Pricing Hashcode: 1761264532 + Rules Hashcode: -1500207091 + uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 + sellerLoanIdentifier: BTP22_0111_B10 + poolIdentifier: null + investorCommitmentIdentifier: 116784 + sellerId: 165700007&lt;/TD&gt;&lt;TD width="135.8125px" height="267px"&gt;1641996302000&lt;/TD&gt;&lt;TD width="86.578125px" height="267px"&gt;116784&lt;/TD&gt;&lt;TD width="123.453125px" height="267px"&gt;WholeLoan&lt;/TD&gt;&lt;TD width="228.96875px" height="267px"&gt;116784&lt;/TD&gt;&lt;TD width="70.703125px" height="267px"&gt;devl-shared&lt;/TD&gt;&lt;TD width="102.046875px" height="267px"&gt;1&lt;/TD&gt;&lt;TD width="93.171875px" height="267px"&gt;ldcs-devl-eb-06-webapp-Application&lt;/TD&gt;&lt;TD width="179.046875px" height="267px"&gt;ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log&lt;/TD&gt;&lt;TD width="275.3125px" height="267px"&gt;ID:SOADevl-ems08.752D61D05D2DBE2E02:414&lt;/TD&gt;&lt;TD width="107.90625px" height="267px"&gt;null&lt;/TD&gt;&lt;TD width="97.40625px" height="267px"&gt;165700007&lt;/TD&gt;&lt;TD width="150.421875px" height="267px"&gt;BTP22_0111_B10&lt;/TD&gt;&lt;TD width="97.40625px" height="267px"&gt;165700007&lt;/TD&gt;&lt;TD width="376.9375px" height="267px"&gt;D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02&lt;/TD&gt;&lt;TD width="135.8125px" height="267px"&gt;1642014308933&lt;/TD&gt;&lt;TD width="156.65625px" height="267px"&gt;000000000020&lt;/TD&gt;&lt;TD width="137.5625px" height="267px"&gt;spitsi-acpt-log-heavy-4&lt;/TD&gt;&lt;TD width="124.671875px" height="267px"&gt;9a6e8ba3-2c01-4b18-bbfb-88a854bbdb85&lt;/TD&gt;&lt;TD width="200.125px" height="267px"&gt;a37801e4-dbe6-4c3a-bc26-17d1a78a0b28&lt;/TD&gt;&lt;TD width="89.046875px" height="267px"&gt;c9273wne&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="74.8125px" height="267px"&gt;2022-01-12 06:05:27&lt;/TD&gt;&lt;TD width="835.65625px" height="267px"&gt;{"logGroup": "ldcs-devl-eb-06-webapp-Application", "logStream": "ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log", "aws_acctid": "189693026861", "aws_region": "us-east-1", "splunkdata": {"shard_id": "000000000020", "splkhf": "spitsi-acpt-log-heavy-4", "rvt": 1642014334358}, "lifecycle": "devl-shared", "aws_appshortname": "ldcs", "appcode": "FVV", "cwmessage": "2022-01-12 14:05:27.035|[DefaultThreadPool-20] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=751b1112-0511-4dbd-b94c-a6409c23b20d|batch_id=751b1112-0511-4dbd-b94c-a6409c23b20d|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E0A:457|ENDOFFIELDS - Pricing Info ~ Pricing Hashcode: 1761264532 - Rules Hashcode: -1500207091 - uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 - sellerLoanIdentifier: BTP22_0111_B10 - poolIdentifier: null - investorCommitmentIdentifier: 116784 - sellerId: 165700007 ", "cwtimestamp": 1641996327000}&lt;/TD&gt;&lt;TD width="246.6875px" height="267px"&gt;1761264532&lt;/TD&gt;&lt;TD width="132.515625px" height="267px"&gt;-1500207091&lt;/TD&gt;&lt;TD width="74.859375px" height="267px"&gt;FVV&lt;/TD&gt;&lt;TD width="126.203125px" height="267px"&gt;189693026861&lt;/TD&gt;&lt;TD width="154.859375px" height="267px"&gt;ldcs&lt;/TD&gt;&lt;TD width="94.296875px" height="267px"&gt;us-east-1&lt;/TD&gt;&lt;TD width="124.671875px" height="267px"&gt;751b1112-0511-4dbd-b94c-a6409c23b20d&lt;/TD&gt;&lt;TD width="94.328125px" height="267px"&gt;LD-PRICING&lt;/TD&gt;&lt;TD width="835.65625px" height="267px"&gt;2022-01-12 14:05:27.035|[DefaultThreadPool-20] LD-PRICING-INFO c.f.l.pricing.mapper.DealSetsMapper STARTOFFIELDS|component=LD-PRICING|user_id=c9273wne|seller_id=165700007|session_id=D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02|tran_id=751b1112-0511-4dbd-b94c-a6409c23b20d|batch_id=751b1112-0511-4dbd-b94c-a6409c23b20d|dealset_id=116784|execution_type=WholeLoan|loan_count=1|time=|messageId=ID:SOADevl-ems08.752D61D05D2DBE2E0A:457|ENDOFFIELDS + Pricing Info ~ Pricing Hashcode: 1761264532 + Rules Hashcode: -1500207091 + uniqueClientDealIdentifier: a37801e4-dbe6-4c3a-bc26-17d1a78a0b28 + sellerLoanIdentifier: BTP22_0111_B10 + poolIdentifier: null + investorCommitmentIdentifier: 116784 + sellerId: 165700007&lt;/TD&gt;&lt;TD width="135.8125px" height="267px"&gt;1641996327000&lt;/TD&gt;&lt;TD width="86.578125px" height="267px"&gt;116784&lt;/TD&gt;&lt;TD width="123.453125px" height="267px"&gt;WholeLoan&lt;/TD&gt;&lt;TD width="228.96875px" height="267px"&gt;116784&lt;/TD&gt;&lt;TD width="70.703125px" height="267px"&gt;devl-shared&lt;/TD&gt;&lt;TD width="102.046875px" height="267px"&gt;1&lt;/TD&gt;&lt;TD width="93.171875px" height="267px"&gt;ldcs-devl-eb-06-webapp-Application&lt;/TD&gt;&lt;TD width="179.046875px" height="267px"&gt;ip-10-108-18-243 (i-004009051755596bb) - ld-pricing.log&lt;/TD&gt;&lt;TD width="275.3125px" height="267px"&gt;ID:SOADevl-ems08.752D61D05D2DBE2E0A:457&lt;/TD&gt;&lt;TD width="107.90625px" height="267px"&gt;null&lt;/TD&gt;&lt;TD width="97.40625px" height="267px"&gt;165700007&lt;/TD&gt;&lt;TD width="150.421875px" height="267px"&gt;BTP22_0111_B10&lt;/TD&gt;&lt;TD width="97.40625px" height="267px"&gt;165700007&lt;/TD&gt;&lt;TD width="376.9375px" height="267px"&gt;D86C9BAF3F308C7838E4A52BC0DA0938.LDNG-UI-cl02&lt;/TD&gt;&lt;TD width="135.8125px" height="267px"&gt;1642014334358&lt;/TD&gt;&lt;TD width="156.65625px" height="267px"&gt;000000000020&lt;/TD&gt;&lt;TD width="137.5625px" height="267px"&gt;spitsi-acpt-log-heavy-4&lt;/TD&gt;&lt;TD width="124.671875px" height="267px"&gt;751b1112-0511-4dbd-b94c-a6409c23b20d&lt;/TD&gt;&lt;TD width="200.125px" height="267px"&gt;a37801e4-dbe6-4c3a-bc26-17d1a78a0b28&lt;/TD&gt;&lt;TD width="89.046875px" height="267px"&gt;c9273wne&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 15 Jan 2022 03:37:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/581173#M202472</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-01-15T03:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: fields are not extracted properly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/581347#M202540</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Yes! It helped. Perfectly communicated, and works so well.&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jan 2022 15:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fields-are-not-extracted-properly/m-p/581347#M202540</guid>
      <dc:creator>srivenna</dc:creator>
      <dc:date>2022-01-17T15:31:58Z</dc:date>
    </item>
  </channel>
</rss>

