# Can I create topology object with information contained in logs?

**URL:** <https://community.dynatrace.com/t/can-i-create-topology-object-with-information-contained-in-logs/43279>\
**Category:** Logs\
**Tags:** logs\
**Created:** [December 19, 2023, 7:46am UTC](https://community.dynatrace.com/t/can-i-create-topology-object-with-information-contained-in-logs/43279 "2023-12-19T07:46:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [December 19, 2023, 7:46am UTC](https://community.dynatrace.com/t/can-i-create-topology-object-with-information-contained-in-logs/43279/1 "2023-12-19T07:46:48Z")

</div>

Good morning everyone,

Can I create topology object with information contained in logs?

I’m ingesting this payload as logs in Dynatrace from a only SaaS service (by playing with it’s API via Power Automate):

```markup
{
  "logstart": "18/12/23 1:52:22 PM",
  "message.guid": "XXXXXXXXXX",
  "transaction.id.type": "SalesId",
  "transaction.id": "400XXX",
  "integration.flow.name": "FLOW_ORD_Sales",
  "status": "COMPLETED",
  "duration.ms": "22833",
  "node.process.id": "5c8c446",
  "previous.component.name": "OOO_123",
  "exception": ""
}

```

node.process.id is the equivalent of a host and integration.flow.name is the equivalent of the process running on the host. message.guid is the equivalent of a message processed by the integration.flow.name as an HTTP request.

Can I build a model out of it with this logs? I really would like to create such a complex but beautiful thing.

Regards

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [January 15, 2024, 9:06am UTC](https://community.dynatrace.com/t/can-i-create-topology-object-with-information-contained-in-logs/43279/2 "2024-01-15T09:06:49Z")

</div>

Anyone in the community is doing this?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [January 15, 2024, 11:10am UTC](https://community.dynatrace.com/t/can-i-create-topology-object-with-information-contained-in-logs/43279/3 "2024-01-15T11:10:52Z")

</div>

[@y\_buccellato](https://community.dynatrace.com/user/4804)&nbsp;sure, I’m doing it.

Yes, you can build up a custom topology based on logs. You have to define two custom types, where the source is logs. Then sure create a required dimension - so that only relevant lines will produce custom topology types.

You should define two custom types e.g.

- acme:node
- acme:transaction-flow

Both will be created by logs:

The acme:node definition should look like this - the transaction flow similarly:

 ![Julius_Loman_1-1705316849584.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/331410c4ad9df73c58fbd351141f6a55518113e5.png)

and then the relation like this:

 ![Julius_Loman_2-1705316961838.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/1/f17870d85c501b63cd7cf56652e6e9afe45560bf.png)

I highly recommend doing it as extension 2.0 from scratch and defining it in the extension yaml (unless you have just a single environment where it needs to be set up). It’s then easier to define unified analysis screens for such entities.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [January 15, 2024, 1:16pm UTC](https://community.dynatrace.com/t/can-i-create-topology-object-with-information-contained-in-logs/43279/4 "2024-01-15T13:16:38Z")

</div>

Thank you Julius!
