<?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: I want to parse the below structured data. I want only second and third field to get indexed and rest to be discarded. I am using the below configuration: in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240156#M46641</link>
    <description>&lt;P&gt;Hi @umeshagarwal008 &lt;/P&gt;

&lt;P&gt;You can use field transformations in props, TRANSFORMS-q=nq&lt;BR /&gt;
then in transforms.conf &lt;BR /&gt;
[nq]&lt;BR /&gt;
REGEX=CHINA.* | NEPAL.*&lt;BR /&gt;
FORMAT=queue&lt;BR /&gt;
DEST_KEY=nullQueue&lt;/P&gt;

&lt;P&gt;hope this helps..&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Pramodh&lt;/P&gt;</description>
    <pubDate>Sun, 08 Mar 2020 11:19:40 GMT</pubDate>
    <dc:creator>PramodhKumar</dc:creator>
    <dc:date>2020-03-08T11:19:40Z</dc:date>
    <item>
      <title>I want to parse the below structured data. I want only second and third field to get indexed and rest to be discarded. I am using the below configuration:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240149#M46634</link>
      <description>&lt;P&gt;Sample Data:&lt;BR /&gt;
FILED1|FIELD2|FIELD3|FIELD4&lt;BR /&gt;
INDIA|AGRICULTURE|HELLO|200&lt;BR /&gt;
AMERICA|FOOD|HELLO |404&lt;BR /&gt;
CHINA|PEOPLE|HI|402&lt;BR /&gt;
NEPAL|COLTHS|HI|411&lt;/P&gt;

&lt;P&gt;Output should have only have only field FIELD2 &amp;amp; FIELD3 data. &lt;/P&gt;

&lt;P&gt;Inputs.conf&lt;BR /&gt;
[monitor://C:\testauths*.txt]&lt;BR /&gt;
index=main&lt;BR /&gt;
sourcetype=mytestdata&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[mytestdata]&lt;BR /&gt;
CHARSET=AUTO&lt;BR /&gt;
DATETIME_CONFIG=CURRENT&lt;BR /&gt;
INDEXED_EXTRACTIONS=csv&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
disabled=false&lt;BR /&gt;
pulldown_type=true&lt;BR /&gt;
FIELD_DELIMITER=|&lt;BR /&gt;
HEADER_FIELD_LINE_NUMBER=0&lt;BR /&gt;
REPORT-fields = getLogData&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[getLogData]&lt;BR /&gt;
DELIMS = "|"&lt;BR /&gt;
FIELDS= "",FIELD2,FIELD3,""&lt;/P&gt;

&lt;P&gt;I am sure somewhere i am making mistake. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:27:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240149#M46634</guid>
      <dc:creator>umeshagarwal</dc:creator>
      <dc:date>2020-09-29T12:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: I want to parse the below structured data. I want only second and third field to get indexed and rest to be discarded. I am using the below configuration:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240150#M46635</link>
      <description>&lt;P&gt;Do you want them indexed, or extracted at search time?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 17:58:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240150#M46635</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-01-17T17:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: I want to parse the below structured data. I want only second and third field to get indexed and rest to be discarded. I am using the below configuration:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240151#M46636</link>
      <description>&lt;P&gt;Here's some things that I'd try, one at a time -&lt;/P&gt;

&lt;P&gt;A) change to INDEXED_EXTRACTIONS=psv. &lt;BR /&gt;
(This may not help but should not hurt.)&lt;/P&gt;

&lt;P&gt;B) change namespace from REPORT-fields to REPORT-search or REPORT-yourappname.&lt;BR /&gt;
(This is my best guess of the real issue.)&lt;/P&gt;

&lt;P&gt;C) remove pulldown_type clause &lt;BR /&gt;
(In the admin manual, it says # NOT YOURS. DO NOT SET.)&lt;/P&gt;

&lt;P&gt;D) remove disabled clause &lt;BR /&gt;
(I don't find it in the admin manual for that stanza.)&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:31:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240151#M46636</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-01-17T18:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: I want to parse the below structured data. I want only second and third field to get indexed and rest to be discarded. I am using the below configuration:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240152#M46637</link>
      <description>&lt;P&gt;I want to them to be indexed. &lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 11:16:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240152#M46637</guid>
      <dc:creator>umeshagarwal</dc:creator>
      <dc:date>2017-01-18T11:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: I want to parse the below structured data. I want only second and third field to get indexed and rest to be discarded. I am using the below configuration:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240153#M46638</link>
      <description>&lt;P&gt;Tried with the above changes but now I am not getting any data indexed. &lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 11:41:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240153#M46638</guid>
      <dc:creator>umeshagarwal</dc:creator>
      <dc:date>2017-01-18T11:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: I want to parse the below structured data. I want only second and third field to get indexed and rest to be discarded. I am using the below configuration:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240154#M46639</link>
      <description>&lt;P&gt;which change caused the data to stop indexing?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 03:56:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240154#M46639</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-01-22T03:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: I want to parse the below structured data. I want only second and third field to get indexed and rest to be discarded. I am using the below configuration:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240155#M46640</link>
      <description>&lt;P&gt;After restarting splunk all data are getting indexed rather than the two fields. &lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 14:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240155#M46640</guid>
      <dc:creator>umeshagarwal</dc:creator>
      <dc:date>2017-02-02T14:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: I want to parse the below structured data. I want only second and third field to get indexed and rest to be discarded. I am using the below configuration:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240156#M46641</link>
      <description>&lt;P&gt;Hi @umeshagarwal008 &lt;/P&gt;

&lt;P&gt;You can use field transformations in props, TRANSFORMS-q=nq&lt;BR /&gt;
then in transforms.conf &lt;BR /&gt;
[nq]&lt;BR /&gt;
REGEX=CHINA.* | NEPAL.*&lt;BR /&gt;
FORMAT=queue&lt;BR /&gt;
DEST_KEY=nullQueue&lt;/P&gt;

&lt;P&gt;hope this helps..&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Pramodh&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 11:19:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/I-want-to-parse-the-below-structured-data-I-want-only-second-and/m-p/240156#M46641</guid>
      <dc:creator>PramodhKumar</dc:creator>
      <dc:date>2020-03-08T11:19:40Z</dc:date>
    </item>
  </channel>
</rss>

