<?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: Impossible to define fields in transforms.conf. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489547#M83704</link>
    <description>&lt;P&gt;And if on the Splunk Server (Indexer) site, the Splunk Server should be restarted?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2019 11:36:44 GMT</pubDate>
    <dc:creator>spisiakmi</dc:creator>
    <dc:date>2019-09-25T11:36:44Z</dc:date>
    <item>
      <title>Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489544#M83701</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have simple tab delimited text file.&lt;/P&gt;

&lt;P&gt;1   05:45:12    first message    97&lt;BR /&gt;
1   05:52:15    second message  110&lt;BR /&gt;
1   05:52:46    third message    97&lt;BR /&gt;
1   05:53:09    fourth message  110&lt;/P&gt;

&lt;P&gt;I want to index it with header definined in transforms.conf&lt;BR /&gt;
Here are my config files:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;**inputs.conf**

[monitor://c:\temp\seho\err\]
disabled = false
index = seho_err_tmp
sourcetype = tsv_WINDOWS-1252
crcSalt=

**props.conf**

[tsv_WINDOWS-1252]
BREAK_ONLY_BEFORE_DATE = 
CHARSET = WINDOWS-1252
INDEXED_EXTRACTIONS = tsv
KV_MODE = none
LINE_BREAKER = ([\r\n]+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
description = Tab-separated value format. Set header and other settings in "Delimited Settings"
disabled = false
pulldown_type = 1
REPORT-getfields=seho_err_fields

transforms.conf

[seho_err_fields]
DELIMS=":\t"
FIELDS=Fehler,Zeit,Fehlermeldungtext,Fehlernummer

I tried also \t, "\t".
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The defined fields never appear in Splunk and the first row from the file is defined as a header by default. Can anybody help me, please?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 13:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489544#M83701</guid>
      <dc:creator>spisiakmi</dc:creator>
      <dc:date>2019-09-24T13:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489545#M83702</link>
      <description>&lt;P&gt;nothing better then a question with "Impossible" at the headline&lt;BR /&gt;
here are the steps to accomplish:&lt;BR /&gt;
your data created in a file &lt;CODE&gt;tsv_no_header.txt&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1 05:45:12 first message 97
1 05:52:15 second message 110
1 05:52:46 third message 97
1 05:53:09 fourth message 110
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in &lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tsv_no_header]
SHOULD_LINEMERGE = false
REPORT-no_header = no_header
LINE_BREAKER = ([\r\n]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in &lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[no_header]
DELIMS = " ","\t"
FIELDS = a,b,c,d,e
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;note: &lt;CODE&gt;"\t"&lt;/CODE&gt; supposed to be enough, i used both delimiters as i copied to a text file&lt;/P&gt;

&lt;P&gt;screenshot:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7730i190AF46690136253/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;dont forget to restart splunk on the first full instance that "touches" the data, HF or Indexer/s&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 03:52:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489545#M83702</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-09-25T03:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489546#M83703</link>
      <description>&lt;P&gt;Hi Adonio,&lt;/P&gt;

&lt;P&gt;thank you for the reaction. The props.conf and the transforms.conf should be defined on the FW or on the Splunk Server site?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 11:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489546#M83703</guid>
      <dc:creator>spisiakmi</dc:creator>
      <dc:date>2019-09-25T11:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489547#M83704</link>
      <description>&lt;P&gt;And if on the Splunk Server (Indexer) site, the Splunk Server should be restarted?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 11:36:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489547#M83704</guid>
      <dc:creator>spisiakmi</dc:creator>
      <dc:date>2019-09-25T11:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489548#M83705</link>
      <description>&lt;P&gt;Hi Adonio,&lt;/P&gt;

&lt;P&gt;i made all the steps, you mentioned, also with the restart of the fw. And unfortunatelly only the first row from the file has been indexed and without the field a and the last value from the first row 97. b=1, c=05:45:12, d=first, e=message.&lt;BR /&gt;
See the screenshots &lt;BR /&gt;
&lt;A href="https://ibb.co/F4MRJKn"&gt;https://ibb.co/F4MRJKn&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://ibb.co/5RZjZsH"&gt;https://ibb.co/5RZjZsH&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 12:34:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489548#M83705</guid>
      <dc:creator>spisiakmi</dc:creator>
      <dc:date>2019-09-25T12:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489549#M83706</link>
      <description>&lt;P&gt;@spisiakmi please read my answer all the way&lt;BR /&gt;
the configurations should be on the first FULL SPLUNK INSTANCE e.g. Heavy Forwarder OR Indexer/s - not a Universal Forwarder &lt;BR /&gt;
you need to restart that instance after applying configarions&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:33:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489549#M83706</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-09-25T14:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489550#M83707</link>
      <description>&lt;P&gt;Thank you. But I have no possibility to restart the Indexer.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:50:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489550#M83707</guid>
      <dc:creator>spisiakmi</dc:creator>
      <dc:date>2019-09-25T14:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489551#M83708</link>
      <description>&lt;P&gt;I found a solution, which works. Because I have no possibility to restart the Indexer, I created props.conf on UniFW site like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf

[tsv_seho_err]
CHARSET = WINDOWS-1252
DATETIME_CONFIG = 
FIELD_DELIMITER = tab
FIELD_NAMES = Fehler, Zeit, Fehlermeldungtext, Fehlernummer
INDEXED_EXTRACTIONS = tsv
LINE_BREAKER = ([\r\n]+)
NO_BINARY_CHECK = true
category = Benutzerdefiniert
description = Tab getrennte Werte ohne Header
pulldown_type = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and it works.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489551#M83708</guid>
      <dc:creator>spisiakmi</dc:creator>
      <dc:date>2019-09-25T14:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489552#M83709</link>
      <description>&lt;P&gt;And if I want to skip indexing the third column, I can use this syntax&lt;BR /&gt;
FIELD_NAMES = Fehler, Zeit, , Fehlernummer&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 15:20:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489552#M83709</guid>
      <dc:creator>spisiakmi</dc:creator>
      <dc:date>2019-09-25T15:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Impossible to define fields in transforms.conf.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489553#M83710</link>
      <description>&lt;P&gt;good, as long as it is not "Impossible"&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 15:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Impossible-to-define-fields-in-transforms-conf/m-p/489553#M83710</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-09-25T15:25:34Z</dc:date>
    </item>
  </channel>
</rss>

