<?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 file not getting indexed in correct format through UF but parses correctly through WEB UI? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423544#M74372</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;is your test environment also Kali Linux? If yes, I would start and try to monitor there too. The input assitant (WEB UI) as some rare effects (shouldlinemerge). &lt;/P&gt;

&lt;P&gt;Looking at wrong-format.png, splunk might take the wrong delimiter/quote char. You could try to define these explicitly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;HEADER_FIELD_DELIMITER
FIELD_DELIMITER
FIELD_QUOTE 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Propsconf"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Could you post what the file looks like? Maybe check on Kali Linux something like &lt;CODE&gt;cat -T yourfile.csv&lt;/CODE&gt;&lt;BR /&gt;
&lt;A href="https://www.if-not-true-then-false.com/2011/linux-display-show-file-contents-tabs-line-breaks-non-printing-characters/"&gt;https://www.if-not-true-then-false.com/2011/linux-display-show-file-contents-tabs-line-breaks-non-printing-characters/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Cheerz,&lt;BR /&gt;
Björn&lt;/P&gt;</description>
    <pubDate>Wed, 05 Dec 2018 08:11:21 GMT</pubDate>
    <dc:creator>bjoernjensen</dc:creator>
    <dc:date>2018-12-05T08:11:21Z</dc:date>
    <item>
      <title>CSV file not getting indexed in correct format through UF but parses correctly through WEB UI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423540#M74368</link>
      <description>&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/256758-wrong-format.png" alt="alt text" /&gt;Has any one installed Splunk UF on Kali linux and faced any issues?.We have Splunk UF(7.1.1) installed on Kali linux and monitoring a path as below.The csv file is not coming in right format from the forwarder but when tried uploading in test environment through WEB UI(Settings--&amp;gt;Add Data---&amp;gt;Upload file ) shows the correct format&lt;/P&gt;

&lt;P&gt;Below is the path of the csv file&lt;/P&gt;

&lt;P&gt;/home/reports/8e20594b-282a-493e-ad9a-dc69e0ac676c.csv and I am using the monitor stanza as below&lt;/P&gt;

