• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
  • Home /
  • .. /
  • AppMon & UEM Open Q&A /
avatar image
Article by Kin K. · Feb 27, 2017 at 08:22 AM · edited · Mar 01, 2017 at 07:45 AM

Business Transactions Feed to Elasticsearch Connector

  • Export to PDF
4

I have built a connector which has an HTTP listener which unmarshalls incoming protobuf messages and creates entries in Elasticsearch for those protobuf messages using the Elasticsearch bulk API.

The connector will check if the index exists before it tries to create the entries. If the index does not exist, it will create the index with a default mapping for the startTime and endTime date fields.

The connector is written in Go.

Source: appmontoelastic-src-02.zip

Version 0.2 Update: Used a newer elasticsearch client library to support Elasticsearch 5.2.1.

thub.nodes.view.add-new-comment
appmon business transaction
appmontoelastic-src-02.zip (920.7 KiB)
appmontoelastic-src-01.zip (914.8 KiB)
Gabriel C.
Hogan K.
Rajesh S.
Sean M.

People who like this

4 Show 5
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image T I. · May 02, 2017 at 03:39 PM 0
Share
@Kin K.

Is it possible to give some steps on how to use this.

- Moses

avatar image Kin K. T I. · May 03, 2017 at 07:51 AM 0
Share

The connector is written in Go, so you'll need a Go compiler to build it (I wanted to attach the compiled binaries to the post, but they were too large).

Once you build the connector, it should produce a single statically-linked binary named "appmontoelastic". If you're running the connector on the same host as Elasticsearch, all you need to do is to run the binary without any options. If you're running the connector on a different host, then you'll need to run the binary with some options to point it to Elasticsearch. Use the -h option to get a list of command line options.

The connector starts a listener on port 9090 by default. You'll need to configure the app mon server to stream to the URL http://CONNECTOR_HOST:9090.

avatar image Alexander R. Kin K. · Nov 20, 2017 at 09:09 AM 0
Share

dear @Kin K. ,

Please, try to send me compiled binaries - please2send2me@mail.ru .

I cannot compile this project on two machines with different OS. No result.

Problem with import...

I am not Go programmer and there are no ready GO lang enviroment virtual machines.

Why developers cant add a simple thing ...

avatar image Ingo H. ♦♦ · May 03, 2017 at 06:04 AM 0
Share

Hi Kin,

can we share this in our Dynatrace-Organization on GitHub?

https://github.com/Dynatrace

Ingo

avatar image Kin K. Ingo H. ♦♦ · May 03, 2017 at 07:43 AM 0
Share

Hi Ingo,

Yes, please feel free to put this on github.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Article

Contributors

avatar image

Follow this article

14 People are following this article.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Navigation

Business Transactions Feed to Elasticsearch Connector

Related Articles

Business Transaction Configuration

Early Access Program for AppMon & UEM 7 has started!

Wildfly with appmon agent starts slowly on Docker

Question about the buffer

AppMon & UEM End of Support Reminder

User Flow Report

Business transaction - How do I get the distinct amount of occurrences and plot in a graph

FrontendServer.ini memory configuration best practise

Does AppMon support IPv6

  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A