<?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 Field export doesn't work in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Field-export-doesn-t-work/m-p/22128#M3361</link>
    <description>&lt;P&gt;Okay wiht the help of Diana (thank you very mutch :-)!) we found the solution for this problem. This might be interesting for others with the same problem. The thing is I' am working with a indexer and a search head. Because the KVExport is made during the search-time, the extraction informations had to be on the search head. &lt;/P&gt;

&lt;P&gt;After putting the following Lines on the search head's transforms and props.conf everything worked as excepted.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf: &lt;BR /&gt;
[proxyKvExport] &lt;BR /&gt;
DELIMS = ","&lt;BR /&gt;
FIELDS "dummy","tran_id","tran_time","client_ip","scanning_server_ip","domain_user_name",
"user_domain","user_id","protocol","url","file_name","policy_id",
"identification_policy_id","https_policy_id","kaspersky_virus_name",
"sophos_virus_name","mcafee_virus_name","tran_size","HTMLRepaired","activex_name",
"xray","action_gid","admin_group","cache_hit"&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf :&lt;BR /&gt;
[proxy]&lt;BR /&gt;
REPORT-proxy_kv_export = proxyKvExport&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2011 21:06:21 GMT</pubDate>
    <dc:creator>Christian</dc:creator>
    <dc:date>2011-01-21T21:06:21Z</dc:date>
    <item>
      <title>CSV Field export doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Field-export-doesn-t-work/m-p/22127#M3360</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;i know there are a few other questions with good answers about my topic but I still have my problems. This is my setup :&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///data/proxy/archiv] 
disabled = false 
followTail = 0 
index = idx_proxy_pro 
sourcetype = proxy
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[proxy]
KV_MODE=none
CHECK_FOR_HEADER = false
SHOULD_LINEMERGE = false
TRANSFORMS-commentsToNull = commentsToNull
REPORT-proxy_kv_export = proxyKvExport
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf (with no linebreaks, this is just here) &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[proxyKvExport] 
DELIMS = ","
FIELDS "dummy","tran_id","tran_time","client_ip","scanning_server_ip","domain_user_name",
"user_domain","user_id","protocol","url","file_name","policy_id",
"identification_policy_id","https_policy_id","kaspersky_virus_name",
"sophos_virus_name","mcafee_virus_name","tran_size","HTMLRepaired","activex_name",
"xray","action_gid","admin_group","cache_hit"

[commentsToNull]
REGEX = ^[#R]
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is e example of the Logfile (values were replaced) :&lt;BR /&gt;
T,"4D1FECFE3A63930D6778","01/02/2011 04:11:58","111.111.111.111","1111.111.111.111","Username","Domain","16","HTTP","http://www.google.com","1.gif","229","215",,,,,"0",,,,"","none"," &lt;BR /&gt;
R,"4D1FECFE3A63930D6778","O"," ",0,1,1006,1006&lt;BR /&gt;
R,"4D1FECFE3A63930D6778","O"," ",0,8,8004,8005&lt;BR /&gt;
R,"4D1FECFE3A63930D6778","O"," ",0,19,19001,19001&lt;BR /&gt;
R,"4D1FECFE3A63930D6778","I"," ",0,8,8004,8005&lt;BR /&gt;
T,"4D1FECFE3A63930D6778","01/02/2011 04:11:58","111.111.111.111","1111.111.111.111","Username","Domain","16","HTTP","http://www.google.com","1.gif","229","215",,,,,"0",,,,"","none"," &lt;BR /&gt;
R,"4D1FECFE3A63930D6778","O"," ",0,1,1006,1006&lt;BR /&gt;
R,"4D1FECFE3A63930D6778","O"," ",0,8,8004,8005&lt;BR /&gt;
R,"4D1FECFE3A63930D6778","O"," ",0,19,19001,19001&lt;BR /&gt;
R,"4D1FECFE3A63930D6778","I"," ",0,8,8004,8005&lt;BR /&gt;
T,"4D1FECFE3A63930D6778","01/02/2011 04:11:58","111.111.111.111","1111.111.111.111","Username","Domain","16","HTTP","http://www.google.com","1.gif","229","215",,,,,"0",,,,"","none"," &lt;BR /&gt;
R,"4D1FECFE3A63930D6778","O"," ",0,1,1006,1006&lt;BR /&gt;
R,"4D1FECFE3A63930D6778","O"," ",0,8,8004,8005&lt;BR /&gt;
R,"4D1FECFE3A63930D6778","O"," ",0,19,19001,19001&lt;BR /&gt;
R,"4D1FECFE3A63930D6778","I"," ",0,8,8004,8005&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;I would like to dismiss the Lines beginning with R and # for this i have the Transformation commentsToNull witch works fine. Only the proxyKvExport doesn't work and I have no idea why not. &lt;/P&gt;

&lt;P&gt;Anyone a good hint ? &lt;/P&gt;

&lt;P&gt;thanks 
christian &lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2011 01:26:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Field-export-doesn-t-work/m-p/22127#M3360</guid>
      <dc:creator>Christian</dc:creator>
      <dc:date>2011-01-07T01:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Field export doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Field-export-doesn-t-work/m-p/22128#M3361</link>
      <description>&lt;P&gt;Okay wiht the help of Diana (thank you very mutch :-)!) we found the solution for this problem. This might be interesting for others with the same problem. The thing is I' am working with a indexer and a search head. Because the KVExport is made during the search-time, the extraction informations had to be on the search head. &lt;/P&gt;

&lt;P&gt;After putting the following Lines on the search head's transforms and props.conf everything worked as excepted.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf: &lt;BR /&gt;
[proxyKvExport] &lt;BR /&gt;
DELIMS = ","&lt;BR /&gt;
FIELDS "dummy","tran_id","tran_time","client_ip","scanning_server_ip","domain_user_name",
"user_domain","user_id","protocol","url","file_name","policy_id",
"identification_policy_id","https_policy_id","kaspersky_virus_name",
"sophos_virus_name","mcafee_virus_name","tran_size","HTMLRepaired","activex_name",
"xray","action_gid","admin_group","cache_hit"&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf :&lt;BR /&gt;
[proxy]&lt;BR /&gt;
REPORT-proxy_kv_export = proxyKvExport&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2011 21:06:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Field-export-doesn-t-work/m-p/22128#M3361</guid>
      <dc:creator>Christian</dc:creator>
      <dc:date>2011-01-21T21:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: CSV Field export doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-Field-export-doesn-t-work/m-p/22129#M3362</link>
      <description>&lt;P&gt;And here's the general description on which config has to go where:
&lt;A href="http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings%3F" rel="nofollow"&gt;http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2011 00:57:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-Field-export-doesn-t-work/m-p/22129#M3362</guid>
      <dc:creator>dvb</dc:creator>
      <dc:date>2011-01-22T00:57:02Z</dc:date>
    </item>
  </channel>
</rss>

