Skip to content

Commit 6e57d20

Browse files
committed
execution results
1 parent d3ac36d commit 6e57d20

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"index_patterns": [
3+
"executionresults-*"
4+
],
5+
"template": {
6+
"settings": {
7+
"number_of_shards": 5,
8+
"number_of_replicas": 1,
9+
"index.lifecycle.name": "executionresults-policy",
10+
"index.lifecycle.rollover_alias": "executionresults",
11+
"index": {
12+
"sort.field": [
13+
"timestampMs",
14+
"nonce"
15+
],
16+
"sort.order": [
17+
"desc",
18+
"desc"
19+
]
20+
}
21+
},
22+
"mappings": {
23+
"properties": {
24+
"miniBlocksDetails": {
25+
"properties": {
26+
"firstProcessedTx": {
27+
"index": "false",
28+
"type": "long"
29+
},
30+
"lastProcessedTx": {
31+
"index": "false",
32+
"type": "long"
33+
},
34+
"mbIndex": {
35+
"index": "false",
36+
"type": "long"
37+
}
38+
}
39+
},
40+
"miniBlocksHashes": {
41+
"type": "keyword"
42+
},
43+
"nonce": {
44+
"type": "double"
45+
},
46+
"round": {
47+
"type": "double"
48+
},
49+
"rootHash": {
50+
"index": "false",
51+
"type": "keyword"
52+
},
53+
"notarizedInBlockHash": {
54+
"type": "keyword"
55+
},
56+
"epoch": {
57+
"type": "long"
58+
},
59+
"gasUsed": {
60+
"type": "double"
61+
},
62+
"txCount": {
63+
"index": "false",
64+
"type": "long"
65+
},
66+
"accumulatedFees": {
67+
"index": "false",
68+
"type": "keyword"
69+
},
70+
"developerFees": {
71+
"index": "false",
72+
"type": "keyword"
73+
},
74+
"timestampMs": {
75+
"type": "date",
76+
"format": "epoch_millis"
77+
}
78+
}
79+
}
80+
}
81+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"policy": {
3+
"phases": {
4+
"hot": {
5+
"min_age": "0ms",
6+
"actions": {
7+
"rollover": {
8+
"max_size": "50GB",
9+
"max_docs": 50000000
10+
}
11+
}
12+
}
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)