UniFi_AP_2023.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "extractors": [
  3. {
  4. "title": "Unifi AP JSON data",
  5. "extractor_type": "json",
  6. "converters": [],
  7. "order": 1,
  8. "cursor_strategy": "copy",
  9. "source_field": "json_data",
  10. "target_field": "",
  11. "extractor_config": {
  12. "list_separator": ", ",
  13. "kv_separator": "=",
  14. "key_prefix": "",
  15. "key_separator": "_",
  16. "replace_key_whitespace": false,
  17. "key_whitespace_replacement": "_"
  18. },
  19. "condition_type": "none",
  20. "condition_value": ""
  21. },
  22. {
  23. "title": "UniFi AP",
  24. "extractor_type": "grok",
  25. "converters": [],
  26. "order": 0,
  27. "cursor_strategy": "copy",
  28. "source_field": "message",
  29. "target_field": "",
  30. "extractor_config": {
  31. "grok_pattern": "%{DATA:access_point} %{DATA:unifi_device_mac_address},%{DATA:ap_model}: %{DATA:stahtd}: %{DATA:stahtd_process}\\[%{INT:stahtd_id}\\]: %{DATA:stahtd_event}: %{GREEDYDATA:json_data}"
  32. },
  33. "condition_type": "none",
  34. "condition_value": ""
  35. }
  36. ],
  37. "version": "5.0.7"
  38. }