<?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 use pipeline to get results which match the timestamp? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-pipeline-to-get-results-which-match-the-timestamp/m-p/331345#M61389</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have a particular situation in which two logs lines which are related, have only the timestamp in common, I would like to filter them out. Any help would be appreciated. Here are the details:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Log line 1&lt;/STRONG&gt;: 2017-06-06 05:42:04,098 902303596 INFO  n.n.f.b.i.s.DefaultSignedUrlFactory - resource images/123456-789/123456-789-PV_JPG_HEI_300.JPG can be accessed via &lt;A href="https://XXXXXXXX.com/images/XXXXXXXXXX" target="_blank"&gt;https://XXXXXXXX.com/images/XXXXXXXXXX&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Log line 2&lt;/STRONG&gt;: 2017-06-06 05:42:04,098 902303591 INFO  n.n.f.b.c.l.LoggingInterceptor - &lt;BR /&gt;
&lt;STRONG&gt;&lt;EM&gt;&lt;A href="mailto:abc.def@abcd.com" target="_blank"&gt;abc.def@abcd.com&lt;/A&gt; (N/A)&lt;/EM&gt;&lt;/STRONG&gt; - RETAILER&lt;BR /&gt;
referrer: N/A&lt;BR /&gt;
request: /images/v1/123456-789-PV?hei=300&amp;amp;fmt=jpg&amp;amp;qlt=70,1&amp;amp;printRes=72&lt;BR /&gt;
response code: 302&lt;/P&gt;

&lt;P&gt;I would need a query which can filter these two results to extract the line in &lt;STRONG&gt;&lt;EM&gt;Italics&lt;/EM&gt;&lt;/STRONG&gt;. Its a very busy server and each second 100's of lines of logs would be printed.&lt;/P&gt;

&lt;P&gt;Any advice would be highly appreciated.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Sagar&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:27:20 GMT</pubDate>
    <dc:creator>sagarms27</dc:creator>
    <dc:date>2020-09-29T16:27:20Z</dc:date>
    <item>
      <title>How to use pipeline to get results which match the timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-pipeline-to-get-results-which-match-the-timestamp/m-p/331345#M61389</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have a particular situation in which two logs lines which are related, have only the timestamp in common, I would like to filter them out. Any help would be appreciated. Here are the details:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Log line 1&lt;/STRONG&gt;: 2017-06-06 05:42:04,098 902303596 INFO  n.n.f.b.i.s.DefaultSignedUrlFactory - resource images/123456-789/123456-789-PV_JPG_HEI_300.JPG can be accessed via &lt;A href="https://XXXXXXXX.com/images/XXXXXXXXXX" target="_blank"&gt;https://XXXXXXXX.com/images/XXXXXXXXXX&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Log line 2&lt;/STRONG&gt;: 2017-06-06 05:42:04,098 902303591 INFO  n.n.f.b.c.l.LoggingInterceptor - &lt;BR /&gt;
&lt;STRONG&gt;&lt;EM&gt;&lt;A href="mailto:abc.def@abcd.com" target="_blank"&gt;abc.def@abcd.com&lt;/A&gt; (N/A)&lt;/EM&gt;&lt;/STRONG&gt; - RETAILER&lt;BR /&gt;
referrer: N/A&lt;BR /&gt;
request: /images/v1/123456-789-PV?hei=300&amp;amp;fmt=jpg&amp;amp;qlt=70,1&amp;amp;printRes=72&lt;BR /&gt;
response code: 302&lt;/P&gt;

&lt;P&gt;I would need a query which can filter these two results to extract the line in &lt;STRONG&gt;&lt;EM&gt;Italics&lt;/EM&gt;&lt;/STRONG&gt;. Its a very busy server and each second 100's of lines of logs would be printed.&lt;/P&gt;

&lt;P&gt;Any advice would be highly appreciated.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Sagar&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:27:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-pipeline-to-get-results-which-match-the-timestamp/m-p/331345#M61389</guid>
      <dc:creator>sagarms27</dc:creator>
      <dc:date>2020-09-29T16:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use pipeline to get results which match the timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-pipeline-to-get-results-which-match-the-timestamp/m-p/331346#M61390</link>
      <description>&lt;P&gt;you can use something like: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...|rex field=_raw "(?&amp;lt;timestamp&amp;gt;^[0-9-:\s]+)|\n(?&amp;lt;email&amp;gt;.*\))"|stats values(email) as email by timestamp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;assuming that email was what you had wanted extracted. that's what looked to be in italics, to me.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:06:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-pipeline-to-get-results-which-match-the-timestamp/m-p/331346#M61390</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-10-24T12:06:02Z</dc:date>
    </item>
  </channel>
</rss>

