chg: [Overview] add db map tag

pull/342/head
Terrtia 2019-02-18 15:24:47 +01:00
parent 6a8fa3d5d1
commit 32acbef4e9
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 48 additions and 4 deletions

View File

@ -12,14 +12,56 @@ Redis and ARDB overview
- DB 0 - PubSub + Queue and Paste content LRU cache
- DB 1 - _Mixer_ Cache
* ARDB on TCP port 6382
- DB 1 - Curve
- DB 2 - Trending
- DB 3 - Terms
- DB 4 - Sentiments
DB 1 - Curve
DB 2 - TermFreq
DB 3 - Trending
DB 4 - Sentiments
DB 5 - TermCred
DB 6 - Tags
DB 7 - Metadata
DB 8 - Statistics
DB 9 - Crawler
* ARDB on TCP port <year>
- DB 0 - Lines duplicate
- DB 1 - Hashes
# Database Map:
## Tags:
##### Hset:
| Key | Field | Value |
| ------ | ------ | ------ |
| daily_tags:**<date>** | **<tag>** | **<nb tagged this day>** |
| | |
| tag_metadata:**<tag>** | first_seen | **<date>** |
| tag_metadata:**<tag>** | last_seen | **<date>** |
##### Set:
| Key | Value |
| ------ | ------ |
| list_tags | **<tag>** |
| active_taxonomies | **<taxonomie>** |
| active_galaxies | **<galaxie>** |
| active_tag_**<taxonomie or galaxy>** | **<tag>** |
| synonym_tag_misp-galaxy:**<galaxy>** | **<tag synonym>** |
| list_export_tags | **<user_tag>** |
| **<tag>**:**<date>** | **<paste>** |
##### old:
| Key | Value |
| ------ | ------ |
| **<tag>** | **<paste>** |
ARDB overview
---------------------------
@ -88,3 +130,5 @@ ARDB_DB
GET - 'base64_decoded:'+date nd_decoded
GET - 'binary_decoded:'+date nd_decoded