Discussion Feed
03-14-2018
09:37 AM
03-14-2018
09:37 AM
Hey all,
Been trying to export and importing custom made rules configuration through the REST API of Appdynamics.
Right now I can export all servlet custom rules through the REST API. Now I want to import the configuration XML but constantly getting an internal server error. I'm doing something wrong and I don't know what
With postman I enter the following URL:
http://controllername:portnumber/controller/transactiondetection/applicationname/tier/custom/servlet?overwrite=true
I set the action to 'POST'
Add this in the body
<?xml version="1.0" encoding="UTF-8"?>
<custom-match-points controller-version="004-002-007-000">
<custom-match-point>
<name> another name </name>
<business-transaction-name> The name</business-transaction-name>
<entry-point>SERVLET</entry-point>
<background>false</background>
<enabled>true</enabled>
<match-rule>
<servlet-rule>
<enabled>true</enabled>
<priority>10</priority>
<excluded>false</excluded>
<uri filter-type="STARTSWITH" filter-value="/pages/wicket"/>
<parameters>
<parameter match-type="check-for-existence">
<name filter-type="EQUALS" filter-value="the configuration"/>
</parameter>
</parameters>
<properties/>
</servlet-rule>
</match-rule>
</custom-match-point>
</custom-match-points>
As a header I set the Content-Type to application/xml and i set the authorization tab as Basic auth and fill in needed credentials.
Click on send and boom internal server error. My guess its either the authentication (don't think so) something missing in the header (maybe) or something wrong with the body (likely).
... View more
10-09-2017
07:52 AM
Just checked the messages that it gets and these are soap messages and there ain't much in the header that gives intel about the requestor. There is however in the body an XML message where the requestor is in registered? Is there a way to retrieve it through xpath or something in a datacollector?
regards
... View more
10-09-2017
04:12 AM
Interesting. I'm going to check this out this week
Still one question though. Is it possible to use regex in the HTTP parameter or is this only possible for de values of HTTP parameters?
I'll get back on you about the given solution.
Thanks!
... View more
10-05-2017
04:33 AM
Thats exactly what I want. To clarify it even more.
The url /pages/cases is a business transaction already. I however need to monitor one extra substep that falls under the .pages/cases link. The thing that makes the transaction unique is the HTTP parameter as provided above. The crux is that http parameter can change depending on which case you open. So if I tell Appdynamics to check specifically for the the parameter above It'll only do it for that specific case. so the specific parameter needs to be filtered to a general parameter.
... View more
10-05-2017
03:54 AM
Its a servlet transaction. The action that it registers is opening a case. There are multiple cases and each one has different number registration.
... View more
10-05-2017
03:44 AM
Hey all,
I was wondering if you can use REGEX for matching the HTTP parameter existance. I can't ready anywhere something about it yet it seems like you can only use regex at checking the parameter value.
The scenario:
The link is '/pages/cases?162-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-1-specialAttentionCell' where '162-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-1-specialAttentionCell' ' is the parameter with no value. The tricky thing is that the parameter changes the number with each case.
So the example link looks like this
162-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-1-specialAttentionCell' or
122-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-0-specialAttentionCell' or
10-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-3-specialAttentionCell'
So I figured I'll do this through REGEX with: \d.*(-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-)\d.*(-specialAttentionCell)
That however doesn't work?
Any tips or tricks?
... View more
10-05-2017
03:28 AM
Hey Raunak,
Is that the only 'maybe' way to retrieve the requestor? I actually expected to see the webservices where the application sends it responses to.
Regards
... View more
10-03-2017
08:08 AM
Hey all,
I want too see which machine initiates the transactions in the Appdynamics transaction snapshots view. I see transaction but I don't see where they come from. I expect to see way more webservices. Its a .NET agent and I'm running on 4.2. Any help is appreciated.
Regards
... View more
09-07-2017
07:20 AM
Hey Ashutosh,
Thanks for the reply!
1. This is a Java application. It'll send messages through soap or REST to the datawarehouse. However we had some progres with it this week. We have two environments (test and production) and in the test the dashoard shows all communications correctly now. In production it doesn't. Now what has changed? We installed the 4.2.7 sun java agent instead of the IBM java agent in the TEST environment. Could this be the difference which why the Broker (JAVA ESB) isn't showing?
So below a picture of the same transaction in test and production.
\
About the points you brought in
2. I'll have to check this with the colleage of mine.
3. The WCF call's are indeed visible as expected
4. I was hoping that for instance the discovery tool would automatically find some stuff where I could filter on. I guess this isn't possible like discovering JAVA transactions? I'll look into the custom entry points ideas.
Couple of extra questions:
Do you have any idea what the difference is between a sun and ibm java agent?
Can we do some WCF transaction splitting based on the URL? So for example we have the URL answerquestion.svc/1/question and answerquestion.svc/2/question which both register under the transaction Answerquestion. From previous posts I've seen that this might not be easy? Do you have any idea if there is a way?
Regards,
Adriaan
... View more
Latest Activity
- Posted How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Tagged How to export and import custom rules on Java (Java Agent, Installation, JVM, and Controller Installation). 03-14-2018 09:37 AM
- Posted Re: Retrieving webservices that make us of the .NET application on NET (Agent, Installation). 10-09-2017 07:52 AM
- Posted Re: Using REGEX for HTTP parameter existence JAVA on Java (Java Agent, Installation, JVM, and Controller Installation). 10-09-2017 04:12 AM
- Posted Re: Using REGEX for HTTP parameter existence JAVA on Java (Java Agent, Installation, JVM, and Controller Installation). 10-05-2017 04:33 AM
- Posted Re: Using REGEX for HTTP parameter existence JAVA on Java (Java Agent, Installation, JVM, and Controller Installation). 10-05-2017 03:54 AM
- Posted Using REGEX for HTTP parameter existence JAVA on Java (Java Agent, Installation, JVM, and Controller Installation). 10-05-2017 03:44 AM
- Posted Re: Retrieving webservices that make us of the .NET application on NET (Agent, Installation). 10-05-2017 03:28 AM
- Posted Retrieving webservices that make us of the .NET application on NET (Agent, Installation). 10-03-2017 08:08 AM
- Posted Re: .net analysing transactions on NET (Agent, Installation). 10-03-2017 05:05 AM
- Posted Re: .net analysing transactions on NET (Agent, Installation). 09-07-2017 07:20 AM
Community Stats
Date Registered | 08-31-2017 06:35 AM |
Date Last Visited | 03-15-2018 09:40 AM |
Total Messages Posted | 11 |