Splunk AppDynamics

Event schema design

CommunityUser
Splunk Employee
Splunk Employee

I need to create a custom schema. AppD documentation is not very extensive on how to create complex (nested) custom schemas. Or can only flat schemas be created in Appdynamics?

Where can I get documentaiton create event schema examples in AppDynamics?

For example if I have 2 possible breakdowns of error types (string,integer) or (string,integer,string) how should I organize in the json? Like an array of 2 possible solutions - error type 1 and error type 2? or all 5 items, or combine the 2 to have 3 items?

Labels (1)
0 Karma

Mohammed_Rayan
Contributor

Hi Atul,

I guess you are referencing to analytics here and if yes, you can use our analytics API to create it and  please take a look at the below docs for the same.

https://docs.appdynamics.com/display/PRO43/Analytics+Events+API#AnalyticsEventsAPI-create_schemaCrea...

Regards,

Mohammed Rayan

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks for your reply with the documentation link. I have some further questions about this link.

1.

"If the event data doesn't match an event schema, the Events Service makes a best effort attempt to match the data to the schema, and returns a 400 bad request if unsuccessful."

When publishing a custom schema using cURL are all fields required or can some be optional?

2. 'SELECT * FROM myProducts'.

Is the name in  query SELECT... FROM <name> the schema-name?

3. How can custom schema published data be queried using SELECT .. FROM transactions, or can we only use SELECT .. FROM <schema-name>? Basically is the transactions schema a global schema?

Thanks

- Atul

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...