<?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: Dashboarding a csv file in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboarding-a-csv-file/m-p/509785#M33968</link>
    <description>&lt;P&gt;Your sample data seem to work out of the box for me. Only issue that I see is that you do not have Time field in your data, which implies you need to set Time to CURRENT for each csv file event.&lt;/P&gt;&lt;P&gt;Following is the props.conf setting for a dummy sourcetype I created to ingest your data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ sample_data_csv ]
DATETIME_CONFIG=CURRENT
SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)
BREAK_ONLY_BEFORE_DATE=null
NO_BINARY_CHECK=true
CHARSET=UTF-8
INDEXED_EXTRACTIONS=csv
KV_MODE=none
category=Custom
description=Comma-separated value format. Set header and other settings in "Delimited Settings"
disabled=false
pulldown_type=true
HEADER_FIELD_LINE_NUMBER=1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the sample data provided in the question following are the extracted fields by default. But I still added&amp;nbsp;&lt;STRONG&gt;HEADER_FIELD_LINE_NUMBER=1&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;DATETIME_CONFIG=CURRENT&lt;/STRONG&gt; config (you must check and confirm the date information whether it can be the time of file forward or it has to be supplied within the CSV).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2020-07-18 at 12.54.36 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9757i80ED9054D2093FBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-07-18 at 12.54.36 AM.png" alt="Screen Shot 2020-07-18 at 12.54.36 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And following is the query I tried and worked. PS : I had added &lt;STRONG&gt;INDEXED_EXTRACTION = csv&lt;/STRONG&gt;&amp;nbsp;in the props.conf for tstats to work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-07-18 at 12.57.17 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9758iDFAB96B8356CA951/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-07-18 at 12.57.17 AM.png" alt="Screen Shot 2020-07-18 at 12.57.17 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So in case even after applying props.conf like the one above fields are not getting extracted, you would need to ensure whether your csv is valid UTF8 format CSV with no special characters or not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;In case you need further help you might have to share your props.conf or sample CSV file.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jul 2020 19:34:20 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2020-07-17T19:34:20Z</dc:date>
    <item>
      <title>Dashboarding a csv file</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboarding-a-csv-file/m-p/509727#M33965</link>
      <description>&lt;P&gt;Hello splunk community,&lt;/P&gt;&lt;P&gt;I'm a newbie on splunk so i this maybe a basic question.&lt;/P&gt;&lt;P&gt;Basically I'm trying to do a piechart containing all the processes currently running. I managed (via powershell script) to generate a csv file containing this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Values&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Group&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;Name&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Collections.ArrayList&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Collections.ObjectModel.Collection`1&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Management.Automation.PSObject&lt;/SPAN&gt;&lt;SPAN&gt;]","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;ApplicationFrameHost&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Collections.ArrayList&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Collections.ObjectModel.Collection`1&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Management.Automation.PSObject&lt;/SPAN&gt;&lt;SPAN&gt;]","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;conhost&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Collections.ArrayList&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Collections.ObjectModel.Collection`1&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Management.Automation.PSObject&lt;/SPAN&gt;&lt;SPAN&gt;]","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;csrss&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Collections.ArrayList&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Collections.ObjectModel.Collection`1&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class="t"&gt;System.Management.Automation.PSObject&lt;/SPAN&gt;&lt;SPAN&gt;]","&lt;/SPAN&gt;&lt;SPAN class="t"&gt;dllhost&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When forwarded, splunk couldn't find fields associated with the file, even when i tried to extract fields manually, splunk confused field name with data.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(Objective: Pie chart containing the name of process and the number of its processes.)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 15:00:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboarding-a-csv-file/m-p/509727#M33965</guid>
      <dc:creator>Naskez</dc:creator>
      <dc:date>2020-07-17T15:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboarding a csv file</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboarding-a-csv-file/m-p/509753#M33966</link>
      <description>Before you can create a chart you need to extract fields. Let's tackle that first. Please share the props.conf settings you are using for the CSV file.&lt;BR /&gt;There are existing apps which can ingest process data so you don't have to re-invent the wheel. See Splunk Add-on for Microsoft Windows (&lt;A href="https://splunkbase.splunk.com/app/742/" target="_blank"&gt;https://splunkbase.splunk.com/app/742/&lt;/A&gt;) and Splunk Add-on for Infrastructure (&lt;A href="https://splunkbase.splunk.com/app/4217/" target="_blank"&gt;https://splunkbase.splunk.com/app/4217/&lt;/A&gt;).</description>
      <pubDate>Fri, 17 Jul 2020 16:54:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboarding-a-csv-file/m-p/509753#M33966</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-17T16:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboarding a csv file</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboarding-a-csv-file/m-p/509785#M33968</link>
      <description>&lt;P&gt;Your sample data seem to work out of the box for me. Only issue that I see is that you do not have Time field in your data, which implies you need to set Time to CURRENT for each csv file event.&lt;/P&gt;&lt;P&gt;Following is the props.conf setting for a dummy sourcetype I created to ingest your data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ sample_data_csv ]
DATETIME_CONFIG=CURRENT
SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)
BREAK_ONLY_BEFORE_DATE=null
NO_BINARY_CHECK=true
CHARSET=UTF-8
INDEXED_EXTRACTIONS=csv
KV_MODE=none
category=Custom
description=Comma-separated value format. Set header and other settings in "Delimited Settings"
disabled=false
pulldown_type=true
HEADER_FIELD_LINE_NUMBER=1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the sample data provided in the question following are the extracted fields by default. But I still added&amp;nbsp;&lt;STRONG&gt;HEADER_FIELD_LINE_NUMBER=1&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;DATETIME_CONFIG=CURRENT&lt;/STRONG&gt; config (you must check and confirm the date information whether it can be the time of file forward or it has to be supplied within the CSV).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2020-07-18 at 12.54.36 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9757i80ED9054D2093FBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-07-18 at 12.54.36 AM.png" alt="Screen Shot 2020-07-18 at 12.54.36 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And following is the query I tried and worked. PS : I had added &lt;STRONG&gt;INDEXED_EXTRACTION = csv&lt;/STRONG&gt;&amp;nbsp;in the props.conf for tstats to work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-07-18 at 12.57.17 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9758iDFAB96B8356CA951/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-07-18 at 12.57.17 AM.png" alt="Screen Shot 2020-07-18 at 12.57.17 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So in case even after applying props.conf like the one above fields are not getting extracted, you would need to ensure whether your csv is valid UTF8 format CSV with no special characters or not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;In case you need further help you might have to share your props.conf or sample CSV file.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 19:34:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboarding-a-csv-file/m-p/509785#M33968</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-07-17T19:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboarding a csv file</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboarding-a-csv-file/m-p/511105#M34048</link>
      <description>&lt;P class="lia-align-justify"&gt;Thank you very much dear niketnilay that helped a lot !&lt;/P&gt;&lt;P class="lia-align-justify"&gt;i'll proceed on your steps and re-port the results&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 12:45:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboarding-a-csv-file/m-p/511105#M34048</guid>
      <dc:creator>Naskez</dc:creator>
      <dc:date>2020-07-27T12:45:16Z</dc:date>
    </item>
  </channel>
</rss>