&lt;P&gt;[monitor:///home/reports/*.csv]&lt;BR /&gt;
recursive = true&lt;BR /&gt;
index = main&lt;BR /&gt;
sourcetype = rf&lt;BR /&gt;
initCrcLength = 1024&lt;BR /&gt;
crcSalt = &lt;/P&gt;

&lt;P&gt;props.conf &lt;/P&gt;

&lt;P&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
CHARSET=UTF-8&lt;BR /&gt;
INDEXED_EXTRACTIONS=csv&lt;BR /&gt;
KV_MODE=none&lt;BR /&gt;
category=Structured&lt;BR /&gt;
disabled=false&lt;BR /&gt;
pulldown_type=true&lt;BR /&gt;
TIMESTAMP_FIELDS=Timestamp&lt;BR /&gt;
HEADER_FIELD_LINE_NUMBER=1&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:17:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423540#M74368</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2020-09-29T22:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file not getting indexed in correct format through UF but parses correctly through WEB UI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423541#M74369</link>
      <description>&lt;P&gt;Can you give an example of what is different when you ingest this file with a UF? Are the fields not being parsed properly?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 01:09:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423541#M74369</guid>
      <dc:creator>dflodstrom</dc:creator>
      <dc:date>2018-12-05T01:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file not getting indexed in correct format through UF but parses correctly through WEB UI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423542#M74370</link>
      <description>&lt;P&gt;I have attached screen shot in the question of images which worked and did not work&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 01:24:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423542#M74370</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2018-12-05T01:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file not getting indexed in correct format through UF but parses correctly through WEB UI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423543#M74371</link>
      <description>&lt;P&gt;It looks like your events are many lines. Is that true in the source file? You may need a custom LINE_BREAKER if these are multi-line events. &lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 02:40:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423543#M74371</guid>
      <dc:creator>dflodstrom</dc:creator>
      <dc:date>2018-12-05T02:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file not getting indexed in correct format through UF but parses correctly through WEB UI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423544#M74372</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;is your test environment also Kali Linux? If yes, I would start and try to monitor there too. The input assitant (WEB UI) as some rare effects (shouldlinemerge). &lt;/P&gt;

&lt;P&gt;Looking at wrong-format.png, splunk might take the wrong delimiter/quote char. You could try to define these explicitly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;HEADER_FIELD_DELIMITER
FIELD_DELIMITER
FIELD_QUOTE 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Propsconf"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Could you post what the file looks like? Maybe check on Kali Linux something like &lt;CODE&gt;cat -T yourfile.csv&lt;/CODE&gt;&lt;BR /&gt;
&lt;A href="https://www.if-not-true-then-false.com/2011/linux-display-show-file-contents-tabs-line-breaks-non-printing-characters/"&gt;https://www.if-not-true-then-false.com/2011/linux-display-show-file-contents-tabs-line-breaks-non-printing-characters/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Cheerz,&lt;BR /&gt;
Björn&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 08:11:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423544#M74372</guid>
      <dc:creator>bjoernjensen</dc:creator>
      <dc:date>2018-12-05T08:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file not getting indexed in correct format through UF but parses correctly through WEB UI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423545#M74373</link>
      <description>&lt;P&gt;To double check: you have that props.conf deployed on your universal forwarder as well as your indexer(s)? Normally UFs don't do much with props.conf of course, but INDEXED_EXTRACTIONS are one of the exceptions to that.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 08:20:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423545#M74373</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-12-05T08:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file not getting indexed in correct format through UF but parses correctly through WEB UI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423546#M74374</link>
      <description>&lt;P&gt;The WEB UI is not a kali linux.The timestamp field shows none and I think it is not picking the time as mentioned in the props. Below is the format of the file after running the command&lt;/P&gt;

&lt;P&gt;cat -T yourfile.csv&lt;/P&gt;

&lt;P&gt;IP,Hostname,Port,Port Protocol,CVSS,Severity,Solution Type,NVT Name,Summary,Specific Result,NVT OID,CVEs,Task ID,Task Name,Timestamp,Result ID,Impact,Solution,Affected Software/OS,Vulnerability Insight,Vulnerability Detection Method,Product Detection Result,BIDs,CERTs,Other References 10.22.19.1,,,,0.0,Log,"","CPE Inventory","This routine uses information collected by other routines about&lt;BR /&gt;
  CPE identities (&lt;A href="http://cpe.mitre.org/"&gt;http://cpe.mitre.org/&lt;/A&gt;) of operating systems, services and&lt;BR /&gt;
  applications detected during the scan.","10.22.19.1|cpe:/o:cisco",1.3.6.1.4.1.25623.1.0.810002,"NOCVE",ed32074a-1188-45f4-9c59-50ec456a43f2,"Harbor East 10.22.19.0/24",2018-11-22T16:23:20-05:00,0100f392-2d3e-4c39-b7db-45b2b1674018,"","","","","&lt;BR /&gt;
Details:&lt;BR /&gt;
CPE Inventory&lt;BR /&gt;
(OID: 1.3.6.1.4.1.25623.1.0.810002)&lt;BR /&gt;
Version used: $Revision: 8140 $&lt;BR /&gt;
","","","",""&lt;BR /&gt;
10.22.19.2,,,,0.0,Log,"","CPE Inventory","This routine uses information collected by other routines about&lt;BR /&gt;
  CPE identities (&lt;A href="http://cpe.mitre.org/"&gt;http://cpe.mitre.org/&lt;/A&gt;) of operating systems, services and&lt;BR /&gt;
  applications detected during the scan.","10.22.19.2|cpe:/o:cisco",1.3.6.1.4.1.25623.1.0.810002,"NOCVE",ed32074a-1188-45f4-9c59-50ec456a43f2,"Harbor East 10.22.19.0/24",2018-11-22T16:23:20-05:00,993222f0-69af-4454-b20f-d7ae8fc041f5,"","","","","&lt;BR /&gt;
Details:&lt;BR /&gt;
CPE Inventory&lt;BR /&gt;
(OID: 1.3.6.1.4.1.25623.1.0.810002)&lt;BR /&gt;
Version used: $Revision: 8140 $&lt;BR /&gt;
","","","",""&lt;BR /&gt;
10.22.19.3,,,,0.0,Log,"","CPE Inventory","This routine uses information collected by other routines about&lt;BR /&gt;
  CPE identities (&lt;A href="http://cpe.mitre.org/"&gt;http://cpe.mitre.org/&lt;/A&gt;) of operating systems, services and&lt;BR /&gt;
  applications detected during the scan.","10.22.19.3|cpe:/o:cisco",1.3.6.1.4.1.25623.1.0.810002,"NOCVE",ed32074a-1188-45f4-9c59-50ec456a43f2,"Harbor East 10.22.19.0/24",2018-11-22T16:23:20-05:00,9452ff23-4c0a-4962-a81c-25d43064f956,"","","","","&lt;BR /&gt;
Details:&lt;BR /&gt;
CPE Inventory&lt;BR /&gt;
(OID: 1.3.6.1.4.1.25623.1.0.810002)&lt;BR /&gt;
Version used: $Revision: 8140 $&lt;BR /&gt;
","","","",""&lt;BR /&gt;
10.22.19.1,,,,0.0,Log,"","ICMP Timestamp Detection","The remote host responded to an ICMP timestamp request.&lt;BR /&gt;
  The Timestamp Reply is an ICMP message which replies to a Timestamp message. It consists&lt;BR /&gt;
  of the originating timestamp sent by the sender of the Timestamp as well as a receive&lt;BR /&gt;
  timestamp and a transmit timestamp. This information could theoretically be used to&lt;BR /&gt;
  exploit weak time-based random number generators in other services.","Vulnerability was detected according to the Vulnerability Detection Method.",1.3.6.1.4.1.25623.1.0.103190,"CVE-1999-0524",ed32074a-1188-45f4-9c59-50ec456a43f2,"Harbor East 10.22.19.0/24",2018-11-22T16:23:20-05:00,75d32440-245d-4c9f-83ed-eca8980aff16,"","","","","&lt;BR /&gt;
Details:&lt;BR /&gt;
ICMP Timestamp Detection&lt;BR /&gt;
(OID: 1.3.6.1.4.1.25623.1.0.103190)&lt;BR /&gt;
Version used: $Revision: 10411 $&lt;BR /&gt;
","","","CB-K15/1514, CB-K14/0632, DFN-CERT-2014-0658","&lt;A href="http://www.ietf.org/rfc/rfc0792.txt"&gt;http://www.ietf.org/rfc/rfc0792.txt&lt;/A&gt;"&lt;BR /&gt;
10.22.19.2,,,,0.0,Log,"","ICMP Timestamp Detection","The remote host responded to an ICMP timestamp request.&lt;BR /&gt;
  The Timestamp Reply is an ICMP message which replies to a Timestamp message. It consists&lt;BR /&gt;
  of the originating timestamp sent by the sender of the Timestamp as well as a receive&lt;BR /&gt;
  timestamp and a transmit timestamp. This information could theoretically be used to&lt;BR /&gt;
  exploit weak time-based random number generators in other services.","Vulnerability was detected according to the Vulnerability Detection Method.",1.3.6.1.4.1.25623.1.0.103190,"CVE-1999-0524",ed32074a-1188-45f4-9c59-50ec456a43f2,"Harbor East 10.22.19.0/24",2018-11-22T16:23:20-05:00,d6f5ad45-4d5e-4deb-8619-a2f85b329097,"","","","","&lt;BR /&gt;
Details:&lt;BR /&gt;
ICMP Timestamp Detection&lt;BR /&gt;
(OID: 1.3.6.1.4.1.25623.1.0.103190)&lt;BR /&gt;
Version used: $Revision: 10411 $&lt;BR /&gt;
","","","CB-K15/1514, CB-K14/0632, DFN-CERT-2014-0658","&lt;A href="http://www.ietf.org/rfc/rfc0792.txt"&gt;http://www.ietf.org/rfc/rfc0792.txt&lt;/A&gt;"&lt;BR /&gt;
10.22.19.3,,,,0.0,Log,"","ICMP Timestamp Detection","The remote host responded to an ICMP timestamp request.&lt;BR /&gt;
  The Timestamp Reply is an ICMP message which replies to a Timestamp message. It consists&lt;BR /&gt;
  of the originating timestamp sent by the sender of the Timestamp as well as a receive&lt;BR /&gt;
  timestamp and a transmit timestamp. This information could theoretically be used to&lt;BR /&gt;
  exploit weak time-based random number generators in other services.","Vulnerability was detected according to the Vulnerability Detection Method.",1.3.6.1.4.1.25623.1.0.103190,"CVE-1999-0524",ed32074a-1188-45f4-9c59-50ec456a43f2,"Harbor East 10.22.19.0/24",2018-11-22T16:23:20-05:00,cfbbd926-6eef-4e27-a068-6c803cf9e76b,"","","","","&lt;BR /&gt;
Details:&lt;BR /&gt;
ICMP Timestamp Detection&lt;BR /&gt;
(OID: 1.3.6.1.4.1.25623.1.0.103190)&lt;BR /&gt;
Version used: $Revision: 10411 $&lt;BR /&gt;
","","","CB-K15/1514, CB-K14/0632, DFN-CERT-2014-0658","&lt;A href="http://www.ietf.org/rfc/rfc0792.txt"&gt;http://www.ietf.org/rfc/rfc0792.txt&lt;/A&gt;"&lt;BR /&gt;
10.22.19.1,,,,0.0,Log,"","OS Detection Consolidation and Reporting","This script consolidates the OS information detected by several NVTs and tries to find the best matching OS.&lt;/P&gt;

&lt;P&gt;Furthermore it reports all previously collected information leading to this best matching OS. It also reports possible additional information&lt;BR /&gt;
  which might help to improve the OS detection.&lt;/P&gt;

&lt;P&gt;If any of this information is wrong or could be improved please consider to report these to the references community portal.","Best matching OS:...........................&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 14:59:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423546#M74374</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2018-12-05T14:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file not getting indexed in correct format through UF but parses correctly through WEB UI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423547#M74375</link>
      <description>&lt;P&gt;Yes there are many lines.The props.conf is not picking for this file&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 15:10:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-file-not-getting-indexed-in-correct-format-through-UF-but/m-p/423547#M74375</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2018-12-05T15:10:51Z</dc:date>
    </item>
  </channel>
</rss>

