<?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: search with multiple CSV in Other Usage</title>
    <link>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/587223#M1569</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer, I will you explain my case better.&lt;/P&gt;&lt;P&gt;I have two CSV file with csv file A where the content is some CVE vulnerability by ip server and the second CSV file B where the content is the list of our server where is mentionned the server owner etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show on the dashboard the Owner, name server, CVE, IP ect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the csv file A the Owner is not associed with the IP server so I did an variable "ip" to merge the data from both CSV and get the owner associed with the IP with "transaction"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index="A" AND (Risk=$Risk$))OR(index="B" AND ("Deployment State"=Production))| eval ip_extracted=if(cidrmatch("Network",extracted_Host), "ipok", "noip") | eval ip_servers=if(cidrmatch("Network",NIC__1__IPAddress__1), "ipok", "noip") | eval ip=if(match(ip_servers, "ipok"),NIC__1__IPAddress__1, extracted_Host)  | transaction ip  | table  Owner ip Risk Name Description Solution "CVSS v2_0 Base Score" "CVSS v3_0 Base Score" OperatingSystem | where  Risk!="NULL" |search Owner=$Owner$ ip=$ip$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my problem is that each events sorted by ip are merged in my dashboard, I want that each event is shown independently by ip like as shown below because I want to add an check case where the owner can check if the event has been done or not and actualy it's not possible because each events are merged&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-03-02_14h34_13.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18214i80F5CB1BB3E6804B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-03-02_14h34_13.png" alt="2022-03-02_14h34_13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My English is not good so I don't know if you have understand what I mean ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 13:44:51 GMT</pubDate>
    <dc:creator>miguel1423</dc:creator>
    <dc:date>2022-03-02T13:44:51Z</dc:date>
    <item>
      <title>How to search with multiple CSV</title>
      <link>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/585928#M1567</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm currently using two csv to make an report as&lt;/P&gt;
&lt;P&gt;- index A : file A CSV&lt;/P&gt;
&lt;P&gt;-index B : file B CSV&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I m trying to add an value from raw csv file A into raw csv file B.&lt;/P&gt;
&lt;P&gt;With my first search form CSV file B I get this values&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Owner&lt;/TD&gt;
&lt;TD width="50%"&gt;IP&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Owner A&lt;/TD&gt;
&lt;TD width="50%"&gt;10.10.10.2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Owner B&lt;/TD&gt;
&lt;TD width="50%"&gt;10.10.10.3&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to add the Owner value from my first search into my second search...&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="47px"&gt;&lt;FONT color="#FF9900"&gt;Owner -&amp;gt; I would get from file A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="47px"&gt;IP -&amp;gt; same value as ip into file A&lt;/TD&gt;
&lt;TD width="25%" height="47px"&gt;CVE&lt;/TD&gt;
&lt;TD width="25%" height="47px"&gt;Risk&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;&lt;FONT color="#FF9900"&gt;&lt;EM&gt;Owner A&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;&lt;EM&gt;10.10.10.2&lt;/EM&gt;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;&lt;FONT color="#FF9900"&gt;&lt;EM&gt;Owner B&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;&lt;EM&gt;10.10.10.3&lt;/EM&gt;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can get value of Owner from csv file B and add them on my search ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Miguel&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 15:46:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/585928#M1567</guid>
      <dc:creator>miguel1423</dc:creator>
      <dc:date>2022-02-22T15:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: search with multiple CSV</title>
      <link>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/585931#M1568</link>
      <description>&lt;P&gt;There are many ways to achieve this, some are more efficient than others. To receive more accurate suggestions, please share your current search (mask anything sensitive). A general way would be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;search indexA OR search index=B
| fields Owner  IP  CVE	Risk
| stats values(*) as * by IP&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Feb 2022 15:12:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/585931#M1568</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-02-21T15:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: search with multiple CSV</title>
      <link>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/587223#M1569</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer, I will you explain my case better.&lt;/P&gt;&lt;P&gt;I have two CSV file with csv file A where the content is some CVE vulnerability by ip server and the second CSV file B where the content is the list of our server where is mentionned the server owner etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show on the dashboard the Owner, name server, CVE, IP ect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the csv file A the Owner is not associed with the IP server so I did an variable "ip" to merge the data from both CSV and get the owner associed with the IP with "transaction"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index="A" AND (Risk=$Risk$))OR(index="B" AND ("Deployment State"=Production))| eval ip_extracted=if(cidrmatch("Network",extracted_Host), "ipok", "noip") | eval ip_servers=if(cidrmatch("Network",NIC__1__IPAddress__1), "ipok", "noip") | eval ip=if(match(ip_servers, "ipok"),NIC__1__IPAddress__1, extracted_Host)  | transaction ip  | table  Owner ip Risk Name Description Solution "CVSS v2_0 Base Score" "CVSS v3_0 Base Score" OperatingSystem | where  Risk!="NULL" |search Owner=$Owner$ ip=$ip$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my problem is that each events sorted by ip are merged in my dashboard, I want that each event is shown independently by ip like as shown below because I want to add an check case where the owner can check if the event has been done or not and actualy it's not possible because each events are merged&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-03-02_14h34_13.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18214i80F5CB1BB3E6804B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-03-02_14h34_13.png" alt="2022-03-02_14h34_13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My English is not good so I don't know if you have understand what I mean ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 13:44:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/587223#M1569</guid>
      <dc:creator>miguel1423</dc:creator>
      <dc:date>2022-03-02T13:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: search with multiple CSV</title>
      <link>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/587224#M1570</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index="A" AND (Risk=$Risk$))OR(index="B" AND ("Deployment State"=Production))
| eval ip_extracted=if(cidrmatch("Network",extracted_Host), "ipok", "noip") 
| eval ip_servers=if(cidrmatch("Network",NIC__1__IPAddress__1), "ipok", "noip") 
| eval ip=if(match(ip_servers, "ipok"),NIC__1__IPAddress__1, extracted_Host)  | fields  Owner ip Risk Name Description Solution "CVSS v2_0 Base Score" "CVSS v3_0 Base Score" OperatingSystem 
| stats values(*) as * by ip | where  Risk!="NULL" |search Owner=$Owner$ ip=$ip$&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 02 Mar 2022 13:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/587224#M1570</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-03-02T13:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: search with multiple CSV</title>
      <link>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/587235#M1571</link>
      <description>&lt;P class="lia-align-left"&gt;Hi,&lt;/P&gt;&lt;P class="lia-align-left"&gt;thx for your reply but the result it's same, all events are merged&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 14:03:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/How-to-search-with-multiple-CSV/m-p/587235#M1571</guid>
      <dc:creator>miguel1423</dc:creator>
      <dc:date>2022-03-02T14:03:21Z</dc:date>
    </item>
  </channel>
</rss>

