<?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: Parsing Remote Services URL's on Java Application in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721686#M2768</link>
    <description>&lt;P&gt;Thanks Ciao,&lt;/P&gt;&lt;P&gt;They are being discovered as web services but other than that it's &lt;SPAN&gt;essentially&amp;nbsp;&lt;/SPAN&gt;the configuration I've just started using. I'm restricting it to the first 2 segments because I can't find a way to drop the parameters and then use the first 3 segments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed your using the merge parameter. Can you tell me what that does ? I couldn't find anything in the documentation.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 13:45:37 GMT</pubDate>
    <dc:creator>Bill_Anderson</dc:creator>
    <dc:date>2021-04-13T13:45:37Z</dc:date>
    <item>
      <title>Parsing Remote Services URL's on Java Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721684#M2766</link>
      <description>&lt;P&gt;We're monitoring an application with a large variety of report web services. The remote services URL's come in a wide variety.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Some with only a couple segments some with 5 or 6 segments&lt;/LI&gt;&lt;LI&gt;Some with parameters Some without&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We'd like to drop the parameters, keep the first 3 segments if they exist and keep the&amp;nbsp; "/" 's&lt;/P&gt;&lt;P&gt;Is this possible ? What would be the best way to do this ?&lt;/P&gt;&lt;P&gt;Here is an example Parse the following URL's&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&lt;A href="https://ingress-tst.abc.com/componentservice/12dd?sadf=" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ingress-tst.abc.com/componentservice/abc/12dd?sadf=qbert&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://ingress-tst.abc.com/componentservice/12dd?sadf=" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ingress-tst.abc.com/componentservice/abc/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://ingress-tst.abc.com/componentservice/12dd?sadf=" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ingress-tst.abc.com/componentservice/abc/post/test/12dd?sadf=qbert&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;so they all show up in Appdynamics like&amp;nbsp;&amp;nbsp;&lt;A href="https://ingress-tst.abc.com/componentservice/12dd?sadf=" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ingress-tst.abc.com/componentservice&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 15:27:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721684#M2766</guid>
      <dc:creator>Bill_Anderson</dc:creator>
      <dc:date>2021-04-12T15:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing Remote Services URL's on Java Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721685#M2767</link>
      <description>&lt;P&gt;Hi Bill&lt;/P&gt;

&lt;P&gt;You can go into the Application, then from the Left hand Tab, select&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Configuration &amp;gt; Instrumentation &amp;gt; Backend Detection&lt;/P&gt;

&lt;P&gt;If it's a Java application, select Java and then HTTP, and edit the HTTP Discovery section as below&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Backend_Detection.png" style="width: 567px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36416i6BCD87AF79EEC3DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Change the setting to use the first 3 segments&lt;/P&gt;

&lt;P&gt;It will then create the following Remote Services from the sample you gave&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://ingress-tst.abc.com/componentservice/12dd?sadf=" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ingress-tst.abc.com/componentservice/abc/12dd&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://ingress-tst.abc.com/componentservice/12dd?sadf=" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ingress-tst.abc.com/componentservice/abc&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://ingress-tst.abc.com/componentservice/12dd?sadf=" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ingress-tst.abc.com/componentservice/abc/post&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 06:07:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721685#M2767</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-04-13T06:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing Remote Services URL's on Java Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721686#M2768</link>
      <description>&lt;P&gt;Thanks Ciao,&lt;/P&gt;&lt;P&gt;They are being discovered as web services but other than that it's &lt;SPAN&gt;essentially&amp;nbsp;&lt;/SPAN&gt;the configuration I've just started using. I'm restricting it to the first 2 segments because I can't find a way to drop the parameters and then use the first 3 segments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed your using the merge parameter. Can you tell me what that does ? I couldn't find anything in the documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 13:45:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721686#M2768</guid>
      <dc:creator>Bill_Anderson</dc:creator>
      <dc:date>2021-04-13T13:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing Remote Services URL's on Java Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721687#M2769</link>
      <description>&lt;P&gt;Hi Bill&lt;/P&gt;

&lt;P&gt;Maybe I am misunderstanding your requirement. My suggestion would give you the required outcome.&lt;/P&gt;

&lt;P&gt;The URL's you provided, the parameters are at the end of the URL's after the "?", so not sure what you mean by drop the parameters and then use the first 3 segments? If you could provide screenshots or some more info about what you mean that would be great(Please remove any sensitive data)&lt;/P&gt;

&lt;P&gt;Regarding your second question:)&lt;/P&gt;
&lt;P&gt;Split delimiter = The character based on which the URL is divided into parts&lt;BR /&gt;Merge delimiter = The character which should be used to concatenate the different parts used based on the split to form the naming of backend.(this can be anything like &amp;amp;, -, % etc)&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 05:58:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721687#M2769</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2021-04-14T05:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing Remote Services URL's on Java Application</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721688#M2770</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Ciao,&lt;/P&gt;&lt;P&gt;I've setup the default backend detection rule below. This is working for most of the web Service URL's&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-04-20 100359.png" style="width: 608px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36414iA8B2FF58955F4FD4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For specific URL's where we need more segments The plan in to setup&amp;nbsp; a custom discovery rule. I was hoping to do this with one rule but that doesn't look possible. I think I'm good for now&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 15:10:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Parsing-Remote-Services-URL-s-on-Java-Application/m-p/721688#M2770</guid>
      <dc:creator>Bill_Anderson</dc:creator>
      <dc:date>2021-04-20T15:10:06Z</dc:date>
    </item>
  </channel>
</rss>

