<?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: How to join multiple sources to build a network path in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-join-multiple-sources-to-build-a-network-path/m-p/500924#M32848</link>
    <description>&lt;P&gt;@urana&lt;BR /&gt;
Thank you but that approach doesn't work (or I wasn't able to make it works); I've ended doing a map command from A &amp;amp; B sources and the a join with the C source. I try to avoid join as much as possible but the devices aren't billions and the performances are more than acceptable.&lt;/P&gt;

&lt;P&gt;@woodcock&lt;BR /&gt;
I was playing with Business flow a few weeks ago in the Splunk Oxygen, may worths another look, ty.&lt;BR /&gt;
The topology apps are all great and I already use them; the issue with this use case is the tons of variables to be handled&lt;/P&gt;

&lt;P&gt;Basically I have (just as example):&lt;BR /&gt;
- Switch 1 connected to Switch 2 with 4 ports; each link has is own metrics/info&lt;BR /&gt;
- Switch 2 connected to Switch 3 with 8 ports; again, each link with is own info&lt;/P&gt;

&lt;P&gt;I tried with multivalues and succesfully build a single line, multivalue topology across all devices/link. Right now I'm stuck on splitting multivalues fields because of they have uneven elements; the "standard" mvjoin/split/rex works well when you have same number of events in each multivalue but that's not my case &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Anyway, ty all for your time&lt;BR /&gt;
PaoloR &lt;/P&gt;</description>
    <pubDate>Sun, 13 Oct 2019 09:34:07 GMT</pubDate>
    <dc:creator>PaoloR84</dc:creator>
    <dc:date>2019-10-13T09:34:07Z</dc:date>
    <item>
      <title>How to join multiple sources to build a network path</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-join-multiple-sources-to-build-a-network-path/m-p/500921#M32845</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;
I have the following dataset:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Source A: "DEVICE INFO"&lt;BR /&gt;
Source B: "SOURCE" (maps to SourceA DEVICE),"SOURCE_PORTS",DESTINATION, DESTINATION_PORTS&lt;BR /&gt;
Source C:  "SOURCE" (which is the DESTINATION of Source B) etc..&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Basically I'm trying to dynamically build a network path between multiple devices (and from multiple sources), the ultimate goal will be a network topology (probably with sankey but doesn't matter right now)&lt;/P&gt;

&lt;P&gt;As example:&lt;/P&gt;

&lt;P&gt;SourceA&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    | makeresults | eval sourcetype = "A" | eval Device = "Device_XYZ" | eval Model = "Vendor"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;SourceB&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    | append [| makeresults | eval sourcetype = "B" | eval Source = "Device_XYZ" | eval SourcePorts = "123456" | eval Destination = "Device_QWE" | eval DestinationPorts = "AAABBBB"] 
    | append [| makeresults | eval sourcetype = "B" | eval Source = "Device_XYZ" | eval SourcePorts = "789000" | eval Destination = "Device_QWE" | eval DestinationPorts = "CCCDDDD"] 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;SourceC&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| append [| makeresults | eval sourcetype = "C" | eval Source = "Device_QWE" | eval SourcePorts = "AAABBBB" | eval Destination = "Device_MNB" | eval DestinationPorts = "QQQWWW"] 
| append [| makeresults | eval sourcetype = "C" | eval Source = "Device_QWE" | eval SourcePorts = "CCCDDDD" | eval Destination = "Device_MNB" | eval DestinationPorts = "QQQWWW"]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any idea on how to approach is  welcome, ty guys for your time&lt;/P&gt;

&lt;P&gt;PaoloR&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:31:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-join-multiple-sources-to-build-a-network-path/m-p/500921#M32845</guid>
      <dc:creator>PaoloR84</dc:creator>
      <dc:date>2020-09-30T02:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple sources to build a network path</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-join-multiple-sources-to-build-a-network-path/m-p/500922#M32846</link>
      <description>&lt;P&gt;You could try multisearch, something like this&lt;/P&gt;

&lt;P&gt;|multisearch&lt;/P&gt;

&lt;P&gt;[ search Source A&lt;BR /&gt;
| search &lt;EM&gt;search query&lt;/EM&gt;&lt;BR /&gt;
| fields &lt;EM&gt;all fields you want from that search&lt;/EM&gt;] &lt;/P&gt;

&lt;P&gt;[ search Source B&lt;BR /&gt;
| search &lt;EM&gt;search query&lt;/EM&gt;&lt;BR /&gt;
| fields &lt;EM&gt;all fields you want from that search&lt;/EM&gt;] &lt;/P&gt;

&lt;P&gt;[ search Source C&lt;BR /&gt;
| search &lt;EM&gt;search query&lt;/EM&gt;&lt;BR /&gt;
| fields &lt;EM&gt;all fields you want from that search&lt;/EM&gt;] &lt;/P&gt;

&lt;P&gt;| eval Source A=if(like(&lt;EM&gt;field A&lt;/EM&gt;),"&lt;EM&gt;field B&lt;/EM&gt;",&lt;EM&gt;field C&lt;/EM&gt;)&lt;/P&gt;

&lt;P&gt;For example I use it for Potential Malicious User agents:&lt;/P&gt;

&lt;P&gt;| multisearch&lt;/P&gt;

&lt;P&gt;[ search (index=proxy) "script"&lt;BR /&gt;
| search http_user_agent="&lt;EM&gt;script&lt;/EM&gt;"&lt;BR /&gt;
| fields _time, http_user_agent, src_ip, url] &lt;/P&gt;

