SHARE
TWEET

Untitled

a guest Apr 21st, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. number number_type Comments
  2. 01         S          abc
  3. 01         F          cbd
  4. 02         A           xyz
  5.    
  6. "mappings": {
  7. "test": {
  8. "properties": {
  9. "NUMBER" : {"type" : "integer"},
  10. "HLOG_COMMENTS" :{
  11. "type": "nested",
  12. "properties" : {
  13. "NUMBER_TYPE" : {"type" : "integer"},
  14. "COMMENTS" : {"type" : "string"}
  15. }
  16. }
  17. }
  18.    
  19. filter {
  20. mutate {
  21. rename => {"SEQUENCE_NUMBER" => "[HLOG_COMMENTS][SEQUENCE_NUMBER]" }
  22. rename => {"USERID" => "[HLOG_COMMENTS][USERID]" }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top