<?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: Sending Data from Universal forwarder to splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Sending-Data-from-Universal-forwarder-to-splunk/m-p/487954#M83524</link>
    <description>&lt;P&gt;This can be accomplished with a batch upload to Splunk. &lt;STRONG&gt;Note:&lt;/STRONG&gt; this deletes the file upon indexing. If you have a script that copies the csv file to the batch upload directory, then this should work for what you need. If not, use the monitor stanza. &lt;/P&gt;

&lt;P&gt;The following configurations are for the Universal Forwarder:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# inputs.conf
[batch:///var/log/mycsvfiles]
index = [YOUR INDEX]
sourcetype = [YOUR SOURCETYPE]
move_policy = sinkhole
whitelist = .*\.csv

# props.conf
[source::...csv]
TIMESTAMP_FIELDS = [TIMESTAMP FIELD IN CSV]
INDEXED_EXTRACTIONS = CSV
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 28 Apr 2020 16:11:19 GMT</pubDate>
    <dc:creator>zacharychristen</dc:creator>
    <dc:date>2020-04-28T16:11:19Z</dc:date>
    <item>
      <title>Sending Data from Universal forwarder to splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sending-Data-from-Universal-forwarder-to-splunk/m-p/487953#M83523</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;

&lt;P&gt;We have multiple csv files so we need to send data from Universal forwarder to splunk. We tried so many ways we didn't get proper results.&lt;/P&gt;

&lt;P&gt;Please provide proper stazas for below data.&lt;/P&gt;

&lt;P&gt;I have attached csv data below.   &lt;/P&gt;

&lt;P&gt;"User","Device type","Device model","UDID","Mac Address","Company Name","OS Version","Agent Version","Latest Config","Policy Name","Last Seen","Registration State","Owner","Hostname","Manufacturer","Config Download Count","Registration TimeStamp","Config Download TimeStamp","Keep Alive Timestamp","Device Hardware Fingerprint","Tunnel Version"&lt;BR /&gt;
"&lt;A href="mailto:00000000@example.com"&gt;00000000@example.com&lt;/A&gt;","IO","Ap dummydevice7,2","958-5F-4-9D-8D999F","00:00:00:00","cbt","Version 11.2.6 (Build 15D100)","1.1.0 (156893) ","No","Unknown","2018-05-14 11:12:19 GMT","Outdated","","","App","1","2018-05-14 11:12:19 GMT","2018-05-14 11:12:19 GMT","2018-05-14 11:12:19 GMT","95-5F-4D-9D-BB",&lt;BR /&gt;
"&lt;A href="mailto:00000000@example.com"&gt;00000000@example.com&lt;/A&gt;","OS","A dummydevice10,3","4D3E8-49-4CB5-93-3FF467910CEC","00:00:00:00:00:00","cbt","Version 12.0 (Build 16A5365b)","1.2 (165787) ","No","Unknown","2018-08-30 15:41:57 GMT","Outdated","","","A","1","2018-08-30 15:25:34 GMT",,"2018-08-30 15:41:57 GMT","4D-EF-4C-93-3F",&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 06:57:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sending-Data-from-Universal-forwarder-to-splunk/m-p/487953#M83523</guid>
      <dc:creator>ajayabburi508</dc:creator>
      <dc:date>2020-04-28T06:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Data from Universal forwarder to splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sending-Data-from-Universal-forwarder-to-splunk/m-p/487954#M83524</link>
      <description>&lt;P&gt;This can be accomplished with a batch upload to Splunk. &lt;STRONG&gt;Note:&lt;/STRONG&gt; this deletes the file upon indexing. If you have a script that copies the csv file to the batch upload directory, then this should work for what you need. If not, use the monitor stanza. &lt;/P&gt;

&lt;P&gt;The following configurations are for the Universal Forwarder:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# inputs.conf
[batch:///var/log/mycsvfiles]
index = [YOUR INDEX]
sourcetype = [YOUR SOURCETYPE]
move_policy = sinkhole
whitelist = .*\.csv

# props.conf
[source::...csv]
TIMESTAMP_FIELDS = [TIMESTAMP FIELD IN CSV]
INDEXED_EXTRACTIONS = CSV
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Apr 2020 16:11:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sending-Data-from-Universal-forwarder-to-splunk/m-p/487954#M83524</guid>
      <dc:creator>zacharychristen</dc:creator>
      <dc:date>2020-04-28T16:11:19Z</dc:date>
    </item>
  </channel>
</rss>