&lt;P&gt;[ search (index=proxy OR sourcetype=f5*) "Iceweasel"&lt;BR /&gt;
| search http_user_agent="&lt;EM&gt;Iceweasel&lt;/EM&gt;"&lt;BR /&gt;
| fields _time, http_user_agent, src_ip, url] &lt;/P&gt;

&lt;P&gt;[ search (index=proxy OR sourcetype=f5*) "Meterpreter/Windows"&lt;BR /&gt;
| search http_user_agent="*Meterpreter/Windows"&lt;BR /&gt;
| fields _time, http_user_agent, src_ip, url] &lt;/P&gt;

&lt;P&gt;[ search (index=proxy OR sourcetype=f5*) "Mozilla/5.00 (Nikto/"&lt;BR /&gt;
| search http_user_agent="Mozilla/5.00 (Nikto/*"&lt;BR /&gt;
| fields _time, http_user_agent, src_ip, url] &lt;/P&gt;

&lt;P&gt;[ search (index=proxy OR sourcetype=f5*) "dirb"&lt;BR /&gt;
| search http_user_agent="&lt;EM&gt;dirb&lt;/EM&gt;"&lt;BR /&gt;
| fields _time, http_user_agent, src_ip, url] &lt;/P&gt;

&lt;P&gt;[ search (index=proxy OR sourcetype=f5*) "WinHttp.WinHttpRequest"&lt;BR /&gt;
| search http_user_agent="&lt;EM&gt;Win32; WinHttp.WinHttpRequest&lt;/EM&gt;"&lt;BR /&gt;
| fields _time, http_user_agent, src_ip, url] &lt;/P&gt;

&lt;P&gt;| eval suspect_issue=if(like(http_user_agent,"%script%"),"Cross Site Scripting",suspect_issue)&lt;BR /&gt;
| eval suspect_issue=if(like(http_user_agent,"%Iceweasel%"),"Kali",suspect_issue)&lt;BR /&gt;
| eval suspect_issue=if(like(http_user_agent,"%Meterpreter%"),"Meterpreter",suspect_issue)&lt;BR /&gt;
| eval suspect_issue=if(like(http_user_agent,"%(Nikto/%"),"Nikto Scanning",suspect_issue)&lt;BR /&gt;
| eval suspect_issue=if(like(http_user_agent,"%dirb%"),"DirbScanning",suspect_issue)&lt;BR /&gt;
| eval suspect_issue=if(like(http_user_agent,"%WinHttp.WinHttpRequest%"),"WScript",suspect_issue)&lt;BR /&gt;
| stats latest(_time) AS Latest, values(url) as url by http_user_agent, suspect_issue, src_ip&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:31:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-join-multiple-sources-to-build-a-network-path/m-p/500922#M32846</guid>
      <dc:creator>urana</dc:creator>
      <dc:date>2020-09-30T02:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple sources to build a network path</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-join-multiple-sources-to-build-a-network-path/m-p/500923#M32847</link>
      <description>&lt;P&gt;You really need to look at &lt;CODE&gt;Business Flow&lt;/CODE&gt;:&lt;BR /&gt;
&lt;A href="https://www.splunk.com/en_us/software/business-analytics-and-process-mining.html"&gt;https://www.splunk.com/en_us/software/business-analytics-and-process-mining.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You &lt;EM&gt;might&lt;/EM&gt; also check out some mod-viz on Splunkbase:&lt;BR /&gt;
Force Directed App: &lt;A href="https://splunkbase.splunk.com/app/3767/"&gt;https://splunkbase.splunk.com/app/3767/&lt;/A&gt;&lt;BR /&gt;
Graph Viz: &lt;A href="https://splunkbase.splunk.com/app/4346/"&gt;https://splunkbase.splunk.com/app/4346/&lt;/A&gt;&lt;BR /&gt;
AfterGlow: &lt;A href="https://splunkbase.splunk.com/app/277/"&gt;https://splunkbase.splunk.com/app/277/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 06:21:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-join-multiple-sources-to-build-a-network-path/m-p/500923#M32847</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-13T06:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple sources to build a network path</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-join-multiple-sources-to-build-a-network-path/m-p/500924#M32848</link>
      <description>&lt;P&gt;@urana&lt;BR /&gt;
Thank you but that approach doesn't work (or I wasn't able to make it works); I've ended doing a map command from A &amp;amp; B sources and the a join with the C source. I try to avoid join as much as possible but the devices aren't billions and the performances are more than acceptable.&lt;/P&gt;

&lt;P&gt;@woodcock&lt;BR /&gt;
I was playing with Business flow a few weeks ago in the Splunk Oxygen, may worths another look, ty.&lt;BR /&gt;
The topology apps are all great and I already use them; the issue with this use case is the tons of variables to be handled&lt;/P&gt;

&lt;P&gt;Basically I have (just as example):&lt;BR /&gt;
- Switch 1 connected to Switch 2 with 4 ports; each link has is own metrics/info&lt;BR /&gt;
- Switch 2 connected to Switch 3 with 8 ports; again, each link with is own info&lt;/P&gt;

&lt;P&gt;I tried with multivalues and succesfully build a single line, multivalue topology across all devices/link. Right now I'm stuck on splitting multivalues fields because of they have uneven elements; the "standard" mvjoin/split/rex works well when you have same number of events in each multivalue but that's not my case &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Anyway, ty all for your time&lt;BR /&gt;
PaoloR &lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 09:34:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-join-multiple-sources-to-build-a-network-path/m-p/500924#M32848</guid>
      <dc:creator>PaoloR84</dc:creator>
      <dc:date>2019-10-13T09:34:07Z</dc:date>
    </item>
  </channel>
</rss>

