Comments have been closed on this page. Please use AppMon & UEM Plugins forum for questions about this plugin.
This Application enables a seamless way to store Business Transactions and Alerts in Splunk for further analysis by correlating your Splunk data with Dynatrace APM Business Transaction data.
APM with Dynatrace Splunk Application
Michael Villiger (Current Owner)
Rajesh Jain / Michael Kopp (previous owners/maintainers) Yiaochung Lee and Wilson Lai (initial splunk application) , Ardeshir Arfaian (initial splunk alert), Peter Kaiser (Big Data Business Transaction Bridge used internally by the Splunk Application)
APM with dynaTrace App for Splunk 2.3.0 Dynatrace Splunk Alert Plugin Splunk Business Transactions template profile
Splunk App Store: http://apps.splunk.com/app/1593/
Only update of logo
Splunk App Store: http://apps.splunk.com/app/1593/
The APM with Compuware dynaTrace , Splunk App Version 2.2.3 is available on the Splunk App Store http://apps.splunk.com/app/1593/
Note, since the directory the application resides in has changed it is recommended that you delete the existing application directory ($SPLUNK_HOME/etc/apps/APM_dynatrace) otherwise the application will appear twice within the Splunk interface.
In this release we have changed the startup script of flume server and the input scripts for Splunk. We use python scripts which are platform independent. You will see only three scripts runFlume.py, runDashboard.py and cleanFlume.py in this version which replaces all the previous bat/sh/curl scripts and processes
In case you are using the Google Maps Plugin, there are some config / permission issues with the GeoLiteData.dat file which may not allow you to use the maps view with this app. But you can install the Google Maps Plugin and search within that App context for dynaTrace visits.
Release Notes v 2.0
The APM with Compuware dynaTrace , Splunk App Version 2.0 is available on the Splunk App Store http://apps.splunk.com/app/1593/
V 2.0 has major changes in the OOB Dashboards which are populated with APM data from Compuware dynaTrace.Application at Glance : Gives you at glance view of the Applications, Visitors and Critical Transactions
Visitors on a Map: Gives you a geographical view of your visitors, with the ability to zero on a single visit
Key Analytic Metrics: Allows you to share analysis APM data for business analysis and effectiveness of your web/app properties
Transaction Activity Data and User Activity Data: Gives you a timeline view of your transactions, so you can understand at what time of the day certain transactions are heavily used or not.
The Splunk App also has a pivot data model to start with, which an be used to create models around User Activity, Visits and Transaction Health and leverage the Splunk platform for Analysis. The Splunk App for Linux platform has a cleanup script to clean the log files once they have been ingested.
You will need CompuwareAPM dynaTrace 5.5 with enabled Business Transaction Export. You will also need a recent version of Splunk, this Application has been tested with Splunk 6 Windows and Linux! You Splunk box needs to have Java 6 or higher installed.
Download the APM_dynaTrace file from the attachments or from the Splunk Store http://apps.splunk.com/app/1593/
Open Splunk, Click on Splunk Icon -> Manage Apps and Install app from file.
Open dynaTrace Client -> Server Settings -> (Export) Business Transaction Feeds
Insert the URL of the Flume (Splunk) server. The default port of the flume server running on the Splunk server is 4321
Select the Business Transactions you would like to export, edit the Business Transaction and select export results.
Good Luck, you should start seeing data in APM with Compuware dynaTrace App for Splunk
Use the Splunk Web UI to install the APM with dynaTrace Splunk Application. You can simply install the APM with Compuware dynaTrace Splunk App as is. Once ready the app will begin listening for data on the designated host inside 5 minutes after install.
The Splunk Application contains the Big Data Business Transaction Bridge with a specialized flume configuration. You can edit it by going to $SPLUNK_HOME/etc/apps/compuwareapm/bin. Per default it will listen on port 4321, which you can change. It will write the data to the log directory in the application folder.
Default directory for the log files are in $SPLUNK_HOME/etc/apps/compuwareapm/log
On Linux we have a cleanFlume.sh which cleans the log files from this location after injestion.
You can change the log directory by modifing the flume.conf file in the Applications bin directory. The respective settings are
One appropriate directory on a Linux system would be /var/log/dynatrace. You could then use the Linux service logrotate with rotate option 0 (delete and not rotate) to cleanup old data on a daily or weekly basis. On A Windows system you can do something similar with a Scheduled delete of old files.
See Real Time Business Transactions Feed on how to enable this feature. You should set the host and port to the host that runs the Splunk Application and use the default port 4321 unless you have changed it.
The Splunk Application contains a Default View called "Top Countries". It shows the top converted countries, Top Landing pages and their conversion rate and the Exit Pages with conversion rates. In order for this to work add the two Business Transactions from the Splunk Business Transactions template profile to your own System Profile:
By simply enabling the HTTP export of any Business Transactions you can now use them in splunk. The Splunk Application distinguishes between 4 source types
you can select for them easily by using the sourcetype=pp query expression in splunk
All fields are automatically discovered.
In the Export of Business Transactions splittings are called dimensions. Accordingly you can search for any dimension in splunk by filtering by the specific dimension. e.g. if you export the easyTravel Business Transaction easyTravel Bookings by Location you can search for locations via an expression like this
sourcetype= pp AND "dimensions.Booking Location" = "*Zurich*"
You can also look at the top locations by revenue
sourcetype= pp | stats sum(measures.Revenue) by "dimensions.Booking Location" | rename sum(measures.Revenue) AS revenue | sort -revenue
Splunk has a very comprehensive query language that allows many aggregations that we know from SQL and BI tools. With this you can correlate a Visit with its respective Client Actions and PurePath by using the fields shared among them (e.g. the visitId). You can aggregate measures across different dimensions and do complex statistical analysis.
To send alerts to splunk you need to install the attached CompuwareAPM dynaTrace Splunk Alert Plugin. Once done you can use this plugin to export any alert. Simple go to the Incident, switch to the Actions tab and click on Advanced Configuration. You can then add the Splunk Action as an Incident Action
Set the url to http://<splunk_host>:4321/. Change the host and port accordingly.
This Splunk Application uses the dynaTrace Server REST API to query dashboards and pull the measurement data from them into Splunk. to activate this you need to edit the runDashboard.sh/.bat inside the CompuwareAPM Splunk Application Directory
The script will then pull the dashboard periodically (every 5 minutes on default) and retrieve the measurement data in JSON format.
If you want to retrieve multiple dashboards or from different servers simply copy/paste the script lines that do the rest and xslt call.
One of the features of this Splunk Application is that you can drill down from an alert or Business Transaction from Splunk into dynaTrace. In order to do this for Business Transactions you need to enable the PurePath Data export in a particular Business Transaction.
The Splunk events will then contain the purePathId. If this is there you will be able to use the Drill down to CompuwareAPM to open the PurePath in your local dynaTrace client. This requires that you the client is already running and connected to the correct dynaTrace Server.
You can do the same for Alerts.
In both cases the CompuwareAPM dynaTrace client must be already running on your local machine!
If you have questions or ideas for this Splunk Application please post it in our Plugin Forum
Please post comments in AppMon & UEM Plugins
Looking for old comments? Find them hhereere (this page is loading very slow!)