Adapter Custom Parsing
Some adapters support the option of Custom Parsing, where you can define how to parse specific fields from the raw data fetched. You can parse the data into an already existing field, or create a new one.
Adapter Custom Parsing is available in the adapter's Advanced Configuration section.
When adapters fetch multiple asset types, a separate Custom Parsing section exists for each asset type, as demonstrated below in the Custom Files adapter example:
Custom Parsing Parameters
To add fields:
- Open the adapter's advanced settings. To set Custom Parsing for one connection only, open the Advanced Configuration tab of that connection.
- Select Enable Custom Parsing.
- Expand the Custom Parsing section of the asset type, for example Devices Custom Parsing.
- Click Add Field. Then, for each field, specify the following:
-
Field Title - Select a column title from the list. Note that you can also select nested fields of complex fields, for example:
Network Interfaces:Ips. -
Raw Path - The path to the field in the raw data, for example:
my_path|my_sub_path -
Type - Select a field type from the list: string, boolean, etc. Will be ignored for common fields.
-
Structure - Specify whether the field is a single value or a list field. Will be ignored for common fields.
-
Note - List Field StructureIn a list field, the raw path of the first child must be the shortest
raw_path. For example:min(len(raw_path for raw path in raw_paths))
Note - Software Registry
When you select Approval Status as the Field Title, Axonius automatically adds the software to the Software Registry. The software stays in the Software Registry even when no device has it.
-
Advanced Options (optional) - Click Open Advanced Options to open a dialog with more parsing options.

The Advanced Options are as follows:
-
Default value - Define a default field value in case the field is empty or absent from the raw data.
-
Hyperlinks - Create a hyperlink (clickable field) for items in the asset table that redirect to a different page within the system. Provide the following parameters:
- Module - The module (asset type) to link to. For example - Devices, Users, Networks, etc.
- AQL Expression - An AQL expression to use in the link. Use
{{VALUE}}as a placeholder for the field value.
-
Where it comes from - The paths that Axonius reads the value from. Axonius tries the paths in their numbered order, and the first path that gives a value that is not empty sets the field. Path 1 is the Raw Path of the row. Click Add fallback path to add a path that Axonius tries when the earlier paths are empty. Click Add conditional path to add a path that Axonius reads only when a condition is true. If the condition is false, Axonius tries the next path.
A conditional path has these parts:
-
When parsed field or When raw data - Select whether the condition checks a field that Axonius already parsed, or the raw data.
Note
New conditional paths default to When parsed field. Conditional paths that were saved without a source continue to check the raw data.
- Pick a field or type a path - Select the field to check, or type its path.
- Operator (default: is) - One of: is, is not, is more than, is less than, contains, not contains, is one of, is empty, has a value, matches.
- Value - The value to compare with. Use a number for is more than and is less than, comma-separated values for is one of, and a regular expression, matched from the start, for matches. is empty and has a value use no value.
- Read from - The path to read when the condition is true, for example
hostname.
In a list field, Axonius checks the condition on each item of the list.
-
-
View raw data - Click to show a sample of the raw data next to the paths. Drag a key onto a path to use its path, or drag a value to use it as it is. You can also click a key or a value to copy it. Click Hide raw data to close the sample. If there is no sample yet, run a fetch of the adapter.
-
Hyperlink Example
Assume you have a device with a username attribute linked to it, and you want to create a hyperlink that will direct you to that user.
-
Create a custom Devices field - for example, Linked User. Configure it like every other custom field. For more information, see Managing Custom Fields.
-
Click Open Advanced Options. A dialog opens.
- For Module, select Users.
- In AQL expression, enter the following string:
("specific_data.data.username" == "{{VALUE}}")so that the value of the Linked User field populate that expression.

Notes
- Existing fields can't be set as hyperlinks - only new fields that you define.
- Every valid AQL expression can be inserted. Axonius does not verify it before saving, so check the expression in advance.
-
Click + Add Field to add more fields, or click x to delete a row.
Fallback and Conditional Paths Example
A device has an owner in more than one place in the raw data, and you want Axonius to use the best value that exists.
- Create the custom field, for example Owner, and in Raw Path enter
owner|name. - Click Open Advanced Options.
- Under Where it comes from, click Add conditional path. Select When raw data, enter
statusas the field, select is as the operator, enteractiveas the value, and enteractive_ownerin Read from. - Click Add fallback path and enter
manager|name.
Axonius uses owner|name first. If it is empty and the status is active, Axonius uses active_owner. Otherwise, Axonius uses manager|name.
Using JMESPath as Raw Path
You have the option to populate Raw Path with a JMESPath (JSON Matching Expression paths) expression. JMESPath language is used to write path rules for selecting specific data fields in JSON.
The JMESPath expression you enter must start with "ax_jmespath:".
Example:
The following parameters filter the list of serials to include only those with serial_number_type == 'system':
- Field Title = Device Manufacturer Serial
- Raw Path = "ax_jmespath:ax_sn[?serial_number_type == 'system'].serial_number"
If there is more than one item on the list where serial_number_type == 'system', the first one will be used.
To learn more, see JMESPath Examples.
Raw Path Examples
If your raw data is in DOT_DOT notation, like the following example:
"\"Computer\"DOTDOT\"OS\"DOTDOT\"NT Info\"DOTDOT\"Server\"": "Yes",
"\"Computer\"DOTDOT\"Owner\"DOTDOT\"Display Name\"": "Josh Caruso",
"\"Computer\"DOTDOT\"Owner\"DOTDOT\"Lit Hold By Owner\"": null,
"\"Computer\"DOTDOT\"Owner\"DOTDOT\"Lit Hold By State\"": null,
"\"Computer\"DOTDOT\"Owner\"DOTDOT\"User Account Name\"": null,
"\"Computer\"DOTDOT\"Status\"": null,
"\"Computer\"DOTDOT\"Type\"": "Virtual Server"
Then the data you enter in the Raw Path field should be in the following format:
custom_fields|"Computer"."Status"
custom_fields|"Computer"."Type"
custom_fields|"Computer"."OS"."NT Info"."Server"
This format applies to both CSV and JSON.
Updated 20 days ago
