Splunk AppDynamics

About Custom event

CommunityUser
Splunk Employee
Splunk Employee

Have a requirement:
When error-checker in source code check out expect error need send a email to notify us.

Maybe I can use custom events: send a post request with some paramers(according custom events document)

But I think the way is not safety:
1st: the post request is "http" not "https"
2ed: the request will include account and password (not security)

Could have other way able to implement this reqirment?

Thanks

Agera K

Labels (3)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

attach to custom events template:

curl -X POST --user user1@customer1:secret 'http://demo.appdynamics.com/controller/rest/applications/5/events?severity=INFO&summary=test1&eventtype=CUSTOM&customeventtype=mycustomevent&propertynames=key1&propertynames=key2&propertyvalues=value1&propertyvalues=value'

but -user  user1@customer1:secret

 user1 :  what's mean

 custimer1:  account . right?

 secret: password  . right?

And I only know two data: account of login  and password

  

0 Karma

Yogesh_Chouk
Builder

Hi Agera,

The user1 can be replaced by the username where you login into the controller UI. Please find more details in below docs

https://docs.appdynamics.com/display/PRO44/Using+the+Controller+APIs#UsingtheControllerAPIs-Authenti...

Thanks,

Yogesh

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Ok,Thanks

Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...