<?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: What's the best way to compare data in two different environments with outputlookup? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339266#M100590</link>
    <description>&lt;P&gt;Thanks for your answer. I need to keep those both environments separate. Thats why i wanted to make a lookup at one to compare it to the other environment. I'am new with Splunk so don't know how to do check if in "old" environment has the same data as in the "new" environment.&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2017 12:43:22 GMT</pubDate>
    <dc:creator>AydinCan</dc:creator>
    <dc:date>2017-10-31T12:43:22Z</dc:date>
    <item>
      <title>What's the best way to compare data in two different environments with outputlookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339263#M100587</link>
      <description>&lt;P&gt;Hallo splunk users,&lt;/P&gt;

&lt;P&gt;What is the best way to compare the same data in two different environments  (producktion and lab) with outputlookup? &lt;/P&gt;

&lt;P&gt;thanks Aydin &lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 09:23:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339263#M100587</guid>
      <dc:creator>AydinCan</dc:creator>
      <dc:date>2017-10-31T09:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to compare data in two different environments with outputlookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339264#M100588</link>
      <description>&lt;P&gt;Can you add some sample data from Prod and Lab (mask or anonymize any sensitive information before posting)?&lt;/P&gt;

&lt;P&gt;What is the type of data and also explain what are the type of differences you are trying to capture? Please add more details for community to assist you better.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 10:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339264#M100588</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-31T10:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to compare data in two different environments with outputlookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339265#M100589</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
why do you speak about "outputlookup"?&lt;/P&gt;

&lt;P&gt;At first you can ingest logs from both your environments and put them into one or two indexes:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;probably you're not interested to maintain lab logs for the same time of production logs, so it could be better to put logs into two different indexes (e.g. my_prod and my_lab)&lt;/LI&gt;
&lt;LI&gt;then you can configure the same ingestion (sourcetypes) in bothe the environments so you can compare fields&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;so you can put in the same search both the indexes and run something like this:&lt;/P&gt;

&lt;P&gt;index=my_prod OR index=my_lab&lt;BR /&gt;
| chart count over field1 BY index&lt;BR /&gt;
in this way you can compare the number of occurrances of field1 in both the environments.&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;If instead you want to compare values you can run something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_prod OR index=mt_lab
| eval field1_prod=(if index="my_prod", field1,""), field1_lab=(if index="my_lab", field1,"")
| table _time field1_prod field1_lab
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in this way you can compare field1 values in both the environments.&lt;BR /&gt;
Following the above methods you can performa other comparations.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:31:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339265#M100589</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T16:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to compare data in two different environments with outputlookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339266#M100590</link>
      <description>&lt;P&gt;Thanks for your answer. I need to keep those both environments separate. Thats why i wanted to make a lookup at one to compare it to the other environment. I'am new with Splunk so don't know how to do check if in "old" environment has the same data as in the "new" environment.&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 12:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339266#M100590</guid>
      <dc:creator>AydinCan</dc:creator>
      <dc:date>2017-10-31T12:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: What's the best way to compare data in two different environments with outputlookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339267#M100591</link>
      <description>&lt;P&gt;Hi AydinCan,&lt;BR /&gt;
if you're satisfied by this answer, please accept or upvote it.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 12:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-s-the-best-way-to-compare-data-in-two-different/m-p/339267#M100591</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-10-31T12:45:24Z</dc:date>
    </item>
  </channel>
</rss>

