-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Match_body is not parsing #3093
Comments
I checked with the following version with Docker, but the problem did not reproduce. There is no problem with alert notification. Docker
|
I am using elastalert and sigma for transforming windows event logs to elastalert signature.I am using HELK but the component i am using is ELK+kafka+elastalert+sigma.The rules folder contain This is my script which i've copied but i made some changes.This script is for transforming sigma rules to elastalert signature *********** Unsupported SIGMA Functions ***************Unsupported feature "near" aggregation operator not yet implemented SigmaHQ/sigma#209SIGMAremoveNearRules() { ******* Transforming every Windows SIGMA rule to elastalert rules *******echo " " Windows rulesfor rule_category in rules/windows/* ; do But problems comes when i have |
Why don't you delete the index of elastalert created in Elasticsearch with elastalert-create-index and try to execute it again? |
Is python 3.6? |
yes it is python 3.6 it is creating index. |
Is it possible to check what happens when the following pull request changes are reflected? |
What pull request ? |
i have set 'es_conn_timeout: 1000' parameter in elastalert conf file but i think it is not working |
look Did you restart ElastAlert after adding the settings to config.yaml (if it's a docker container, restart ElastAlert's docker container) |
I kill the process of elastalert and then again start the elastalert
elastalert --verbose --config /path/to/config
…On Sat, Jan 16, 2021, 9:06 PM Naoyuki Sano ***@***.***> wrote:
i have set 'es_conn_timeout: 1000' parameter in elastalert conf file but i
think it is not working
look
#2469 <#2469>
Did you restart ElastAlert after adding the settings to config.yaml (if
it's a docker container, restart ElastAlert's docker container)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3093 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJVJXF6FKISY7KS6FSAXQT3S2GW73ANCNFSM4WDTOIMA>
.
|
"mappings": { |
When i ran elastalert_create_index it show me this
Elastic Version: 7.10.1
Reading Elastic 6 index mappings:
Reading index mapping 'es_mappings/6/silence.json'
Reading index mapping 'es_mappings/6/elastalert_status.json'
Reading index mapping 'es_mappings/6/elastalert.json'
Reading index mapping 'es_mappings/6/past_elastalert.json'
Reading index mapping 'es_mappings/6/elastalert_error.json'
Traceback (most recent call last):
File "/usr/local/bin/elastalert-create-index", line 11, in
load_entry_point('elastalert==0.2.4', 'console_scripts', 'elastalert-create-index')()
File "/usr/local/lib/python3.6/site-packages/elastalert-0.2.4-py3.6.egg/elastalert/create_index.py", line 264, in main
create_index_mappings(es_client=es, ea_index=index, recreate=args.recreate, old_ea_index=old_index)
File "/usr/local/lib/python3.6/site-packages/elastalert-0.2.4-py3.6.egg/elastalert/create_index.py", line 72, in create_index_mappings
body=es_index_mappings['past_elastalert'], include_type_name=True)
File "/usr/local/lib/python3.6/site-packages/elasticsearch-7.0.0-py3.6.egg/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
File "/usr/local/lib/python3.6/site-packages/elasticsearch-7.0.0-py3.6.egg/elasticsearch/client/indices.py", line 321, in put_mapping
"PUT", _make_path(index, "_mapping", doc_type), params=params, body=body
File "/usr/local/lib/python3.6/site-packages/elasticsearch-7.0.0-py3.6.egg/elasticsearch/transport.py", line 318, in perform_request
status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)
File "/usr/local/lib/python3.6/site-packages/elasticsearch-7.0.0-py3.6.egg/elasticsearch/connection/http_requests.py", line 91, in perform_request
self._raise_error(response.status_code, raw_data)
File "/usr/local/lib/python3.6/site-packages/elasticsearch-7.0.0-py3.6.egg/elasticsearch/connection/base.py", line 131, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
elasticsearch.exceptions.TransportError: TransportError(500, 'mapper_exception', "the [enabled] parameter can't be updated for the object mapping [match_body]")
and this is my template
PUT /_template/elastalert
{
"index_patterns": ["elastalert*"],
"settings": {
"index": {
"mapping": {
"total_fields.limit": "10000"
}
},
"number_of_replicas": 0,
"number_of_shards": 3
}
,
"mappings": {
"properties": {
"match_body": {
"properties": {
"z_logstash_pipeline": {
"type": "keyword"
},
"etl_pipeline": {
"type": "keyword"
}
}
}
}
}
}
The text was updated successfully, but these errors were encountered: