<?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 increment a value in eval function in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-increment-a-value-in-eval-function/m-p/165846#M47149</link>
    <description>&lt;P&gt;You need to remove the quotes around date_hour+1.&lt;/P&gt;

&lt;PRE&gt;eval monthDateHour=date_month.".".date_mday." ".date_hour.":"."00"." - ".(date_hour+1)&lt;/PRE&gt;</description>
    <pubDate>Mon, 29 Dec 2014 21:52:28 GMT</pubDate>
    <dc:creator>pradeepkumarg</dc:creator>
    <dc:date>2014-12-29T21:52:28Z</dc:date>
    <item>
      <title>how to increment a value in eval function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-increment-a-value-in-eval-function/m-p/165845#M47148</link>
      <description>&lt;P&gt;I need to display the current hour and the current hour + 1 values in the chart and I am using the below eval function for the same...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eval monthDateHour=date_month.".".date_mday." ".date_hour.":"."00"." - "."date_hour+1"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But it doesn't work. Can someone please help me?&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2014 21:06:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-increment-a-value-in-eval-function/m-p/165845#M47148</guid>
      <dc:creator>edookati</dc:creator>
      <dc:date>2014-12-29T21:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to increment a value in eval function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-increment-a-value-in-eval-function/m-p/165846#M47149</link>
      <description>&lt;P&gt;You need to remove the quotes around date_hour+1.&lt;/P&gt;

&lt;PRE&gt;eval monthDateHour=date_month.".".date_mday." ".date_hour.":"."00"." - ".(date_hour+1)&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Dec 2014 21:52:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-increment-a-value-in-eval-function/m-p/165846#M47149</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2014-12-29T21:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to increment a value in eval function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-increment-a-value-in-eval-function/m-p/165847#M47150</link>
      <description>&lt;P&gt;thanks. It worked fine.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2014 22:08:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-increment-a-value-in-eval-function/m-p/165847#M47150</guid>
      <dc:creator>edookati</dc:creator>
      <dc:date>2014-12-29T22:08:07Z</dc:date>
    </item>
  </channel>
</rss>

