<?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: splunk delimeter setup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/splunk-delimeter-setup/m-p/77706#M19635</link>
    <description>&lt;P&gt;Updated my answer with an example.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jun 2012 14:27:58 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2012-06-18T14:27:58Z</dc:date>
    <item>
      <title>splunk delimeter setup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-delimeter-setup/m-p/77703#M19632</link>
      <description>&lt;P&gt;i have a txt file that is seperated by semicolons ";" that i am sending via TCP. How do i set it up to where i can assign each seperation with a field? i tried doing it through the web manager but it wouldnt extract the fields. &lt;/P&gt;

&lt;P&gt;This wouldn't work: &lt;BR /&gt;
props.conf:&lt;BR /&gt;
[xxx_fields]&lt;BR /&gt;
DELIMS=";"&lt;BR /&gt;
FIELDS = "x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9"&lt;/P&gt;

&lt;P&gt;Example would be: &lt;BR /&gt;
Header&lt;BR /&gt;
x1;x2;x3;x4;x5;x6;x7;x8;x9&lt;/P&gt;

&lt;P&gt;Raw Fields&lt;BR /&gt;
x;x;x;x;x;x;x;x;x&lt;/P&gt;

&lt;P&gt;Basically i just want to be able to search by the header fields...please help &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2012 14:07:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-delimeter-setup/m-p/77703#M19632</guid>
      <dc:creator>splunk_gs</dc:creator>
      <dc:date>2012-06-18T14:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: splunk delimeter setup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-delimeter-setup/m-p/77704#M19633</link>
      <description>&lt;P&gt;The DELIMS/FIELDS settings should go in transforms.conf, not props.conf. In props.conf you put a stanza that defines which data this should apply to, for instance by specifying a sourcetype, source or similar, and also a REPORT directive that refers to the transform containing the DELIMS/FIELDS settings.&lt;/P&gt;

&lt;P&gt;EDIT: An example:&lt;/P&gt;

&lt;P&gt;Let's say the logs you want to apply this to have sourcetype "my_sourcetype". In props.conf, you would put:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourcetype]
REPORT-getfields = mysourcetype_fields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In transforms.conf, put:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype_fields]
DELIMS=";"
FIELDS = "x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Fields should now be extracted for events with the sourcetype "my_sourcetype".&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2012 14:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-delimeter-setup/m-p/77704#M19633</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-06-18T14:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: splunk delimeter setup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-delimeter-setup/m-p/77705#M19634</link>
      <description>&lt;P&gt;can you give me an example please?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2012 14:20:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-delimeter-setup/m-p/77705#M19634</guid>
      <dc:creator>splunk_gs</dc:creator>
      <dc:date>2012-06-18T14:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: splunk delimeter setup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-delimeter-setup/m-p/77706#M19635</link>
      <description>&lt;P&gt;Updated my answer with an example.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2012 14:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-delimeter-setup/m-p/77706#M19635</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-06-18T14:27:58Z</dc:date>
    </item>
  </channel>
</rss>

