<?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: Epoch Date  format in reporting in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Epoch-Date-format-in-reporting/m-p/567112#M197629</link>
    <description>&lt;P&gt;1&amp;gt; Use &lt;FONT face="courier new,courier"&gt;eval&lt;/FONT&gt; rather than &lt;FONT face="courier new,courier"&gt;fieldformat&lt;/FONT&gt; to have the format preserved in the CSV.&lt;/P&gt;&lt;P&gt;2&amp;gt; Use the &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; command to specify the order of fields.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 12:42:06 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-09-15T12:42:06Z</dc:date>
    <item>
      <title>Epoch Date  format in reporting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Epoch-Date-format-in-reporting/m-p/567054#M197599</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;i have 2 queries .&lt;/P&gt;&lt;P&gt;(index=abc OR index=def) category= * OR NOT blocked =0 AND NOT blocked =2&lt;BR /&gt;|rex field=index "(?&amp;lt;Local_Market&amp;gt;[^cita]\w.*?)_"&lt;BR /&gt;| stats count(Local_Market) as Blocked by Local_Market&lt;BR /&gt;| addcoltotals col=t labelfield=Local_Market label="Total"&lt;BR /&gt;| append [search (index=abc&amp;nbsp; OR index=def) blocked =0 | rex field=index "(?&amp;lt;Local_Market&amp;gt;\w.*?)_"&lt;BR /&gt;| stats count as Detected by Local_Market&lt;BR /&gt;| addcoltotals col=t labelfield=Local_Market label="Total"]&lt;BR /&gt;| stats values(*) as * by Local_Market&lt;BR /&gt;| transpose 0 header_field=Local_Market column_name=Local_Market | addinfo&lt;BR /&gt;| eval date=info_min_time&lt;BR /&gt;| fieldformat date=strftime(date,"%m-%d-%Y")&lt;BR /&gt;| fields - info_*&lt;/P&gt;&lt;P&gt;1&amp;gt; above query is giving me the correct date time ..but when i am scheduling this as report its coming&amp;nbsp; as Epoch time in csv file ..&lt;/P&gt;&lt;P&gt;2&amp;gt;&amp;nbsp; also how can we get date field in first column instead of last column without disturbing the other fields ..&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 06:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Epoch-Date-format-in-reporting/m-p/567054#M197599</guid>
      <dc:creator>Susha</dc:creator>
      <dc:date>2021-09-15T06:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Epoch Date  format in reporting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Epoch-Date-format-in-reporting/m-p/567112#M197629</link>
      <description>&lt;P&gt;1&amp;gt; Use &lt;FONT face="courier new,courier"&gt;eval&lt;/FONT&gt; rather than &lt;FONT face="courier new,courier"&gt;fieldformat&lt;/FONT&gt; to have the format preserved in the CSV.&lt;/P&gt;&lt;P&gt;2&amp;gt; Use the &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; command to specify the order of fields.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 12:42:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Epoch-Date-format-in-reporting/m-p/567112#M197629</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-09-15T12:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Epoch Date  format in reporting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Epoch-Date-format-in-reporting/m-p/567124#M197634</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; table command wont work here i&amp;nbsp; believe .. as we are already using stats command ..please correct me if i am wrong ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 13:55:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Epoch-Date-format-in-reporting/m-p/567124#M197634</guid>
      <dc:creator>Susha</dc:creator>
      <dc:date>2021-09-15T13:55:33Z</dc:date>
    </item>
  </channel>
</rss>

