--- AI TRACKER METADATA ---
Update Summary: On going
Check-in Date: 09/03/2025 (US format) [When we should see progress/get an update]
Due Date: 09/05/2025 (US format) [When the issue should be fully completed]
Blocked by: [#XXXXXX] (New issues on new lines)
Additional Collaborators: @tonytosta, @username2
AI Tracker found here: https://www.drupalstarforge.ai/
--- END METADATA ---

Problem/Motivation

Would be great to add a Views plugin that allows filtering the results by a JSONPath value expression.
SQL query example for MySQL (SQLite and PostgreSQL provide the same functionality but the syntax is a bit different):

SELECT * FROM extended_logger_logs 
WHERE data->>"$.metadata.query.cost" > 100
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

murz created an issue. See original summary.

murz’s picture

Title: Add Views plugins to filter by JSONPath value » Add a Views plugin to filter by JSONPath value
murz’s picture

Issue summary: View changes
murz’s picture

Assigned: Unassigned » murz

Started working on this, pushed a draft.

tonytosta made their first commit to this issue’s fork.

catia_penas’s picture

Issue summary: View changes
murz’s picture

Status: Active » Fixed

Implemented custom Views fields and filters to handle log values by JSONPath.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

murz’s picture

Status: Fixed » Closed (fixed)