<?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: How to chart a .csv file in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213716#M62700</link>
    <description>&lt;P&gt;Use multikv to separate the data and then use the new values for your chart/timechart.&lt;/P&gt;

&lt;P&gt;index=... sourcetype=... | multikv fields PollTime, "Server Name", QueueName, "Display Name", value | timechart avg(value) by "Server Name"&lt;/P&gt;

&lt;P&gt;You might have to tweak the above query a bit but that should get you started.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2015 07:58:37 GMT</pubDate>
    <dc:creator>lcrielaa</dc:creator>
    <dc:date>2015-09-10T07:58:37Z</dc:date>
    <item>
      <title>How to chart a .csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213712#M62696</link>
      <description>&lt;P&gt;I have a CSV file which runs every 5 minutes and gathers data from separate data sources. A sample of what is compiled in Splunk is below. What I'm looking to do is chart the data into each of its own columns / rows, then sort the columns by whichever we choose. The main data we will need to pull from the .csv is in bold. As you can see, the columns in the script add the column names such as ''PollTime, Server Name, QueueName etc".&lt;/P&gt;

&lt;P&gt;PollTime, Server Name, QueueName, Display Name, value&lt;BR /&gt;
2015-09-03 15:01:27 All,  All, All, All&lt;BR /&gt;
&lt;STRONG&gt;PollTime, Server Name, QueueName, Display Name, value&lt;/STRONG&gt;&lt;BR /&gt;
2015-09-03 14:59:42 All,  All, All, All&lt;BR /&gt;
&lt;STRONG&gt;2015-09-03 14:01:26, SERVER1.main.corp.int, SERVER.C1.DG1.DGREQ, Consumer Count, 60&lt;BR /&gt;
2015-09-03 14:01:24, SERVER2.main.corp.int, SERVER.C2.DG2.DGREQ, Consumer Count, 0&lt;BR /&gt;
2015-09-03 14:01:23, SERVER3.main.corp.int, SERVER.C3.DG1.DGREQ, Consumer Count, 15&lt;BR /&gt;
2015-09-03 14:01:22, SERVER4.main.corp.int, SERVER.C4.DG2.DGREQ, Consumer Count, 0&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 19:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213712#M62696</guid>
      <dc:creator>gmelasecca</dc:creator>
      <dc:date>2015-09-03T19:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart a .csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213713#M62697</link>
      <description>&lt;P&gt;Is the data already ingested in Splunk??&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2015 21:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213713#M62697</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-03T21:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart a .csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213714#M62698</link>
      <description>&lt;P&gt;Yes the data is already in splunk. above is what splunk is outputting.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213714#M62698</guid>
      <dc:creator>gmelasecca</dc:creator>
      <dc:date>2015-09-08T13:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart a .csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213715#M62699</link>
      <description>&lt;P&gt;And is each line in your example a different event? Because then you should just make a field extraction (or alternatively use rex-command in search) and use a table command to make the chart you want. &lt;/P&gt;

&lt;P&gt;If Splunk, for some reason, throws it all in one event you might want to check the props.conf file if he is breaking events correctly.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 14:46:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213715#M62699</guid>
      <dc:creator>dkoops</dc:creator>
      <dc:date>2015-09-09T14:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart a .csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213716#M62700</link>
      <description>&lt;P&gt;Use multikv to separate the data and then use the new values for your chart/timechart.&lt;/P&gt;

&lt;P&gt;index=... sourcetype=... | multikv fields PollTime, "Server Name", QueueName, "Display Name", value | timechart avg(value) by "Server Name"&lt;/P&gt;

&lt;P&gt;You might have to tweak the above query a bit but that should get you started.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 07:58:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-a-csv-file/m-p/213716#M62700</guid>
      <dc:creator>lcrielaa</dc:creator>
      <dc:date>2015-09-10T07:58:37Z</dc:date>
    </item>
  </channel>
</rss>

