Advertisement
Guest User

elasticsearch-template.jason - Palo Alto Firewall

a guest
Oct 8th, 2016
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. {
  2. "template" : "palo-firewall-*",
  3. "settings" : {
  4. "index.refresh_interval" : "5s"
  5. },
  6. "mappings" : {
  7. "_default_" : {
  8. "_all" : {"enabled" : true},
  9. "dynamic_templates" : [ {
  10. "message_field" : {
  11. "match" : "message",
  12. "match_mapping_type" : "string",
  13. "mapping" : {
  14. "type" : "string", "index" : "analyzed", "omit_norms" : true
  15. }
  16. }
  17. }, {
  18. "string_fields" : {
  19. "match" : "*",
  20. "match_mapping_type" : "string",
  21. "mapping" : {
  22. "type" : "string", "index" : "analyzed", "omit_norms" : true,
  23. "fields" : {
  24. "raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
  25. }
  26. }
  27. }
  28. } ],
  29. "properties" : {
  30. "@version": { "type": "string", "index": "not_analyzed" },
  31. "geoip" : {
  32. "type" : "object",
  33. "dynamic": true,
  34. "properties" : {
  35. "location" : { "type" : "geo_point", "lat_lon" : true, "geohash" : true }
  36. }
  37. },
  38. "SourceGeo" : {
  39. "type" : "object",
  40. "dynamic": true,
  41. "properties" : {
  42. "location" : { "type" : "geo_point", "lat_lon" : true, "geohash" : true }
  43. }
  44. },
  45. "DestinationGeo" : {
  46. "type" : "object",
  47. "dynamic": true,
  48. "properties" : {
  49. "location" : { "type" : "geo_point", "lat_lon" : true, "geohash" : true }
  50. }
  51. }
  52. }
  53. }
  54. }
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement