<?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 complete correlation of data contained in 2 files before indexing? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-complete-correlation-of-data-contained-in-2-files-before/m-p/148250#M9019</link>
    <description>&lt;P&gt;I'm creating a dashboard based on the data contained in 2 files: one with alarms fired from some equipment and one with all available equipment. &lt;/P&gt;

&lt;P&gt;My 1st attempt was to use lookups to get the data of the equipment file and correlate that with the alarms, but I noticed that since the equipment can change over time, I can no longer relate when looking at historical data. &lt;/P&gt;

&lt;P&gt;So for my 2nd attempt I'm trying to merge the data (alarms + equipment) before indexing it. I believe that it's possible to achieve this running a python script before indexing the data, but from my searches, I'm not able to find much about it. &lt;/P&gt;

&lt;P&gt;This is achievable with summary indexing, but I was thinking about using it as a last resort since I had a problem before because the scheduled search didn't run for some reason and I ended up with a hole in the final data.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2015 00:34:26 GMT</pubDate>
    <dc:creator>diogofgm</dc:creator>
    <dc:date>2015-02-23T00:34:26Z</dc:date>
    <item>
      <title>How to complete correlation of data contained in 2 files before indexing?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-complete-correlation-of-data-contained-in-2-files-before/m-p/148250#M9019</link>
      <description>&lt;P&gt;I'm creating a dashboard based on the data contained in 2 files: one with alarms fired from some equipment and one with all available equipment. &lt;/P&gt;

&lt;P&gt;My 1st attempt was to use lookups to get the data of the equipment file and correlate that with the alarms, but I noticed that since the equipment can change over time, I can no longer relate when looking at historical data. &lt;/P&gt;

&lt;P&gt;So for my 2nd attempt I'm trying to merge the data (alarms + equipment) before indexing it. I believe that it's possible to achieve this running a python script before indexing the data, but from my searches, I'm not able to find much about it. &lt;/P&gt;

&lt;P&gt;This is achievable with summary indexing, but I was thinking about using it as a last resort since I had a problem before because the scheduled search didn't run for some reason and I ended up with a hole in the final data.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 00:34:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-complete-correlation-of-data-contained-in-2-files-before/m-p/148250#M9019</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2015-02-23T00:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete correlation of data contained in 2 files before indexing?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-complete-correlation-of-data-contained-in-2-files-before/m-p/148251#M9020</link>
      <description>&lt;P&gt;Any idea about this?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-complete-correlation-of-data-contained-in-2-files-before/m-p/148251#M9020</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2015-03-27T11:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete correlation of data contained in 2 files before indexing?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-complete-correlation-of-data-contained-in-2-files-before/m-p/148252#M9021</link>
      <description>&lt;P&gt;There are a couple of options for correlating your alarm data but it all really depends on where your equipment data is coming from. One way would be to create a lookup from the external file and then compare it against your alarm data in Splunk. What you're looking for is this: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Knowledge/Addfieldsfromexternaldatasources"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/Knowledge/Addfieldsfromexternaldatasources&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2015 15:42:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-complete-correlation-of-data-contained-in-2-files-before/m-p/148252#M9021</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2015-03-27T15:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to complete correlation of data contained in 2 files before indexing?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-complete-correlation-of-data-contained-in-2-files-before/m-p/148253#M9022</link>
      <description>&lt;P&gt;How is these two type of data correlated? Do you have some equipment_id type of primary key? If there is a primary key available, my suggestion would be to use a Time based lookup which will store the available equipment_id based on time and you should be able to do a lookup to correlate historical data as well.&lt;/P&gt;

&lt;P&gt;See this&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Knowledge/Addfieldsfromexternaldatasources#Set_up_a_time-bounded_lookup" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Knowledge/Addfieldsfromexternaldatasources#Set_up_a_time-bounded_lookup&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:18:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-complete-correlation-of-data-contained-in-2-files-before/m-p/148253#M9022</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-28T19:18:17Z</dc:date>
    </item>
  </channel>
</rss>

