Coder Social home page Coder Social logo

dynatrace-oss / dynatrace-azure-log-forwarder Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 12.0 388 KB

This project provides a mechanism that allows streaming Azure logs from Azure Event Hub into Dynatrace Logs via Azure Function App. It supports both: Azure Resource Logs and Azure Activity Logs.

Home Page: https://www.dynatrace.com/support/help/technology-support/cloud-platforms/microsoft-azure-services/set-up-log-forwarder-azure/

License: Apache License 2.0

Shell 10.16% Python 89.84%
azure-functions azure-portal dynatrace dynatrace-logs log-viewer logs-monitoring stream-logs

dynatrace-azure-log-forwarder's People

Contributors

dawid-kaszubski avatar dependabot[bot] avatar dt-be avatar dtwwolinski avatar equardo avatar irynakudlaienko avatar jbleja avatar joaquinfilipic-dynatrace avatar kamiljsokolowski avatar karolkieglerski avatar marcin-j-wolny avatar mmajcher avatar mswiatkowska avatar nematullokozimov avatar nikita-paskal-dynatrace avatar olegkozel avatar pawelsiwek avatar pgutkowski avatar sq2gxo avatar szymon-nagel-dt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynatrace-azure-log-forwarder's Issues

ActiveGate state check fails for running ActiveGate

See:

if [[ "$ACTIVE_GATE_STATE" != "RUNNING" ]]; then

ActiveGate state check checks if response from ${TARGET_URL}/rest/health equals RUNNING string, but mentioned ActiveGate endpoint returns "RUNNING", so check should expect \"RUNNING\" string.

Fixed code:

check_activegate_state() {
  if ACTIVE_GATE_STATE=$(curl -ksS "${TARGET_URL}/rest/health" --connect-timeout 20); then
    if [[ "$ACTIVE_GATE_STATE" != "\"RUNNING\"" ]]; then
      echo -e ""
      echo -e "\e[91mERROR: \e[37mActiveGate endpoint is not reporting RUNNING state. Please verify provided values for parameters: --target-url (${TARGET_URL})."
      exit 1
    fi
  else
      echo -e "\e[93mWARNING: \e[37mFailed to connect with provided ActiveGate url ($TARGET_URL) to check state. It can be ignored if ActiveGate does not allow public access."
  fi
}

Forwarded logs do not link to Azure Custom Device when they are migrated from legacy types

As Dynatrace moves more managed Azure services to Custom Devices instead of discrete entity types, the linking between logs and entities is increasingly breaking. This is frustrating as logs and related events are linked to unavailable entities and can not use any of the metadata related to the correct custom devices. For example, log for an Azure SQL database will try to link to a legacy entity type instead of one of the new Custom Device types and clicking into the entity brings up a 404 page.

To resolve this, it would be nice if there was a parameter or property file that could be deployed to the Log Forwarder that would mark specific Azure entity types that have been migrated to new Custom Devices (since it would not be the same for all use cases or tenants) and have a lookup system in the forwarder to query for the right entity by typing metadata or name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.