<?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 Time format in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381653#M68837</link>
    <description>&lt;P&gt;Hi Mates, &lt;/P&gt;

&lt;P&gt;i get output of a query as below, i would like to pass the output of this query to the  of my code but the    is not supporting the time format generated by the query so please help in changing the time format &lt;/P&gt;

&lt;P&gt;output = AUDIT_TIME="2018-06-05 21:00:02"&lt;/P&gt;

&lt;P&gt;Query : &lt;/P&gt;

&lt;P&gt;index="jboss" AUDIT_DATA="&lt;EM&gt;XXXXX&lt;/EM&gt;" AND AUDIT_DATA="&lt;EM&gt;"XXXX8"&lt;/EM&gt;" AUDIT_TIME&amp;gt;="2018-06-05 21:00:00" | table AUDIT_TIME | sort AUDIT_TIME | uniq | sort 2 AUDIT_TIME | reverse | return AUDIT_TIME&lt;/P&gt;

&lt;P&gt;i wanna pass this output value AUDIT_TIME in &lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/251932-time.jpg" alt="alt text" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:58:48 GMT</pubDate>
    <dc:creator>Vigneshprasanna</dc:creator>
    <dc:date>2020-09-29T19:58:48Z</dc:date>
    <item>
      <title>Time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381653#M68837</link>
      <description>&lt;P&gt;Hi Mates, &lt;/P&gt;

&lt;P&gt;i get output of a query as below, i would like to pass the output of this query to the  of my code but the    is not supporting the time format generated by the query so please help in changing the time format &lt;/P&gt;

&lt;P&gt;output = AUDIT_TIME="2018-06-05 21:00:02"&lt;/P&gt;

&lt;P&gt;Query : &lt;/P&gt;

&lt;P&gt;index="jboss" AUDIT_DATA="&lt;EM&gt;XXXXX&lt;/EM&gt;" AND AUDIT_DATA="&lt;EM&gt;"XXXX8"&lt;/EM&gt;" AUDIT_TIME&amp;gt;="2018-06-05 21:00:00" | table AUDIT_TIME | sort AUDIT_TIME | uniq | sort 2 AUDIT_TIME | reverse | return AUDIT_TIME&lt;/P&gt;

&lt;P&gt;i wanna pass this output value AUDIT_TIME in &lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/251932-time.jpg" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:58:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381653#M68837</guid>
      <dc:creator>Vigneshprasanna</dc:creator>
      <dc:date>2020-09-29T19:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381654#M68838</link>
      <description>&lt;P&gt;pass audit time in where? do you mean you want to extract / sort by audit time?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 18:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381654#M68838</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-06-12T18:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381655#M68839</link>
      <description>&lt;P&gt;Hi @Vigneshprasanna &lt;/P&gt;

&lt;P&gt;use this query to extract the time from result.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="jboss" AUDIT_DATA="XXXXX" AND AUDIT_DATA=""XXXX8"" AUDIT_TIME&amp;gt;="2018-06-05 21:00:00" | table AUDIT_TIME | sort AUDIT_TIME | uniq | sort 2 AUDIT_TIME | reverse | return AUDIT_TIME | rex "AUDIT_TIME=\"(?P&amp;lt;time&amp;gt;.*)\"" | fields time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 20:10:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381655#M68839</guid>
      <dc:creator>PowerPacked</dc:creator>
      <dc:date>2018-06-12T20:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381656#M68840</link>
      <description>&lt;P&gt;Hi @sukisen1981 &lt;/P&gt;

&lt;P&gt;i wanna pass the AUDIT_TIME in &lt;/P&gt;

&lt;P&gt;Jboss Drilldown&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;Dynamic drilldown Jboss Request/Response&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;  **Query that will return AUDIT_TIME** &amp;lt;/query&amp;gt;
      **&amp;lt;earliest&amp;gt;$earliest$&amp;lt;/earliest&amp;gt;**   - **should pass the audit time here** 
      &amp;lt;latest&amp;gt;$latest$&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
       &amp;lt;/table&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is jest an example snippit may have some more errors too hope this helps us to understand where we have to pass the AUDIT_TIME..&lt;/P&gt;

&lt;P&gt;Thanks for the support in advance.&lt;/P&gt;

&lt;P&gt;Regards, &lt;BR /&gt;
Vigneshprasanna R &lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 01:00:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381656#M68840</guid>
      <dc:creator>Vigneshprasanna</dc:creator>
      <dc:date>2018-06-13T01:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381657#M68841</link>
      <description>&lt;P&gt;Hi @PowerPacked and  @sukisen1981&lt;/P&gt;

&lt;P&gt;I'm going wrong somewhere &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; can you please check and correct me i have modified the query and tried for my case but its not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;this is my sample data &lt;BR /&gt;
2018-05-14 14:25:00,108 INFO  &lt;A href="http-xxxxxx%xx.123.123.123-800-3"&gt;com.xxxxxxx.browser.servlets.BrowserServlet&lt;/A&gt; 123-132-0-23-0&lt;/P&gt;

&lt;P&gt;2018-05-14 14:25:00 -&amp;gt; i wanna pass this part as the input for the tag $earliest$&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5190i8AD3DB5BE6100762/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;earliest&amp;gt;$earliest$&amp;lt;/earliest&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:44:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-format/m-p/381657#M68841</guid>
      <dc:creator>Vigneshprasanna</dc:creator>
      <dc:date>2018-06-13T09:44:36Z</dc:date>
    </item>
  </channel>
</rss>

