<?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: Working with CSV in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498475#M84963</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults
| eval _raw="Date,PPAGE_ID1,PPAGE_ID2,PPAGE_ID3,PPAGE_ID4,PPAGE_ID5,PPAGE_ID6
1-Jan,123,123,123,123,123,123
2-Jan,456,456,456,456,456,456
3-Jan,789,789,789,789,789,789
4-Jan,98,98,98,98,98,98
5-Jan,87587,87587,87587,87587,87587,87587"
| multikv forceheader=1
| table Date,PPAGE_ID1,PPAGE_ID2,PPAGE_ID3,PPAGE_ID4,PPAGE_ID5,PPAGE_ID6
`comment("this is your sample")`
`comment("from here, the logic")`
| table Date,PPAGE_ID1,PPAGE_ID2,PPAGE_ID3,PPAGE_ID4,PPAGE_ID5,PPAGE_ID6
| untable Date PPAGE count
| eventstats avg(count) as average by PPAGE
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi, folks. how about this.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2020 11:44:39 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-01-31T11:44:39Z</dc:date>
    <item>
      <title>Working with CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498471#M84959</link>
      <description>&lt;P&gt;I have  CSV like this-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    PPAGE_ID1   PPAGE_ID2   PPAGE_ID3   PPAGE_ID4   PPAGE_ID5   PPAGE_ID6   
1-Jan   123 123 123 123 123 123 
2-Jan   456 456 456 456 456 456 
3-Jan   789 789 789 789 789 789 
4-Jan   98  98  98  98  98  98  
5-Jan   87587   87587   87587   87587   87587   87587   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;how can I take average by PPAGE_ID6  or PPAGE_ID100 ?&lt;BR /&gt;
Please help.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498471#M84959</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2020-09-30T03:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Working with CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498472#M84960</link>
      <description>&lt;P&gt;@jnudell_2 @Vijeta please help&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 20:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498472#M84960</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2020-01-30T20:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Working with CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498473#M84961</link>
      <description>&lt;P&gt;That is not CSV as there are no commas.  Furthermore, the number of header fields is not the same as the number of fields in each row so Splunk will not ingest it properly.  Can you change how the file is created?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 21:58:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498473#M84961</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-01-30T21:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Working with CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498474#M84962</link>
      <description>&lt;P&gt;lets assume that is a proper CSV  with header as page id .. 1st column as date and rows as values against that date&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 22:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498474#M84962</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2020-01-30T22:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Working with CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498475#M84963</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults
| eval _raw="Date,PPAGE_ID1,PPAGE_ID2,PPAGE_ID3,PPAGE_ID4,PPAGE_ID5,PPAGE_ID6
1-Jan,123,123,123,123,123,123
2-Jan,456,456,456,456,456,456
3-Jan,789,789,789,789,789,789
4-Jan,98,98,98,98,98,98
5-Jan,87587,87587,87587,87587,87587,87587"
| multikv forceheader=1
| table Date,PPAGE_ID1,PPAGE_ID2,PPAGE_ID3,PPAGE_ID4,PPAGE_ID5,PPAGE_ID6
`comment("this is your sample")`
`comment("from here, the logic")`
| table Date,PPAGE_ID1,PPAGE_ID2,PPAGE_ID3,PPAGE_ID4,PPAGE_ID5,PPAGE_ID6
| untable Date PPAGE count
| eventstats avg(count) as average by PPAGE
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi, folks. how about this.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 11:44:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498475#M84963</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-31T11:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Working with CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498476#M84964</link>
      <description>&lt;P&gt;amazing! you are awesome!.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 16:22:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Working-with-CSV/m-p/498476#M84964</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2020-01-31T16:22:51Z</dc:date>
    </item>
  </channel>
</rss>

