<?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 How to display time, host, source type when the statement is as follows: in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-display-time-host-source-type-when-the-statement-is-as/m-p/343067#M63167</link>
    <description>&lt;P&gt;I have a stack trace for one particular error like this,&lt;BR /&gt;
[9/20/17 5:40:13:428 EDT] 000000e0 SystemOut     O 20 Sep 2017 05:40:13:428 [INFO] [DMAXP01_MIF2] [] BMXAA6372I - Host name: 139.46.95.92. Server name: DMAXP01_MIF2. Cron task name: JMSQSEQCONSUMER.SEQQIN. Last run: 2017-09-20 05:40:00.0host=cltismx1waslp07   Options|&lt;BR /&gt;&lt;BR /&gt;
sourcetype=WebSphere:SystemOutLog   Options|&lt;BR /&gt;&lt;BR /&gt;
source=/logs/websphere/DMAXP01_MIF2/SystemOut.log   &lt;/P&gt;

&lt;P&gt;I want to view the feilds in tabular format. My search string is&lt;BR /&gt;
Cron task name: JMSQSEQCONSUMER.SEQQIN9. Last run: | table host, sourcetype,source.&lt;/P&gt;

&lt;P&gt;I want to display the time after the keywords " Last run:" in the above statement.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:49:19 GMT</pubDate>
    <dc:creator>poonama</dc:creator>
    <dc:date>2020-09-29T15:49:19Z</dc:date>
    <item>
      <title>How to display time, host, source type when the statement is as follows:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-display-time-host-source-type-when-the-statement-is-as/m-p/343067#M63167</link>
      <description>&lt;P&gt;I have a stack trace for one particular error like this,&lt;BR /&gt;
[9/20/17 5:40:13:428 EDT] 000000e0 SystemOut     O 20 Sep 2017 05:40:13:428 [INFO] [DMAXP01_MIF2] [] BMXAA6372I - Host name: 139.46.95.92. Server name: DMAXP01_MIF2. Cron task name: JMSQSEQCONSUMER.SEQQIN. Last run: 2017-09-20 05:40:00.0host=cltismx1waslp07   Options|&lt;BR /&gt;&lt;BR /&gt;
sourcetype=WebSphere:SystemOutLog   Options|&lt;BR /&gt;&lt;BR /&gt;
source=/logs/websphere/DMAXP01_MIF2/SystemOut.log   &lt;/P&gt;

&lt;P&gt;I want to view the feilds in tabular format. My search string is&lt;BR /&gt;
Cron task name: JMSQSEQCONSUMER.SEQQIN9. Last run: | table host, sourcetype,source.&lt;/P&gt;

&lt;P&gt;I want to display the time after the keywords " Last run:" in the above statement.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-display-time-host-source-type-when-the-statement-is-as/m-p/343067#M63167</guid>
      <dc:creator>poonama</dc:creator>
      <dc:date>2020-09-29T15:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to display time, host, source type when the statement is as follows:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-display-time-host-source-type-when-the-statement-is-as/m-p/343068#M63168</link>
      <description>&lt;P&gt;Hi poonama,&lt;BR /&gt;
you have to extract field Last_Run in rex command or in field extraction.&lt;BR /&gt;
regex is &lt;CODE&gt;Last run: (?&amp;lt;Lat_Run&amp;gt;\d+-\d+-\d+\s\d+:\d+:\d+\.\d+)&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_search
| rex "Last run: (?&amp;lt;Lat_Run&amp;gt;\d+-\d+-\d+\s\d+:\d+:\d+\.\d+)"
| table Last_Run host sourcetype source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you can test it at &lt;A href="https://regex101.com/r/Cfbhwp/1" target="_blank"&gt;https://regex101.com/r/Cfbhwp/1&lt;/A&gt;&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:49:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-display-time-host-source-type-when-the-statement-is-as/m-p/343068#M63168</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T15:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to display time, host, source type when the statement is as follows:</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-display-time-host-source-type-when-the-statement-is-as/m-p/343069#M63169</link>
      <description>&lt;P&gt;Its giving multiple entries of one single last run time. Any idea how to deal with this.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 17:10:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-display-time-host-source-type-when-the-statement-is-as/m-p/343069#M63169</guid>
      <dc:creator>poonama</dc:creator>
      <dc:date>2017-09-21T17:10:45Z</dc:date>
    </item>
  </channel>
</rss>

