<?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: Comparison in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638640#M221303</link>
    <description>&lt;P&gt;This may not give you what you want, but might be close to what you have asked for&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| bin _time span=1s
| chart latest(severity) by _time log&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 12:26:40 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-04-04T12:26:40Z</dc:date>
    <item>
      <title>How to extract,  if log1 - severity =6 then what is the severity in log2, at given point of time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638620#M221295</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm searching 2 different logs, which contain the "Severity" as common field.&lt;/P&gt;
&lt;P&gt;I want to extract,&amp;nbsp; if log1 - severity =6 then what is the severity in log2, at given point of time.&lt;/P&gt;
&lt;P&gt;Severity values will be 1-6 only&lt;/P&gt;
&lt;P&gt;Ex:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Log1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log2&lt;/P&gt;
&lt;P&gt;Severity&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;
&lt;P&gt;Kindly help on the same...&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 10:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638620#M221295</guid>
      <dc:creator>VijayA</dc:creator>
      <dc:date>2023-04-04T10:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638621#M221296</link>
      <description>&lt;P&gt;What do you mean by "&lt;SPAN&gt;at given point of time"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Assuming you already have the logs ingested into Splunk, there are most likely stored as a series of events. Hopefully, these events will have a timestamp which is extracted and tagged to event. Splunk can then process these events in a pipeline of events returned by a search. It is essentially processing one event at a time. In order to compare values from more than one event, they have to be brought together (often by a stats command), so that these stats events can be processed (one at a time).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do you want to bring your events from the two logs together?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 10:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638621#M221296</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-04T10:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638623#M221297</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I already have logs in splunk from both log1 and log2 as events, they have timestamps as well&lt;/P&gt;&lt;P&gt;I do have 4 other fields in common and using JOIN to combine the fields.&lt;/P&gt;&lt;P&gt;but I'm unable to compare the if S=6 in Log1, what is the S value in Log2&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide some comparison steps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 10:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638623#M221297</guid>
      <dc:creator>VijayA</dc:creator>
      <dc:date>2023-04-04T10:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638627#M221298</link>
      <description>&lt;P&gt;You haven't answered the central question - what do you mean by "given point of time"?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 10:30:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638627#M221298</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-04T10:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638629#M221299</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"given point of time" means &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ex: on&amp;nbsp; 04/04/23 10:04:05 AM if log1 S=6, what is value of S in log2 at the same time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Log1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log2&lt;/P&gt;&lt;P&gt;Severity&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 10:35:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638629#M221299</guid>
      <dc:creator>VijayA</dc:creator>
      <dc:date>2023-04-04T10:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638634#M221301</link>
      <description>&lt;P&gt;So, if you have an event in log 1 at&amp;nbsp;&lt;SPAN&gt;04/04/23 10:04:05 AM, are you expecting there to be an event in log 2 at exactly the same time? Down the second, or even millisecond?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 11:05:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638634#M221301</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-04T11:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638637#M221302</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;&lt;SPAN&gt;Down the second, will be good&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 11:34:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638637#M221302</guid>
      <dc:creator>VijayA</dc:creator>
      <dc:date>2023-04-04T11:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638640#M221303</link>
      <description>&lt;P&gt;This may not give you what you want, but might be close to what you have asked for&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| bin _time span=1s
| chart latest(severity) by _time log&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:26:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-if-log1-severity-6-then-what-is-the-severity-in/m-p/638640#M221303</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-04T12:26:40Z</dc:date>
    </item>
  </channel>
</rss>

