<?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 Dew Point Calculation in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491703#M194264</link>
    <description>&lt;P&gt;I am trying to produce or calculate the Dew Point in Celsius of data in two separate indexes.&lt;/P&gt;

&lt;P&gt;I believe the offcial Dew point formula is Td = T - ((100 - RH)/5.)&lt;/P&gt;

&lt;P&gt;I want to basically use this formula to produce Dew point using relative humidity on one index with temperature on another index&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2019 12:22:13 GMT</pubDate>
    <dc:creator>adrianrepublic</dc:creator>
    <dc:date>2019-10-01T12:22:13Z</dc:date>
    <item>
      <title>Dew Point Calculation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491703#M194264</link>
      <description>&lt;P&gt;I am trying to produce or calculate the Dew Point in Celsius of data in two separate indexes.&lt;/P&gt;

&lt;P&gt;I believe the offcial Dew point formula is Td = T - ((100 - RH)/5.)&lt;/P&gt;

&lt;P&gt;I want to basically use this formula to produce Dew point using relative humidity on one index with temperature on another index&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 12:22:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491703#M194264</guid>
      <dc:creator>adrianrepublic</dc:creator>
      <dc:date>2019-10-01T12:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dew Point Calculation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491704#M194265</link>
      <description>&lt;P&gt;Assuming that the measurement times at the two indexes are the same,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=relative_humidity_index OR index=temperature_index
|stats avg(relative_humidity) as relative_humidity avg(temperature) as temperature by _time
|eval dew_point=temprature-((100-relative_humidity)/5.0)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Oct 2019 12:58:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491704#M194265</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-10-01T12:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dew Point Calculation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491705#M194266</link>
      <description>&lt;P&gt;That nearly worked. Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;(index="index1" device=* customer_id=*) OR (index="weather") | stats avg(hum) as relative_humidity avg(temp) as temperature by customer_id | eval dew_point=temperature-((100-relative_humidity)/5.0)&lt;/P&gt;

&lt;P&gt;However something which ive noticed which could be any issue is that the both indexes have a temperature  but on one index its temperature(weather index) and on the other its temp(index 1). When i change it to temperature it doesnt seem to produce/include the values from the "weather" index.&lt;/P&gt;

&lt;P&gt;I basically want the temperature from the weather index vs humidity of the index1&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:22:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491705#M194266</guid>
      <dc:creator>adrianrepublic</dc:creator>
      <dc:date>2020-09-30T02:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dew Point Calculation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491706#M194267</link>
      <description>&lt;P&gt;Easily handled.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index="index1" device= customer_id=) OR (index="weather") 
| eval temperature=coalesce(temperature, temp)
| stats avg(hum) as relative_humidity avg(temp) as temperature by customer_id 
| eval dew_point=temperature-((100-relative_humidity)/5.0)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Oct 2019 15:16:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491706#M194267</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-01T15:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dew Point Calculation</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491707#M194268</link>
      <description>&lt;P&gt;richgalloway that seems to have done the job &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks very much.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 09:29:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dew-Point-Calculation/m-p/491707#M194268</guid>
      <dc:creator>adrianrepublic</dc:creator>
      <dc:date>2019-10-04T09:29:46Z</dc:date>
    </item>
  </channel>
</rss>

