<?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 write eval inside tstats command? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/how-to-write-eval-inside-tstats-command/m-p/508108#M2490</link>
    <description>I believe tstats does not support eval.</description>
    <pubDate>Wed, 08 Jul 2020 14:20:23 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-07-08T14:20:23Z</dc:date>
    <item>
      <title>how to write eval inside tstats command?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/how-to-write-eval-inside-tstats-command/m-p/508057#M2485</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we want to combined two fields by using eval inside the tstats where clause&amp;nbsp;search. Please see my search below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| tstats latest(result._time) as _time ,values(result.relational_correlationId) as relational_correlationId,values(result.tracePoint) as tracePoint,values(result.timestamp) as timestamp,values(result.content.businessFields{}.key) as content.businessFields{}.key,values(result.content.businessFields{}.value) as content.businessFields{}.value where index="hec_example1" by result.environment,result.businessGroup,result.appName,result.interfaceName,result.correlationId |rename result.environment as environment,result.businessGroup as businessGroup,result.appName as appName,result.interfaceName as interfaceName,result.correlationId as correlationId| table _time,environment,businessGroup,appName,interfaceName,tracePoint,timestamp,correlationId,content.businessFields{}.key,content.businessFields{}.value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 12:15:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/how-to-write-eval-inside-tstats-command/m-p/508057#M2485</guid>
      <dc:creator>nagendraDumpala</dc:creator>
      <dc:date>2020-07-08T12:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to write eval inside tstats command?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/how-to-write-eval-inside-tstats-command/m-p/508108#M2490</link>
      <description>I believe tstats does not support eval.</description>
      <pubDate>Wed, 08 Jul 2020 14:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/how-to-write-eval-inside-tstats-command/m-p/508108#M2490</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-08T14:20:23Z</dc:date>
    </item>
  </channel>
</rss>

