<?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: CSV Japanese header extraction in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42959#M8024</link>
    <description>&lt;P&gt;Please try to add the setting in configuration: "crcSalt = &lt;SOURCE&gt;" In inputs.conf --- For more information, please see: &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Monitorfilesanddirectories#Monitor_syntax_and_examples"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Monitorfilesanddirectories#Monitor_syntax_and_examples&lt;/A&gt;&lt;/SOURCE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2011 14:56:27 GMT</pubDate>
    <dc:creator>Hajime</dc:creator>
    <dc:date>2011-02-28T14:56:27Z</dc:date>
    <item>
      <title>CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42950#M8015</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;

&lt;P&gt;I want to extract the Japanese CSV header from csv log file. I am configurations are as follows.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;inputs.conf
---------------------------------------
[monitor:C:\Program Files\Splunk\etc\apps\tougou\tougou_logs\*.csv]
disabled = false
host =My-PC
index =myindex

props.conf
[source::...CPU...]
sourcetype = cpu

[source::...Disk...]
sourcetype = disk

[source::...Network...]
sourcetype = network

[source::...Swap_Rate...]
sourcetype = swap-rate


[disk]
CHECK_FOR_HEADER=TRUE
 #REPORT-disk=argus_extractions_disk

[network]
CHECK_FOR_HEADER=TRUE
#REPORT-network=argus_extractions_network

[cpu]
CHECK_FOR_HEADER=TRUE
#REPORT-cpu=argus_extractions_cpu

[swap-rate]
CHECK_FOR_HEADER=TRUE
#REPORT-swap-rate=argus_extractions_swap_rate


----------------------------------------------------
transforms.conf
----------------------------------------------------
[argus_extractions_disk]
DELIMS=","
FIELDS="タイムゾーン","記録時間","システム名","タイム・スタンプ","ディスク名","マウント・ポイント","ファイル・システム・タイプ","サイズ (MB)","使用 ディスク (MB)","使用 ディスク 率","フリー・ ディスク (MB)","フリー・ ディスク 率","合計 i ノード","使用済み i ノード数","i ノード使用率","空き i ノード","フリーの i ノード 率"

[argus_extractions_network]
DELIMS=","
FIELDS="タイムゾーン","記録時間","システム名","タイム・スタンプ","ネットワーク・インターフェース名","IPアドレス","インターフェース状況","最大転送単位","受信 数 (KB)","1 秒当たりの 受信 バイト","送信 数 (KB)","1 秒当たりの 送信 バイト","受信パケット","1 秒当たりの 受信 パケット","送信パケット","1 秒当たりの 送信 パケット","入力エラー","出力エラー","合計衝突","衝突  (分あたり)","衝突率","入力エラー (分あたり)","出力エラー (分あたり)","エラー (%)","ドロップした入力パケット","ドロップした出力パケット","入力 FIFO バッファー・オーバーラン","出力 FIFO バッファー・オーバーラン","パケット・フレーム・エラー","キャリア・ロス","入力エラー (%)","出力エラー (%)","デバイス・タイプ","MACアドレス"

[argus_extractions_cpu]
DELIMS=","
FIELDS="タイムゾーン","記録時間","システム名","タイム・スタンプ","CPU ID","ユーザー CPU (%)","ユーザー・ナイス CPU (%)","システム CPU (%)","アイドル CPU (%)","使用中の CPU (%)","I/O 待機率 (%)","システム CPU に対するユーザー (%)"

[argus_extractions_swap_rate]
DELIMS=","
FIELDS="タイムゾーン","記録時間","システム名","タイム・スタンプ","合計 スワップ・スペース  (MB)  (移動平均)","使用 スワップ・スペース  (MB)  (移動平均)","使用 スワップ・ スペース (バイト/時)","スワップ・スペースが いっぱいになる までの日数","スワップ・ スペース使用の ピーク  (MB)","スワップがフルになるまでの最小日数","空いている 実メモリーの 最低水準点  (KB)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Your help appreaciate.&lt;/P&gt;

&lt;P&gt;Regards
newbie&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2011 22:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42950#M8015</guid>
      <dc:creator>msona</dc:creator>
      <dc:date>2011-02-11T22:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42951#M8016</link>
      <description>&lt;P&gt;Hi, Unfortunately you can not use Japanese field names.&lt;/P&gt;

&lt;P&gt;Splunk only accepts field names that contain alpha-numeric characters or an underscore.&lt;/P&gt;

&lt;P&gt;For more information, please see: &lt;BR /&gt;
&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Configureindex-timefieldextraction#Define_additional_indexed_fields" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Configureindex-timefieldextraction#Define_additional_indexed_fields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2011 12:25:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42951#M8016</guid>
      <dc:creator>Hajime</dc:creator>
      <dc:date>2011-02-14T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42952#M8017</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Thanks for the answer but How can I remove this header ?&lt;BR /&gt;
I have written English fields so that I can able to extract all the fields. But I am getting that header in fields. How I can remove that header from fields ???&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2011 13:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42952#M8017</guid>
      <dc:creator>msona</dc:creator>
      <dc:date>2011-02-15T13:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42953#M8018</link>
      <description>&lt;P&gt;If the header starts from "タイムゾーン,", you can remove that header in the following way.&lt;/P&gt;

&lt;P&gt;props.conf: (e.g. sourcetype=cpu)&lt;/P&gt;

