<?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 edit my inputlookup search to create a time chart of status over time from our CSV file? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-inputlookup-search-to-create-a-time-chart-of/m-p/261851#M78617</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; |inputlookup Mapr_Ticket_Metrics.csv| eval Status= if(Status!="Closed", "Open", "Closed")|eval dtm=strptime("Date/Time Opened", "%m/%d/%Y")  | bin span=1mon dtm | chart count over dtm by Status | eval dtm=strftime(dtm, "%m/%d/%Y")  | rename dtm AS "Date/Time Opened"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Aug 2016 20:49:28 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-08-30T20:49:28Z</dc:date>
    <item>
      <title>How to edit my inputlookup search to create a time chart of status over time from our CSV file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-inputlookup-search-to-create-a-time-chart-of/m-p/261850#M78616</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We are looking for time chart that would give Status over time from our CSV file.&lt;/P&gt;

&lt;P&gt;Line graph should plot by Month (this field does not exist in our data).&lt;/P&gt;

&lt;P&gt;Here is sample data from the lookup which has date/Time Opened field. Using this, we need to get a timechart by status over month.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Case    Contact Name   Subject       Status   Case Age (days)   Owner Name    Date/Time Opened
29541   Yalamanchil    Memory        Open     289               Chandhok      11/11/2015 11:23
35594   Mullangi       Gold DR-      Closed   149               Chandhok      3/30/2016 9:00
37506   Yalamanchili   CORAL volume  Open     100               Chandhok      5/18/2016 21:16
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sample search looks like below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup Mapr_Ticket_Metrics.csv| eval Status= if(Status!="Closed", "Open", "Closed")|chart count over "Date/Time Opened"`by Status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This search lists by time value (but we need to aggregate these by month, our X-Axis should give month)&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 20:45:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-inputlookup-search-to-create-a-time-chart-of/m-p/261850#M78616</guid>
      <dc:creator>splunker9999</dc:creator>
      <dc:date>2016-08-30T20:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my inputlookup search to create a time chart of status over time from our CSV file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-inputlookup-search-to-create-a-time-chart-of/m-p/261851#M78617</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; |inputlookup Mapr_Ticket_Metrics.csv| eval Status= if(Status!="Closed", "Open", "Closed")|eval dtm=strptime("Date/Time Opened", "%m/%d/%Y")  | bin span=1mon dtm | chart count over dtm by Status | eval dtm=strftime(dtm, "%m/%d/%Y")  | rename dtm AS "Date/Time Opened"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Aug 2016 20:49:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-inputlookup-search-to-create-a-time-chart-of/m-p/261851#M78617</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-30T20:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my inputlookup search to create a time chart of status over time from our CSV file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-inputlookup-search-to-create-a-time-chart-of/m-p/261852#M78618</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; |inputlookup Mapr_Ticket_Metrics.csv| eval Status= if(Status!="Closed", "Open", "Closed") | eval _time=strptime('Date/Time Opened',"%m/%d/%Y %H:%M") | timechart span=1mon count by Status
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Aug 2016 21:49:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-inputlookup-search-to-create-a-time-chart-of/m-p/261852#M78618</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-30T21:49:44Z</dc:date>
    </item>
  </channel>
</rss>

