Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure <index set> field types page does not load #19694

Open
drewmiranda-gl opened this issue Jun 20, 2024 · 1 comment
Open

Configure <index set> field types page does not load #19694

drewmiranda-gl opened this issue Jun 20, 2024 · 1 comment

Comments

@drewmiranda-gl
Copy link
Member

When opening the Configure field types page, i receive an error and the index fields never load:

image image

/api/system/indices/index_sets/types/63068dae8a735a37e8d535b7?page=1&per_page=100&sort=type&order=desc

{
    "type": "ApiError",
    "message": "Cannot read field \"value\" because \"<parameter1>\" is null"
}

This appears to have happened after increasing the number of fields on the page (note the page=100 in the URI)

Expected Behavior

Configure field types page loads without error

Current Behavior

Configure field types page does not load

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Graylog Version: 6.0.3
  • Java Version: Bundled
  • OpenSearch Version: 2.12.0
  • MongoDB Version: 6.0.15
  • Operating System: Ubuntu Server 22.04 LTS
  • Browser version: Google Chrome Version 126.0.6478.62 (Official Build) (arm64)

Please let me know if there are any questions.

@drewmiranda-gl
Copy link
Member Author

Quick bit of troubleshooting, if i load /api/system/indices/index_sets/types/63068dae8a735a37e8d535b7 and remove the sort argument, the API endpiont does load.

If i had to guess i would say its caused by some fields having type: null

For example:

{
    "field_name": "source_port",
    "type": null,
    "origin": "INDEX",
    "is_reserved": false
}

Unclear what is going on here. Will need to investigate further.

@kmerz kmerz added the triaged label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants