https://medium.com/@abhishekaryan2/n8n-task-runners-the-blast-radius-protocol-1b8388364597#:~:text=It%20can%20read%20your%20environment,stripped%2Ddown%2C%20isolated%20container.
how to
Muridin
27 January 2026
n8n python container
01 October 2025
keyword mapping on elasticsearch
Issue:
For example there is field category.
If fitler using event.category , will get result.
But if using event.category.keyword, will not get result.
1) Check the mapping
GET logs-*/_mapping
Look for category:
-
If you see
"type": "keyword"→ the field is already keyword. Usecategory(notcategory.keyword). -
If you see
"type": "text"and no"fields": { "keyword": ... }→ there is no.keywordsubfield. -
If you see a subfield:
"category": {
"type": "text",
"fields": {
"keyword": { "type": "keyword", "ignore_above": 256 }
}
}
Be aware ofignore_above: strings longer than that number are not indexed on.keyword, which can yield 0 hits oncategory.keywordwhilecategory(text) still matches.
11 September 2025
Escape character in Elasticsearch - 3 Layers
Quick Tips:
- semak dulu bagaimana data disimpan dalam elastic (lihat json, bukan table view)
- kemudian letak escape character utk setiap character yang perlu
Lihat Contoh 3
Contoh 1)
Data Display in Kibana:
process.command_line : wc -l
Data Display in Json(Actual Data in Elastic)
process.command_line : wc -l
(sama sebab tiada special character)
Filter kql
process.command_line : * -l*
DSL query:
Contoh 2)
Data Display in Kibana:
Filter KQL
DSL Query
Kql above will translate by kibana to following DSL
Contoh 3)
Data Display in Kibana:
"C:\Users\Asus\AppData\Local\Programs\Opera GX\autoupdate\opera_autoupdate.exe" --scheduledtask --bypasslauncher $(Arg0)
Data Display in Json(Actual String in Elastic):
DSL Query
07 March 2025
Elastic Alert Aliases
GET /_cat/aliases?v
ada byk index yg alias nama lain.
Aliases Index
.alerts-security.alerts-default .internal.alerts-security.alerts-default-000024
.siem-signals-default .internal.alerts-security.alerts-default-000024
Permission, kena bagi secara berasingan.
Di page 'Alerts', kena bagi permission index:
.alerts-security.alerts-default
Di 'Discover', allow
.siem-signales-default
15 January 2025
28 October 2024
elasticsearch- unassigned shard issue
unassigned shards:
Shard masih tidak di assign pada mana mana node. maka data dalam shards tak available bila di query.
Sebab:
1- node down
2- free space tiada
3- dalam proses di pindahkan ke node yg lain.(ini utk pastikan bilangan node seimbang dalam semua node)
Diagnos:
- _cat/shards
- _cluster/health
- _cluster/reroute
$ curl -XPOST 'localhost:9200/_cluster/reroute' -H 'Content-Type: application/json' -d '{
"commands": [{
"allocate_empty_primary": {
"index": "test-index",
"shard": 1,
"node": "node-1",
"accept_data_loss": true
}
}]
}'
{"acknowledged":true,"state":{"cluster_uuid":"0W8o4rxdSniXsf_grVvxvQ","version":299,"state_uuid":"rHRyobYiSZ2VIOlxep0jxw","master_node":"nIzM4TPDQuS0WDHkSjEN1w","blocks":{}...
allocate_empty_primary - utk shard primary
allocate_replica - utk shard replika
- _cluster/settings
cluster.routing.allocation.enable
cluster.routing.allocation.node_concurrent
ref: https://www.baeldung.com/ops/elasticsearch-unassigned-shards
13 February 2024
Salin MFT file
Salin guna rawcopy
RawCopy.exe /FileNamePath:C:0 /OutputPath:C:\Audit /OutputName:MFT_C.bin