<?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  extract a csv data fields message data into fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695138#M236400</link>
    <description>&lt;P&gt;partially&amp;nbsp;&lt;BR /&gt;Where we had "Example"&lt;BR /&gt;It can sometimes be other words&lt;BR /&gt;so its not capturing everything from&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;([&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 22:00:06 GMT</pubDate>
    <dc:creator>Cheng2Ready</dc:creator>
    <dc:date>2024-08-02T22:00:06Z</dc:date>
    <item>
      <title>How to  extract a csv data fields message data into fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695114#M236392</link>
      <description>&lt;P&gt;I have a field message that when&lt;BR /&gt;I run the search&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=example123 host=5566
|search "*specials word*"
I table message&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;it displays as an example below:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2024-08-02 16:45:21- INFO Example (['test1' , 'test2', 'test3', 'test4', 'test5', 'test6', 'test7)'] , &lt;SPAN&gt;['Medium', 'Large ', 'Small', 'Small ', 'Large ', 'Large ', 'Large '])&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Is there a way to run a command so that the data in the field "Message"&amp;nbsp; can be extracted into their own fields or displayed like this matching 1:1 on a table&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;test3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; test4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;test5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;test6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; test7&lt;BR /&gt;&lt;SPAN&gt;Medium&amp;nbsp; &amp;nbsp; &amp;nbsp;Large&amp;nbsp; &amp;nbsp; &amp;nbsp; Small&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Small&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Large&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Large&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Large&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;or&lt;BR /&gt;&lt;BR /&gt;test1 =&amp;nbsp;&lt;SPAN&gt;Medium&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;test2=&amp;nbsp;&lt;SPAN&gt;Large&amp;nbsp;&lt;BR /&gt;test3 =&amp;nbsp;Small&lt;BR /&gt;.... ect&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 23:11:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695114#M236392</guid>
      <dc:creator>Cheng2Ready</dc:creator>
      <dc:date>2024-08-02T23:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to  extract a csv data fields message data into fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695121#M236395</link>
      <description>&lt;P&gt;Assuming your real events don't have brackets in the names, try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "Example \(\[(?&amp;lt;keys&amp;gt;[^\]]*)\]\s*,\s*\[(?&amp;lt;values&amp;gt;[^\]]*)\]\)"
| rex max_match=0 field=keys "'(?&amp;lt;key&amp;gt;[^']+)'"
| rex max_match=0 field=values "'(?&amp;lt;value&amp;gt;[^']+)'"
| table key value
| eval pairs=mvzip(key, value, "=")&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Aug 2024 18:40:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695121#M236395</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T18:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to  extract a csv data fields message data into fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695127#M236397</link>
      <description>&lt;P&gt;Thank you for your prompt response&lt;BR /&gt;I have different container names&lt;BR /&gt;example replacing&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'test1' , 'test2', 'test3', 'test4', 'test5', 'test6', 'test7&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;to as an example&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'x99_846' , 'beacon score', 'account count', '', 'credit_transactions', 'status_active_years', 'current'&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;ect&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 20:11:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695127#M236397</guid>
      <dc:creator>Cheng2Ready</dc:creator>
      <dc:date>2024-08-02T20:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to  extract a csv data fields message data into fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695128#M236398</link>
      <description>&lt;P&gt;Does the search work for you?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 20:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695128#M236398</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T20:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to  extract a csv data fields message data into fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695138#M236400</link>
      <description>&lt;P&gt;partially&amp;nbsp;&lt;BR /&gt;Where we had "Example"&lt;BR /&gt;It can sometimes be other words&lt;BR /&gt;so its not capturing everything from&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;([&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 22:00:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695138#M236400</guid>
      <dc:creator>Cheng2Ready</dc:creator>
      <dc:date>2024-08-02T22:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to  extract a csv data fields message data into fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695143#M236401</link>
      <description>&lt;P&gt;I think I found the answer&lt;BR /&gt;| rex field="Example" seemed to work&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 23:49:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695143#M236401</guid>
      <dc:creator>Cheng2Ready</dc:creator>
      <dc:date>2024-08-02T23:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to  extract a csv data fields message data into fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695151#M236406</link>
      <description>&lt;P&gt;It is often quicker if you give accurate representations of your real data, not just made up names, but good that you worked out how to fix it.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 06:39:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-csv-data-fields-message-data-into-fields/m-p/695151#M236406</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-03T06:39:19Z</dc:date>
    </item>
  </channel>
</rss>

