<?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 extract fields from _raw field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-raw-field/m-p/52352#M12718</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am new to Splunk.&lt;BR /&gt;
I have informatica log.i have uploaded into splunk.when i am searching i am getting 5 fields.&lt;BR /&gt;
in that 5 fields i have _raw field that contains all the fields that i want in my Report.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time                                   host     sourcetype source    _raw

6 6/28/12 7:09:35.000 AM     NODE_DEV    Informatica     S_M_O1_HR_APPL_ASSIGN_EXTRACT.txt  2012-06-28 07:09:35 : INFO : (28947 | DIRECTOR) : (IS | Integration_Service_Dev) : NODE_DEV : CMN_1740 : Table: [SQ_IRC_ASSIGNMENT_STATUSES] (Instance Name: [SQ_IRC_ASSIGNMENT_STATUSES]) Output Rows [5497], Affected Rows [5497], Applied Rows [5497], Rejected Rows [0]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;_raw field contains Instance Name,Output Rows,Affected Rows,Applied Rows,Rejected Rows.&lt;BR /&gt;
My requirement is i want Instance Name,Output Rows,Affected Rows,Applied Rows,Rejected Rows to be displayed as seperate fields in my report.&lt;/P&gt;

&lt;P&gt;Please suggest me the Solve.&lt;/P&gt;

&lt;P&gt;Reply ASAP.&lt;BR /&gt;
Thanks and Regards&lt;BR /&gt;
Kiran Kumar&lt;/P&gt;</description>
    <pubDate>Thu, 06 Sep 2012 07:09:02 GMT</pubDate>
    <dc:creator>kiran4splunk</dc:creator>
    <dc:date>2012-09-06T07:09:02Z</dc:date>
    <item>
      <title>How to extract fields from _raw field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-raw-field/m-p/52352#M12718</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am new to Splunk.&lt;BR /&gt;
I have informatica log.i have uploaded into splunk.when i am searching i am getting 5 fields.&lt;BR /&gt;
in that 5 fields i have _raw field that contains all the fields that i want in my Report.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time                                   host     sourcetype source    _raw

6 6/28/12 7:09:35.000 AM     NODE_DEV    Informatica     S_M_O1_HR_APPL_ASSIGN_EXTRACT.txt  2012-06-28 07:09:35 : INFO : (28947 | DIRECTOR) : (IS | Integration_Service_Dev) : NODE_DEV : CMN_1740 : Table: [SQ_IRC_ASSIGNMENT_STATUSES] (Instance Name: [SQ_IRC_ASSIGNMENT_STATUSES]) Output Rows [5497], Affected Rows [5497], Applied Rows [5497], Rejected Rows [0]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;_raw field contains Instance Name,Output Rows,Affected Rows,Applied Rows,Rejected Rows.&lt;BR /&gt;
My requirement is i want Instance Name,Output Rows,Affected Rows,Applied Rows,Rejected Rows to be displayed as seperate fields in my report.&lt;/P&gt;

&lt;P&gt;Please suggest me the Solve.&lt;/P&gt;

&lt;P&gt;Reply ASAP.&lt;BR /&gt;
Thanks and Regards&lt;BR /&gt;
Kiran Kumar&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2012 07:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-raw-field/m-p/52352#M12718</guid>
      <dc:creator>kiran4splunk</dc:creator>
      <dc:date>2012-09-06T07:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from _raw field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-raw-field/m-p/52353#M12719</link>
      <description>&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/InteractiveFieldExtractionExample"&gt;http://docs.splunk.com/Documentation/Splunk/latest/User/InteractiveFieldExtractionExample&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Once you have your fields defined you can simply report on them in a tabular fashion:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | table _time, InstanceName,OutputRows,AffectedRows,AppliedRows,RejectedRows
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or create sophisticated charts and reports&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats sum(OutputRows) by InstanceName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Sep 2012 08:42:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-raw-field/m-p/52353#M12719</guid>
      <dc:creator>ayme</dc:creator>
      <dc:date>2012-09-06T08:42:11Z</dc:date>
    </item>
  </channel>
</rss>