&lt;P&gt;[cpu]&lt;BR /&gt;
TRANSFORMS-null = setnull&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;P&gt;[setnull]&lt;BR /&gt;
REGEX = ^タイムゾーン,.*&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;Please try, should work.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2011 09:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42953#M8018</guid>
      <dc:creator>Hajime</dc:creator>
      <dc:date>2011-02-16T09:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42954#M8019</link>
      <description>&lt;P&gt;Dear Hajime San,&lt;BR /&gt;
Thank you very much for quick answers. I have tried with above but only one source type removed. Here is my configuration.&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[disk]&lt;BR /&gt;
REPORT-disk=argus_extractions_disk&lt;BR /&gt;
TRANSFORMS-null= setnull&lt;/P&gt;

&lt;P&gt;[network]&lt;BR /&gt;
REPORT-network=argus_extractions_network&lt;BR /&gt;
TRANSFORMS-null= setnull&lt;/P&gt;

&lt;P&gt;[cpu]&lt;BR /&gt;
REPORT-cpu=argus_extractions_cpu&lt;BR /&gt;
TRANSFORMS-null= setnull&lt;/P&gt;

&lt;P&gt;[swap-rate]&lt;BR /&gt;
REPORT-swap-rate=argus_extractions_swap_rate&lt;BR /&gt;
TRANSFORMS-null= setnull&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;BR /&gt;
[setnull] &lt;BR /&gt;
REGEX = ^タイムゾーン,* &lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:25:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42954#M8019</guid>
      <dc:creator>msona</dc:creator>
      <dc:date>2020-09-28T09:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42955#M8020</link>
      <description>&lt;P&gt;Hello. As you point out, my examples are applied to one source type.&lt;BR /&gt;
I think your settings are correct.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 17:09:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42955#M8020</guid>
      <dc:creator>Hajime</dc:creator>
      <dc:date>2011-02-17T17:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42956#M8021</link>
      <description>&lt;P&gt;Hi, yes I understood, but my all sorurcetypes are starting from タイムゾーン, so REGEX is same for all source type. Should I write different name only ?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:29:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42956#M8021</guid>
      <dc:creator>msona</dc:creator>
      <dc:date>2011-02-18T10:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42957#M8022</link>
      <description>&lt;P&gt;Yes. You should be set individually.&lt;BR /&gt;
However, you can use [default] to set globally. &lt;BR /&gt;
For example, In props.conf: &lt;BR /&gt;
[default] &lt;BR /&gt;
TRANSFORMS-null= setnull&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2011 12:18:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42957#M8022</guid>
      <dc:creator>Hajime</dc:creator>
      <dc:date>2011-02-18T12:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42958#M8023</link>
      <description>&lt;P&gt;Hi Hajime san,&lt;/P&gt;

&lt;P&gt;I am facing the problem that all the data is not getting index and follwoing error I got in splunkd.log  :  &lt;/P&gt;

&lt;P&gt;02-25-2011 19:41:58.030 ERROR TailingProcessor - Ignoring path due to: File will not be read, is too small to match seekptr checksum (file=C:\EDN\test01\kednwbs01_KLZ_Disk_110213.csv). Last time we saw this initcrc, filename was different. You may wish to use a CRC salt on this source. Consult the documentation or file a support case online at &lt;A href="http://www.splunk.com/page/submit_issue" target="_blank"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt; for more info.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:25:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42958#M8023</guid>
      <dc:creator>msona</dc:creator>
      <dc:date>2020-09-28T09:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42959#M8024</link>
      <description>&lt;P&gt;Please try to add the setting in configuration: "crcSalt = &lt;SOURCE&gt;" In inputs.conf --- For more information, please see: &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Monitorfilesanddirectories#Monitor_syntax_and_examples"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Monitorfilesanddirectories#Monitor_syntax_and_examples&lt;/A&gt;&lt;/SOURCE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2011 14:56:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42959#M8024</guid>
      <dc:creator>Hajime</dc:creator>
      <dc:date>2011-02-28T14:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Japanese header extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42960#M8025</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;You might be able to extract fields with using Japanese field names in this case.&lt;/P&gt;

&lt;P&gt;I don't recommend it.So, Hajime-san is right. But... you can (I confirm it with Splunk 4.1.7.)&lt;/P&gt;

&lt;P&gt;And you keep in mind that Splunk cannot handle any field names containing space characters.
Could you try to change " "(space) to "_"(underscore) in transforms.conf settings?&lt;/P&gt;

&lt;P&gt;For example,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[argus_extractions_disk]
DELIMS=","
FIELDS="タイムゾーン","記録時間","システム名","タイム・スタンプ","ディスク名","マウント・ポイント","ファイル・システム・タイプ","サイズ_(MB)","使用_ディスク_(MB)","使用 ディスク_率","フリー・_ディスク (MB)","フリー・_ディスク_率","合計_i_ノード","使用済み_i_ノード数","i_ノード使用率","空き_i_ノード","フリーの_i_ノード_率"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope it will help your splunking!&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;Kenichi Suda&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2011 15:40:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Japanese-header-extraction/m-p/42960#M8025</guid>
      <dc:creator>Suda</dc:creator>
      <dc:date>2011-04-06T15:40:35Z</dc:date>
    </item>
  </channel>
</rss>

