Elasticsearch limits to MAX 1000 field

Description

When posting audit result for POMBA, the following error message is seen on DataRouter: 

 

{{}}IntegrityValidationPolicy||ERROR|DR3015E|DR3015E Failed to create or update document in index service-valid ations. Cause: {
{{ "type" : "illegal_argument_exception",}}
{{ "reason" : "Limit of total fields [1000] in index [service-validations] has been exceeded"}}
}|
{{}}{{}}

 

Looks like a field is being set in ES that does not allow us to post this result in. You can use to attached payload to post to DmaaP and check the logs in DataRouter

 

-----------------------------------------------------------------------

fixed the issue (work around for now until committed)

 

curl -v -X PUT -k -u admin:admin -H "Content-Type:application/json" --insecure -d '{
"index" : {
"mapping.total_fields.limit" : 5000
}
}' http://<elastic_search_ip>:9200/service-validations/_settings

 

 

Environment

None

Attachments

1

Activity

Show:

Former user March 27, 2019 at 11:08 PM

 

2019-03-27T23:08:02.427Z|d6db44bd-6609-4fb8-8ba3-1af059f6775f|pool-4-thread-8|DataRouter|Event-Bus|org.onap.aai.event.EventBusConsumer||INFO|DR0010I|DR0010I Processed event POA-AUDIT-RESULT.  Result: SUCCESS|

Done

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Priority

Created March 21, 2019 at 6:18 PM
Updated August 12, 2023 at 3:56 AM
Resolved March 28, 2019 at 12:28 PM