# Filter parameter on value subproperties

**URL:** <https://community.dynatrace.com/t/filter-parameter-on-value-subproperties/43209>\
**Category:** Dynatrace API\
**Tags:** filter, settings, dynatrace-api\
**Created:** [December 14, 2023, 10:43am UTC](https://community.dynatrace.com/t/filter-parameter-on-value-subproperties/43209 "2023-12-14T10:43:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan3](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@dan3](https://community.dynatrace.com/u/dan3)\
**Post date:** [December 14, 2023, 10:43am UTC](https://community.dynatrace.com/t/filter-parameter-on-value-subproperties/43209/1 "2023-12-14T10:43:38Z")

</div>

Hello,

I am trying to filter a settings/object API call via the filter parameter on the “value” field. The REST API docs mention it is possible to filter by subproperties, but this is unable to parse characters like - and [].

Example:

{tenanturi}api/v2/settings/objects?schemaIds=builtin:logmonitoring.log-storage-settings&scope=scope&fields=value&filter=value.config-item-title=‘test’

 ![dan3_0-1702550203105.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/0/a01197caa6e6f4057be7a137a6fe09b85081dfe3.png)

and with&nbsp;filter=value[“config-item-title”]=‘test’

same error on&nbsp;token&nbsp;recognition&nbsp;error&nbsp;at:&nbsp;‘[’"

**Follow up question:**

Given this is the structure of the value field in a settings object

 ![dan3_1-1702550487981.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c4515743c72150927bd672c05ac681f84888cdda.png)

Would it be possible to filter the response by the content of the matchers field?

For instance, returning only settings that contain log.source matchers?

Thank you for your help 🙂

---

<div class="post-metadata">

**Author:** ![mark\_bley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_bley/32/20954_2.png) [@mark\_bley](https://community.dynatrace.com/u/mark_bley)\
**Post date:** [April 4, 2024, 1:24pm UTC](https://community.dynatrace.com/t/filter-parameter-on-value-subproperties/43209/2 "2024-04-04T13:24:40Z")

</div>

Looks like you may be using some other kind of Unicode dash(?), try following curl (replace filter as needed)

```markup
curl --location --request GET 'https://{environmentid}.live.dynatrace.com/api/v2/settings/objects?validateOnly=false&schemaIds=builtin:logmonitoring.log-storage-settings&fields=objectId,value,scope&filter=value.config-item-title='\''/some/file.log'\''' \
--header 'accept: application/json; charset=utf-8' \
--header 'Authorization: Api-Token dt0c01.xxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json; charset=utf-8'

```
