how to customize the default fetch record counts for respective table in service now add-on.
Default value is set to 1000, need to reduce to 50
Since our service now data is huge, splunk is getting failed to fetch and parse the data.
I found the below code inside add-on, if I edit the default value, it will apply to all tables, How to set default value for specific table.
In globalConfig.json
....
{
"field": "record_count",
"label": "Record Count",
"type": "text",
"help": "Enter the maximum number of records to be fetched at each call to the database table.",
"defaultValue": 1000,
"options": {
"display": false
},
"validators": [
{
"type": "regex",
"pattern": "^[0-9]*$",
"errorMsg": "Record count should only comprise of digits."
}
]
},
....
↧