You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2069 lines
54 KiB

  1. {
  2. "v": 1,
  3. "id": "349bde6e-bc66-427a-8cec-67c717f0c8a0",
  4. "rev": 1,
  5. "name": "Liwo",
  6. "summary": "Liwo",
  7. "description": "",
  8. "vendor": "Liwo",
  9. "url": "",
  10. "parameters": [],
  11. "entities": [
  12. {
  13. "v": "1",
  14. "type": {
  15. "name": "sidecar_collector",
  16. "version": "1"
  17. },
  18. "id": "66ff4ca8-cd50-460e-91dc-9123f678dd43",
  19. "data": {
  20. "name": {
  21. "@type": "string",
  22. "@value": "filebeat"
  23. },
  24. "service_type": {
  25. "@type": "string",
  26. "@value": "exec"
  27. },
  28. "node_operating_system": {
  29. "@type": "string",
  30. "@value": "linux"
  31. },
  32. "executable_path": {
  33. "@type": "string",
  34. "@value": "/usr/share/filebeat/bin/filebeat"
  35. },
  36. "execute_parameters": {
  37. "@type": "string",
  38. "@value": "-c %s"
  39. },
  40. "validation_parameters": {
  41. "@type": "string",
  42. "@value": "test config -c %s"
  43. },
  44. "default_template": {
  45. "@type": "string",
  46. "@value": "# Needed for Graylog\nfields_under_root: true\nfields.collector_node_id: ${sidecar.nodeName}\nfields.gl2_source_collector: ${sidecar.nodeId}\n\nfilebeat.inputs:\n- input_type: log\n paths:\n - /var/log/*.log\n type: log\noutput.logstash:\n hosts: [\"192.168.1.1:5044\"]\npath:\n data: /var/lib/graylog-sidecar/collectors/filebeat/data\n logs: /var/lib/graylog-sidecar/collectors/filebeat/log"
  47. }
  48. },
  49. "constraints": [
  50. {
  51. "type": "server-version",
  52. "version": ">=4.0.5+d95b909"
  53. }
  54. ]
  55. },
  56. {
  57. "v": "1",
  58. "type": {
  59. "name": "grok_pattern",
  60. "version": "1"
  61. },
  62. "id": "92f767af-fb4f-40cb-90ba-c2f05d8a74ee",
  63. "data": {
  64. "name": "SYSLOGTIMESTAMP",
  65. "pattern": "%{MONTH} +%{MONTHDAY} %{TIME}"
  66. },
  67. "constraints": [
  68. {
  69. "type": "server-version",
  70. "version": ">=4.0.5+d95b909"
  71. }
  72. ]
  73. },
  74. {
  75. "v": "1",
  76. "type": {
  77. "name": "dashboard",
  78. "version": "2"
  79. },
  80. "id": "14132da6-1cc2-4ffe-a735-e5c0a174f11e",
  81. "data": {
  82. "summary": {
  83. "@type": "string",
  84. "@value": "This is a list of all sources that sent in messages to Graylog."
  85. },
  86. "search": {
  87. "queries": [
  88. {
  89. "id": "a1647eb6-a064-4fe6-b459-1e4267d3f659",
  90. "timerange": {
  91. "type": "relative",
  92. "range": 300
  93. },
  94. "query": {
  95. "type": "elasticsearch",
  96. "query_string": ""
  97. },
  98. "search_types": [
  99. {
  100. "query": null,
  101. "name": "chart",
  102. "timerange": {
  103. "type": "relative",
  104. "range": 300
  105. },
  106. "streams": [],
  107. "series": [
  108. {
  109. "type": "count",
  110. "id": "Message count",
  111. "field": null
  112. }
  113. ],
  114. "filter": null,
  115. "rollup": true,
  116. "row_groups": [
  117. {
  118. "type": "time",
  119. "field": "timestamp",
  120. "interval": {
  121. "type": "auto",
  122. "scaling": 1
  123. }
  124. }
  125. ],
  126. "type": "pivot",
  127. "id": "481de18f-938e-40d5-8ab2-6eaf6a28f091",
  128. "column_groups": [],
  129. "sort": []
  130. },
  131. {
  132. "query": null,
  133. "name": "chart",
  134. "timerange": {
  135. "type": "relative",
  136. "range": 300
  137. },
  138. "streams": [],
  139. "series": [
  140. {
  141. "type": "count",
  142. "id": "Message count",
  143. "field": null
  144. }
  145. ],
  146. "filter": null,
  147. "rollup": true,
  148. "row_groups": [
  149. {
  150. "type": "values",
  151. "field": "source",
  152. "limit": 10
  153. }
  154. ],
  155. "type": "pivot",
  156. "id": "a964f1c5-e108-4b5e-a907-ffe0b0f0683c",
  157. "column_groups": [],
  158. "sort": [
  159. {
  160. "type": "series",
  161. "field": "count()",
  162. "direction": "Descending"
  163. }
  164. ]
  165. },
  166. {
  167. "query": null,
  168. "name": "chart",
  169. "timerange": {
  170. "type": "relative",
  171. "range": 300
  172. },
  173. "streams": [],
  174. "series": [
  175. {
  176. "type": "count",
  177. "id": "Message count",
  178. "field": null
  179. }
  180. ],
  181. "filter": null,
  182. "rollup": true,
  183. "row_groups": [
  184. {
  185. "type": "values",
  186. "field": "source",
  187. "limit": 15
  188. }
  189. ],
  190. "type": "pivot",
  191. "id": "011b2894-49e5-44d8-aab6-8c4d4457a886",
  192. "column_groups": [],
  193. "sort": [
  194. {
  195. "type": "series",
  196. "field": "count()",
  197. "direction": "Descending"
  198. }
  199. ]
  200. }
  201. ]
  202. }
  203. ],
  204. "parameters": [],
  205. "requires": {},
  206. "owner": "admin",
  207. "created_at": "2019-11-22T10:58:47.255Z"
  208. },
  209. "created_at": "2019-11-22T10:54:50.950Z",
  210. "requires": {},
  211. "state": {
  212. "a1647eb6-a064-4fe6-b459-1e4267d3f659": {
  213. "selected_fields": null,
  214. "static_message_list_id": null,
  215. "titles": {
  216. "tab": {
  217. "title": "Sources Overview"
  218. },
  219. "widget": {
  220. "6c127c5d-be75-4157-b43f-ac0194ac0586": "Selected sources",
  221. "92d63811-e4dd-47db-bd3b-db03c8a9bd53": "Messages per Source",
  222. "00637e63-d728-4b3e-932b-7c8696b4855d": "Messages over time"
  223. }
  224. },
  225. "widgets": [
  226. {
  227. "id": "92d63811-e4dd-47db-bd3b-db03c8a9bd53",
  228. "type": "aggregation",
  229. "filter": null,
  230. "timerange": {
  231. "type": "relative",
  232. "range": 300
  233. },
  234. "query": null,
  235. "streams": [],
  236. "config": {
  237. "visualization": "pie",
  238. "event_annotation": false,
  239. "row_pivots": [
  240. {
  241. "field": "source",
  242. "type": "values",
  243. "config": {
  244. "limit": 10
  245. }
  246. }
  247. ],
  248. "series": [
  249. {
  250. "config": {
  251. "name": "Message count"
  252. },
  253. "function": "count()"
  254. }
  255. ],
  256. "rollup": true,
  257. "column_pivots": [],
  258. "visualization_config": null,
  259. "formatting_settings": null,
  260. "sort": [
  261. {
  262. "type": "series",
  263. "field": "count()",
  264. "direction": "Descending"
  265. }
  266. ]
  267. }
  268. },
  269. {
  270. "id": "00637e63-d728-4b3e-932b-7c8696b4855d",
  271. "type": "aggregation",
  272. "filter": null,
  273. "timerange": {
  274. "type": "relative",
  275. "range": 300
  276. },
  277. "query": null,
  278. "streams": [],
  279. "config": {
  280. "visualization": "line",
  281. "event_annotation": false,
  282. "row_pivots": [
  283. {
  284. "field": "timestamp",
  285. "type": "time",
  286. "config": {
  287. "interval": {
  288. "type": "auto",
  289. "scaling": null
  290. }
  291. }
  292. }
  293. ],
  294. "series": [
  295. {
  296. "config": {
  297. "name": "Message count"
  298. },
  299. "function": "count()"
  300. }
  301. ],
  302. "rollup": true,
  303. "column_pivots": [],
  304. "visualization_config": null,
  305. "formatting_settings": null,
  306. "sort": []
  307. }
  308. },
  309. {
  310. "id": "6c127c5d-be75-4157-b43f-ac0194ac0586",
  311. "type": "aggregation",
  312. "filter": null,
  313. "timerange": {
  314. "type": "relative",
  315. "range": 300
  316. },
  317. "query": null,
  318. "streams": [],
  319. "config": {
  320. "visualization": "table",
  321. "event_annotation": false,
  322. "row_pivots": [
  323. {
  324. "field": "source",
  325. "type": "values",
  326. "config": {
  327. "limit": 15
  328. }
  329. }
  330. ],
  331. "series": [
  332. {
  333. "config": {
  334. "name": "Message count"
  335. },
  336. "function": "count()"
  337. }
  338. ],
  339. "rollup": true,
  340. "column_pivots": [],
  341. "visualization_config": null,
  342. "formatting_settings": null,
  343. "sort": [
  344. {
  345. "type": "series",
  346. "field": "count()",
  347. "direction": "Descending"
  348. }
  349. ]
  350. }
  351. }
  352. ],
  353. "widget_mapping": {
  354. "6c127c5d-be75-4157-b43f-ac0194ac0586": [
  355. "011b2894-49e5-44d8-aab6-8c4d4457a886"
  356. ],
  357. "92d63811-e4dd-47db-bd3b-db03c8a9bd53": [
  358. "a964f1c5-e108-4b5e-a907-ffe0b0f0683c"
  359. ],
  360. "00637e63-d728-4b3e-932b-7c8696b4855d": [
  361. "481de18f-938e-40d5-8ab2-6eaf6a28f091"
  362. ]
  363. },
  364. "positions": {
  365. "6c127c5d-be75-4157-b43f-ac0194ac0586": {
  366. "col": 1,
  367. "row": 5,
  368. "height": 4,
  369. "width": 6
  370. },
  371. "92d63811-e4dd-47db-bd3b-db03c8a9bd53": {
  372. "col": 7,
  373. "row": 5,
  374. "height": 4,
  375. "width": 6
  376. },
  377. "00637e63-d728-4b3e-932b-7c8696b4855d": {
  378. "col": 1,
  379. "row": 1,
  380. "height": 4,
  381. "width": "Infinity"
  382. }
  383. },
  384. "formatting": {
  385. "highlighting": []
  386. },
  387. "display_mode_settings": {
  388. "positions": {}
  389. }
  390. }
  391. },
  392. "properties": [],
  393. "owner": "admin",
  394. "title": {
  395. "@type": "string",
  396. "@value": "Sources"
  397. },
  398. "type": "DASHBOARD",
  399. "description": {
  400. "@type": "string",
  401. "@value": "This is a list of all sources that sent in messages to Graylog. You can narrow the timerange by zooming in on the message histogram, or you can increase the time range by specifying a broader one in the controls at the top. You can also specify filters to limit the results you are seeing. You can also add additional widgets to this dashboard, or adapt the appearance of existing widgets to suit your needs."
  402. }
  403. },
  404. "constraints": [
  405. {
  406. "type": "server-version",
  407. "version": ">=4.0.5+d95b909"
  408. }
  409. ]
  410. },
  411. {
  412. "v": "1",
  413. "type": {
  414. "name": "grok_pattern",
  415. "version": "1"
  416. },
  417. "id": "00bace8f-a5e8-42e1-88a3-afc34c5887a6",
  418. "data": {
  419. "name": "IPORHOST",
  420. "pattern": "(?:%{IP}|%{HOSTNAME})"
  421. },
  422. "constraints": [
  423. {
  424. "type": "server-version",
  425. "version": ">=4.0.5+d95b909"
  426. }
  427. ]
  428. },
  429. {
  430. "v": "1",
  431. "type": {
  432. "name": "grok_pattern",
  433. "version": "1"
  434. },
  435. "id": "03c56f23-5a73-4fc9-818c-dc4d6c5422e2",
  436. "data": {
  437. "name": "QUOTEDSTRING",
  438. "pattern": "(?>(?<!\\\\)(?>\"(?>\\\\.|[^\\\\\"]+)+\"|\"\"|(?>'(?>\\\\.|[^\\\\']+)+')|''|(?>`(?>\\\\.|[^\\\\`]+)+`)|``))"
  439. },
  440. "constraints": [
  441. {
  442. "type": "server-version",
  443. "version": ">=4.0.5+d95b909"
  444. }
  445. ]
  446. },
  447. {
  448. "v": "1",
  449. "type": {
  450. "name": "sidecar_collector",
  451. "version": "1"
  452. },
  453. "id": "954fdaf3-c6ef-4012-b730-a0fa89645b40",
  454. "data": {
  455. "name": {
  456. "@type": "string",
  457. "@value": "nxlog"
  458. },
  459. "service_type": {
  460. "@type": "string",
  461. "@value": "svc"
  462. },
  463. "node_operating_system": {
  464. "@type": "string",
  465. "@value": "windows"
  466. },
  467. "executable_path": {
  468. "@type": "string",
  469. "@value": "C:\\Program Files (x86)\\nxlog\\nxlog.exe"
  470. },
  471. "execute_parameters": {
  472. "@type": "string",
  473. "@value": "-c \"%s\""
  474. },
  475. "validation_parameters": {
  476. "@type": "string",
  477. "@value": "-v -f -c \"%s\""
  478. },
  479. "default_template": {
  480. "@type": "string",
  481. "@value": "define ROOT C:\\Program Files (x86)\\nxlog\n\nModuledir %ROOT%\\modules\nCacheDir %ROOT%\\data\nPidfile %ROOT%\\data\\nxlog.pid\nSpoolDir %ROOT%\\data\nLogFile %ROOT%\\data\\nxlog.log\nLogLevel INFO\n\n<Extension logrotate>\n Module xm_fileop\n <Schedule>\n When @daily\n Exec file_cycle('%ROOT%\\data\\nxlog.log', 7);\n </Schedule>\n</Extension>\n\n\n<Extension gelfExt>\n Module xm_gelf\n # Avoid truncation of the short_message field to 64 characters.\n ShortMessageLength 65536\n</Extension>\n\n<Input eventlog>\n Module im_msvistalog\n PollInterval 1\n SavePos True\n ReadFromLast True\n \n #Channel System\n #<QueryXML>\n # <QueryList>\n # <Query Id='1'>\n # <Select Path='Security'>*[System/Level=4]</Select>\n # </Query>\n # </QueryList>\n #</QueryXML>\n</Input>\n\n\n<Input file>\n\tModule im_file\n\tFile 'C:\\Windows\\MyLogDir\\\\*.log'\n\tPollInterval 1\n\tSavePos\tTrue\n\tReadFromLast True\n\tRecursive False\n\tRenameCheck False\n\tExec $FileName = file_name(); # Send file name with each message\n</Input>\n\n\n<Output gelf>\n\tModule om_tcp\n\tHost 192.168.1.1\n\tPort 12201\n\tOutputType GELF_TCP\n\t<Exec>\n\t # These fields are needed for Graylog\n\t $gl2_source_collector = '${sidecar.nodeId}';\n\t $collector_node_id = '${sidecar.nodeName}';\n\t</Exec>\n</Output>\n\n\n<Route route-1>\n Path eventlog => gelf\n</Route>\n<Route route-2>\n Path file => gelf\n</Route>\n\n"
  482. }
  483. },
  484. "constraints": [
  485. {
  486. "type": "server-version",
  487. "version": ">=4.0.5+d95b909"
  488. }
  489. ]
  490. },
  491. {
  492. "v": "1",
  493. "type": {
  494. "name": "grok_pattern",
  495. "version": "1"
  496. },
  497. "id": "2e477fbe-615c-4cf9-a48e-48ace38d1591",
  498. "data": {
  499. "name": "DAY",
  500. "pattern": "(?:Mon(?:day)?|Tue(?:sday)?|Wed(?:nesday)?|Thu(?:rsday)?|Fri(?:day)?|Sat(?:urday)?|Sun(?:day)?)"
  501. },
  502. "constraints": [
  503. {
  504. "type": "server-version",
  505. "version": ">=4.0.5+d95b909"
  506. }
  507. ]
  508. },
  509. {
  510. "v": "1",
  511. "type": {
  512. "name": "grok_pattern",
  513. "version": "1"
  514. },
  515. "id": "53f544b2-0323-4d77-8df0-29461b916318",
  516. "data": {
  517. "name": "DATESTAMP_OTHER",
  518. "pattern": "%{DAY} %{MONTH} %{MONTHDAY} %{TIME} %{TZ} %{YEAR}"
  519. },
  520. "constraints": [
  521. {
  522. "type": "server-version",
  523. "version": ">=4.0.5+d95b909"
  524. }
  525. ]
  526. },
  527. {
  528. "v": "1",
  529. "type": {
  530. "name": "grok_pattern",
  531. "version": "1"
  532. },
  533. "id": "8caea7c6-e2ea-461b-81d4-04c2e17fb490",
  534. "data": {
  535. "name": "CISCOMAC",
  536. "pattern": "(?:(?:[A-Fa-f0-9]{4}\\.){2}[A-Fa-f0-9]{4})"
  537. },
  538. "constraints": [
  539. {
  540. "type": "server-version",
  541. "version": ">=4.0.5+d95b909"
  542. }
  543. ]
  544. },
  545. {
  546. "v": "1",
  547. "type": {
  548. "name": "grok_pattern",
  549. "version": "1"
  550. },
  551. "id": "b15ec78c-5fed-497b-8bac-b85d74c6052b",
  552. "data": {
  553. "name": "SECOND",
  554. "pattern": "(?:(?:[0-5]?[0-9]|60)(?:[:.,][0-9]+)?)"
  555. },
  556. "constraints": [
  557. {
  558. "type": "server-version",
  559. "version": ">=4.0.5+d95b909"
  560. }
  561. ]
  562. },
  563. {
  564. "v": "1",
  565. "type": {
  566. "name": "grok_pattern",
  567. "version": "1"
  568. },
  569. "id": "5929b910-f97b-4131-92e9-c4a2031518fc",
  570. "data": {
  571. "name": "BASE16NUM",
  572. "pattern": "(?<![0-9A-Fa-f])(?:[+-]?(?:0x)?(?:[0-9A-Fa-f]+))"
  573. },
  574. "constraints": [
  575. {
  576. "type": "server-version",
  577. "version": ">=4.0.5+d95b909"
  578. }
  579. ]
  580. },
  581. {
  582. "v": "1",
  583. "type": {
  584. "name": "grok_pattern",
  585. "version": "1"
  586. },
  587. "id": "c989eb86-1aba-4d2a-9639-85a117472496",
  588. "data": {
  589. "name": "DATE",
  590. "pattern": "%{DATE_US}|%{DATE_EU}"
  591. },
  592. "constraints": [
  593. {
  594. "type": "server-version",
  595. "version": ">=4.0.5+d95b909"
  596. }
  597. ]
  598. },
  599. {
  600. "v": "1",
  601. "type": {
  602. "name": "grok_pattern",
  603. "version": "1"
  604. },
  605. "id": "bab21710-64f1-4c56-b4b6-7bb9c876e924",
  606. "data": {
  607. "name": "URIPATHPARAM",
  608. "pattern": "%{URIPATH}(?:%{URIPARAM})?"
  609. },
  610. "constraints": [
  611. {
  612. "type": "server-version",
  613. "version": ">=4.0.5+d95b909"
  614. }
  615. ]
  616. },
  617. {
  618. "v": "1",
  619. "type": {
  620. "name": "grok_pattern",
  621. "version": "1"
  622. },
  623. "id": "35a6765b-4635-4b2e-b7a9-02e829316d8d",
  624. "data": {
  625. "name": "LOGLEVEL",
  626. "pattern": "([Aa]lert|ALERT|[Tt]race|TRACE|[Dd]ebug|DEBUG|[Nn]otice|NOTICE|[Ii]nfo|INFO|[Ww]arn?(?:ing)?|WARN?(?:ING)?|[Ee]rr?(?:or)?|ERR?(?:OR)?|[Cc]rit?(?:ical)?|CRIT?(?:ICAL)?|[Ff]atal|FATAL|[Ss]evere|SEVERE|EMERG(?:ENCY)?|[Ee]merg(?:ency)?)"
  627. },
  628. "constraints": [
  629. {
  630. "type": "server-version",
  631. "version": ">=4.0.5+d95b909"
  632. }
  633. ]
  634. },
  635. {
  636. "v": "1",
  637. "type": {
  638. "name": "grok_pattern",
  639. "version": "1"
  640. },
  641. "id": "c03e91d3-a36a-4e2a-9c05-b4cabd93f39e",
  642. "data": {
  643. "name": "INT",
  644. "pattern": "(?:[+-]?(?:[0-9]+))"
  645. },
  646. "constraints": [
  647. {
  648. "type": "server-version",
  649. "version": ">=4.0.5+d95b909"
  650. }
  651. ]
  652. },
  653. {
  654. "v": "1",
  655. "type": {
  656. "name": "grok_pattern",
  657. "version": "1"
  658. },
  659. "id": "4f2a8bb0-da94-4d11-a9d2-c3807b8f7445",
  660. "data": {
  661. "name": "COMMONMAC",
  662. "pattern": "(?:(?:[A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2})"
  663. },
  664. "constraints": [
  665. {
  666. "type": "server-version",
  667. "version": ">=4.0.5+d95b909"
  668. }
  669. ]
  670. },
  671. {
  672. "v": "1",
  673. "type": {
  674. "name": "grok_pattern",
  675. "version": "1"
  676. },
  677. "id": "55b315e3-d7e6-41f2-a6ba-090b67b1ae5a",
  678. "data": {
  679. "name": "PATH",
  680. "pattern": "(?:%{UNIXPATH}|%{WINPATH})"
  681. },
  682. "constraints": [
  683. {
  684. "type": "server-version",
  685. "version": ">=4.0.5+d95b909"
  686. }
  687. ]
  688. },
  689. {
  690. "v": "1",
  691. "type": {
  692. "name": "input",
  693. "version": "1"
  694. },
  695. "id": "95a5657f-0ed4-419c-b4cf-8c4357683d69",
  696. "data": {
  697. "title": {
  698. "@type": "string",
  699. "@value": "MySQL"
  700. },
  701. "configuration": {
  702. "tls_key_file": {
  703. "@type": "string",
  704. "@value": ""
  705. },
  706. "port": {
  707. "@type": "integer",
  708. "@value": 5044
  709. },
  710. "tls_enable": {
  711. "@type": "boolean",
  712. "@value": false
  713. },
  714. "recv_buffer_size": {
  715. "@type": "integer",
  716. "@value": 1048576
  717. },
  718. "tcp_keepalive": {
  719. "@type": "boolean",
  720. "@value": false
  721. },
  722. "tls_client_auth_cert_file": {
  723. "@type": "string",
  724. "@value": ""
  725. },
  726. "bind_address": {
  727. "@type": "string",
  728. "@value": "0.0.0.0"
  729. },
  730. "no_beats_prefix": {
  731. "@type": "boolean",
  732. "@value": false
  733. },
  734. "tls_cert_file": {
  735. "@type": "string",
  736. "@value": ""
  737. },
  738. "tls_client_auth": {
  739. "@type": "string",
  740. "@value": "disabled"
  741. },
  742. "number_worker_threads": {
  743. "@type": "integer",
  744. "@value": 4
  745. },
  746. "tls_key_password": {
  747. "@type": "string",
  748. "@value": ""
  749. }
  750. },
  751. "static_fields": {},
  752. "type": {
  753. "@type": "string",
  754. "@value": "org.graylog.plugins.beats.Beats2Input"
  755. },
  756. "global": {
  757. "@type": "boolean",
  758. "@value": true
  759. },
  760. "extractors": []
  761. },
  762. "constraints": [
  763. {
  764. "type": "server-version",
  765. "version": ">=4.0.5+d95b909"
  766. }
  767. ]
  768. },
  769. {
  770. "v": "1",
  771. "type": {
  772. "name": "grok_pattern",
  773. "version": "1"
  774. },
  775. "id": "089c28a7-a3e6-455e-9224-ec34212726d1",
  776. "data": {
  777. "name": "ISO8601_SECOND",
  778. "pattern": "(?:%{SECOND}|60)"
  779. },
  780. "constraints": [
  781. {
  782. "type": "server-version",
  783. "version": ">=4.0.5+d95b909"
  784. }
  785. ]
  786. },
  787. {
  788. "v": "1",
  789. "type": {
  790. "name": "grok_pattern",
  791. "version": "1"
  792. },
  793. "id": "37b422ec-e226-4f3c-8461-929df9e3b570",
  794. "data": {
  795. "name": "GREEDYDATA",
  796. "pattern": ".*"
  797. },
  798. "constraints": [
  799. {
  800. "type": "server-version",
  801. "version": ">=4.0.5+d95b909"
  802. }
  803. ]
  804. },
  805. {
  806. "v": "1",
  807. "type": {
  808. "name": "grok_pattern",
  809. "version": "1"
  810. },
  811. "id": "b4d59466-6610-40f6-bc86-d0ad835e3e59",
  812. "data": {
  813. "name": "MONTHDAY",
  814. "pattern": "(?:(?:0[1-9])|(?:[12][0-9])|(?:3[01])|[1-9])"
  815. },
  816. "constraints": [
  817. {
  818. "type": "server-version",
  819. "version": ">=4.0.5+d95b909"
  820. }
  821. ]
  822. },
  823. {
  824. "v": "1",
  825. "type": {
  826. "name": "grok_pattern",
  827. "version": "1"
  828. },
  829. "id": "075b3e85-593e-471d-ab8c-82ac71542728",
  830. "data": {
  831. "name": "TIME",
  832. "pattern": "(?!<[0-9])%{HOUR}:%{MINUTE}(?::%{SECOND})(?![0-9])"
  833. },
  834. "constraints": [
  835. {
  836. "type": "server-version",
  837. "version": ">=4.0.5+d95b909"
  838. }
  839. ]
  840. },
  841. {
  842. "v": "1",
  843. "type": {
  844. "name": "grok_pattern",
  845. "version": "1"
  846. },
  847. "id": "0f2c231d-6a0c-46bb-8ae8-a7c53bca776e",
  848. "data": {
  849. "name": "TZ",
  850. "pattern": "(?:[PMCE][SD]T|UTC)"
  851. },
  852. "constraints": [
  853. {
  854. "type": "server-version",
  855. "version": ">=4.0.5+d95b909"
  856. }
  857. ]
  858. },
  859. {
  860. "v": "1",
  861. "type": {
  862. "name": "grok_pattern",
  863. "version": "1"
  864. },
  865. "id": "d18cdb90-fe4c-4b26-904b-9ba148fccc37",
  866. "data": {
  867. "name": "HTTPDERROR_DATE",
  868. "pattern": "%{DAY} %{MONTH} %{MONTHDAY} %{TIME} %{YEAR}"
  869. },
  870. "constraints": [
  871. {
  872. "type": "server-version",
  873. "version": ">=4.0.5+d95b909"
  874. }
  875. ]
  876. },
  877. {
  878. "v": "1",
  879. "type": {
  880. "name": "grok_pattern",
  881. "version": "1"
  882. },
  883. "id": "926552e4-c6e6-42d2-a2af-177a6e5ca3c3",
  884. "data": {
  885. "name": "NUMBER",
  886. "pattern": "(?:%{BASE10NUM})"
  887. },
  888. "constraints": [
  889. {
  890. "type": "server-version",
  891. "version": ">=4.0.5+d95b909"
  892. }
  893. ]
  894. },
  895. {
  896. "v": "1",
  897. "type": {
  898. "name": "grok_pattern",
  899. "version": "1"
  900. },
  901. "id": "2a77197a-385e-41fe-a8b5-70c9c376466f",
  902. "data": {
  903. "name": "QS",
  904. "pattern": "%{QUOTEDSTRING}"
  905. },
  906. "constraints": [
  907. {
  908. "type": "server-version",
  909. "version": ">=4.0.5+d95b909"
  910. }
  911. ]
  912. },
  913. {
  914. "v": "1",
  915. "type": {
  916. "name": "grok_pattern",
  917. "version": "1"
  918. },
  919. "id": "f9169aaa-825b-4e85-86f6-da5e057c388f",
  920. "data": {
  921. "name": "DATA",
  922. "pattern": ".*?"
  923. },
  924. "constraints": [
  925. {
  926. "type": "server-version",
  927. "version": ">=4.0.5+d95b909"
  928. }
  929. ]
  930. },
  931. {
  932. "v": "1",
  933. "type": {
  934. "name": "grok_pattern",
  935. "version": "1"
  936. },
  937. "id": "247a2f23-3bb6-4dc4-beb1-57234162f0e5",
  938. "data": {
  939. "name": "DATESTAMP",
  940. "pattern": "%{DATE}[- ]%{TIME}"
  941. },
  942. "constraints": [
  943. {
  944. "type": "server-version",
  945. "version": ">=4.0.5+d95b909"
  946. }
  947. ]
  948. },
  949. {
  950. "v": "1",
  951. "type": {
  952. "name": "grok_pattern",
  953. "version": "1"
  954. },
  955. "id": "f821d762-92a8-4fc2-8d77-4b25a2a173d1",
  956. "data": {
  957. "name": "MONTHNUM",
  958. "pattern": "(?:0?[1-9]|1[0-2])"
  959. },
  960. "constraints": [
  961. {
  962. "type": "server-version",
  963. "version": ">=4.0.5+d95b909"
  964. }
  965. ]
  966. },
  967. {
  968. "v": "1",
  969. "type": {
  970. "name": "grok_pattern",
  971. "version": "1"
  972. },
  973. "id": "33b8be09-37f2-4d14-9edf-6881bf54743d",
  974. "data": {
  975. "name": "WORD",
  976. "pattern": "\\b\\w+\\b"
  977. },
  978. "constraints": [
  979. {
  980. "type": "server-version",
  981. "version": ">=4.0.5+d95b909"
  982. }
  983. ]
  984. },
  985. {
  986. "v": "1",
  987. "type": {
  988. "name": "grok_pattern",
  989. "version": "1"
  990. },
  991. "id": "89af4964-6026-44fb-81ea-d6a390ca8903",
  992. "data": {
  993. "name": "IP",
  994. "pattern": "(?:%{IPV6}|%{IPV4})"
  995. },
  996. "constraints": [
  997. {
  998. "type": "server-version",
  999. "version": ">=4.0.5+d95b909"
  1000. }
  1001. ]
  1002. },
  1003. {
  1004. "v": "1",
  1005. "type": {
  1006. "name": "grok_pattern",
  1007. "version": "1"
  1008. },
  1009. "id": "492d4c0f-ee79-4129-bf4b-ab8d7a933a3b",
  1010. "data": {
  1011. "name": "WINPATH",
  1012. "pattern": "(?>[A-Za-z]+:|\\\\)(?:\\\\[^\\\\?*]*)+"
  1013. },
  1014. "constraints": [
  1015. {
  1016. "type": "server-version",
  1017. "version": ">=4.0.5+d95b909"
  1018. }
  1019. ]
  1020. },
  1021. {
  1022. "v": "1",
  1023. "type": {
  1024. "name": "input",
  1025. "version": "1"
  1026. },
  1027. "id": "2399a894-fd4a-4c3b-8e2f-30970a7aa8d3",
  1028. "data": {
  1029. "title": {
  1030. "@type": "string",
  1031. "@value": "Laravel"
  1032. },
  1033. "configuration": {
  1034. "recv_buffer_size": {
  1035. "@type": "integer",
  1036. "@value": 262144
  1037. },
  1038. "port": {
  1039. "@type": "integer",
  1040. "@value": 12201
  1041. },
  1042. "number_worker_threads": {
  1043. "@type": "integer",
  1044. "@value": 4
  1045. },
  1046. "bind_address": {
  1047. "@type": "string",
  1048. "@value": "0.0.0.0"
  1049. },
  1050. "decompress_size_limit": {
  1051. "@type": "integer",
  1052. "@value": 8388608
  1053. }
  1054. },
  1055. "static_fields": {},
  1056. "type": {
  1057. "@type": "string",
  1058. "@value": "org.graylog2.inputs.gelf.udp.GELFUDPInput"
  1059. },
  1060. "global": {
  1061. "@type": "boolean",
  1062. "@value": true
  1063. },
  1064. "extractors": []
  1065. },
  1066. "constraints": [
  1067. {
  1068. "type": "server-version",
  1069. "version": ">=4.0.5+d95b909"
  1070. }
  1071. ]
  1072. },
  1073. {
  1074. "v": "1",
  1075. "type": {
  1076. "name": "grok_pattern",
  1077. "version": "1"
  1078. },
  1079. "id": "ba6885ed-9583-4898-a4ff-ee231e5b3fba",
  1080. "data": {
  1081. "name": "IPV4",
  1082. "pattern": "(?<![0-9])(?:(?:[0-1]?[0-9]{1,2}|2[0-4][0-9]|25[0-5])[.](?:[0-1]?[0-9]{1,2}|2[0-4][0-9]|25[0-5])[.](?:[0-1]?[0-9]{1,2}|2[0-4][0-9]|25[0-5])[.](?:[0-1]?[0-9]{1,2}|2[0-4][0-9]|25[0-5]))(?![0-9])"
  1083. },
  1084. "constraints": [
  1085. {
  1086. "type": "server-version",
  1087. "version": ">=4.0.5+d95b909"
  1088. }
  1089. ]
  1090. },
  1091. {
  1092. "v": "1",
  1093. "type": {
  1094. "name": "grok_pattern",
  1095. "version": "1"
  1096. },
  1097. "id": "4c016236-66b5-4633-b961-08e9f1d1a4ec",
  1098. "data": {
  1099. "name": "NOTSPACE",
  1100. "pattern": "\\S+"
  1101. },
  1102. "constraints": [
  1103. {
  1104. "type": "server-version",
  1105. "version": ">=4.0.5+d95b909"
  1106. }
  1107. ]
  1108. },
  1109. {
  1110. "v": "1",
  1111. "type": {
  1112. "name": "grok_pattern",
  1113. "version": "1"
  1114. },
  1115. "id": "22f9f174-793a-45d7-9444-519d6a4b99c0",
  1116. "data": {
  1117. "name": "COMMONAPACHELOG",
  1118. "pattern": "%{IPORHOST:clientip} %{HTTPDUSER:ident} %{USER:auth} \\[%{HTTPDATE:timestamp;date;dd/MMM/yyyy:HH:mm:ss Z}\\] \"(?:%{WORD:verb} %{NOTSPACE:request}(?: HTTP/%{NUMBER:httpversion})?|%{DATA:rawrequest})\" %{NUMBER:response} (?:%{NUMBER:bytes}|-)"
  1119. },
  1120. "constraints": [
  1121. {
  1122. "type": "server-version",
  1123. "version": ">=4.0.5+d95b909"
  1124. }
  1125. ]
  1126. },
  1127. {
  1128. "v": "1",
  1129. "type": {
  1130. "name": "grok_pattern",
  1131. "version": "1"
  1132. },
  1133. "id": "b2a8b7c7-bbb7-4904-b5cc-920c69019ad3",
  1134. "data": {
  1135. "name": "MAC",
  1136. "pattern": "(?:%{CISCOMAC}|%{WINDOWSMAC}|%{COMMONMAC})"
  1137. },
  1138. "constraints": [
  1139. {
  1140. "type": "server-version",
  1141. "version": ">=4.0.5+d95b909"
  1142. }
  1143. ]
  1144. },
  1145. {
  1146. "v": "1",
  1147. "type": {
  1148. "name": "grok_pattern",
  1149. "version": "1"
  1150. },
  1151. "id": "993b5faa-64bf-4e8a-8998-54a980ddb4a4",
  1152. "data": {
  1153. "name": "NONNEGINT",
  1154. "pattern": "\\b(?:[0-9]+)\\b"
  1155. },
  1156. "constraints": [
  1157. {
  1158. "type": "server-version",
  1159. "version": ">=4.0.5+d95b909"
  1160. }
  1161. ]
  1162. },
  1163. {
  1164. "v": "1",
  1165. "type": {
  1166. "name": "grok_pattern",
  1167. "version": "1"
  1168. },
  1169. "id": "7ec306ac-bfe2-4dd1-9e86-6876382216de",
  1170. "data": {
  1171. "name": "PROG",
  1172. "pattern": "[\\x21-\\x5a\\x5c\\x5e-\\x7e]+"
  1173. },
  1174. "constraints": [
  1175. {
  1176. "type": "server-version",
  1177. "version": ">=4.0.5+d95b909"
  1178. }
  1179. ]
  1180. },
  1181. {
  1182. "v": "1",
  1183. "type": {
  1184. "name": "grok_pattern",
  1185. "version": "1"
  1186. },
  1187. "id": "ca3ccb18-4220-41c1-8d8a-82833a13bd4d",
  1188. "data": {
  1189. "name": "USER",
  1190. "pattern": "%{USERNAME}"
  1191. },
  1192. "constraints": [
  1193. {
  1194. "type": "server-version",
  1195. "version": ">=4.0.5+d95b909"
  1196. }
  1197. ]
  1198. },
  1199. {
  1200. "v": "1",
  1201. "type": {
  1202. "name": "sidecar_collector",
  1203. "version": "1"
  1204. },
  1205. "id": "abc9f978-f01e-470e-9687-3977ba243011",
  1206. "data": {
  1207. "name": {
  1208. "@type": "string",
  1209. "@value": "winlogbeat"
  1210. },
  1211. "service_type": {
  1212. "@type": "string",
  1213. "@value": "svc"
  1214. },
  1215. "node_operating_system": {
  1216. "@type": "string",
  1217. "@value": "windows"
  1218. },
  1219. "executable_path": {
  1220. "@type": "string",
  1221. "@value": "C:\\Program Files\\Graylog\\sidecar\\winlogbeat.exe"
  1222. },
  1223. "execute_parameters": {
  1224. "@type": "string",
  1225. "@value": "-c \"%s\""
  1226. },
  1227. "validation_parameters": {
  1228. "@type": "string",
  1229. "@value": "test config -c \"%s\""
  1230. },
  1231. "default_template": {
  1232. "@type": "string",
  1233. "@value": "# Needed for Graylog\nfields_under_root: true\nfields.collector_node_id: ${sidecar.nodeName}\nfields.gl2_source_collector: ${sidecar.nodeId}\n\noutput.logstash:\n hosts: [\"192.168.1.1:5044\"]\npath:\n data: C:\\Program Files\\Graylog\\sidecar\\cache\\winlogbeat\\data\n logs: C:\\Program Files\\Graylog\\sidecar\\logs\ntags:\n - windows\nwinlogbeat:\n event_logs:\n - name: Application\n - name: System\n - name: Security"
  1234. }
  1235. },
  1236. "constraints": [
  1237. {
  1238. "type": "server-version",
  1239. "version": ">=4.0.5+d95b909"
  1240. }
  1241. ]
  1242. },
  1243. {
  1244. "v": "1",
  1245. "type": {
  1246. "name": "grok_pattern",
  1247. "version": "1"
  1248. },
  1249. "id": "00148b53-1876-414e-81e8-875ba243a028",
  1250. "data": {
  1251. "name": "HOSTNAME",
  1252. "pattern": "\\b(?:[0-9A-Za-z][0-9A-Za-z-]{0,62})(?:\\.(?:[0-9A-Za-z][0-9A-Za-z-]{0,62}))*(\\.?|\\b)"
  1253. },
  1254. "constraints": [
  1255. {
  1256. "type": "server-version",
  1257. "version": ">=4.0.5+d95b909"
  1258. }
  1259. ]
  1260. },
  1261. {
  1262. "v": "1",
  1263. "type": {
  1264. "name": "grok_pattern",
  1265. "version": "1"
  1266. },
  1267. "id": "4d5a33f8-83f7-4a4e-9be9-0bf62c2bc533",
  1268. "data": {
  1269. "name": "DATE_US",
  1270. "pattern": "%{MONTHNUM}[/-]%{MONTHDAY}[/-]%{YEAR}"
  1271. },
  1272. "constraints": [
  1273. {
  1274. "type": "server-version",
  1275. "version": ">=4.0.5+d95b909"
  1276. }
  1277. ]
  1278. },
  1279. {
  1280. "v": "1",
  1281. "type": {
  1282. "name": "grok_pattern",
  1283. "version": "1"
  1284. },
  1285. "id": "5cb8080d-ef7c-48f7-bc8b-e284a114a5ec",
  1286. "data": {
  1287. "name": "HOUR",
  1288. "pattern": "(?:2[0123]|[01]?[0-9])"
  1289. },
  1290. "constraints": [
  1291. {
  1292. "type": "server-version",
  1293. "version": ">=4.0.5+d95b909"
  1294. }
  1295. ]
  1296. },
  1297. {
  1298. "v": "1",
  1299. "type": {
  1300. "name": "grok_pattern",
  1301. "version": "1"
  1302. },
  1303. "id": "e54f322e-ac39-49bf-b7c5-b53c70a561a0",
  1304. "data": {
  1305. "name": "HTTPD24_ERRORLOG",
  1306. "pattern": "\\[%{HTTPDERROR_DATE:timestamp}\\] \\[%{WORD:module}:%{LOGLEVEL:loglevel}\\] \\[pid %{POSINT:pid}:tid %{NUMBER:tid}\\]( \\(%{POSINT:proxy_errorcode}\\)%{DATA:proxy_errormessage}:)?( \\[client %{IPORHOST:client}:%{POSINT:clientport}\\])? %{DATA:errorcode}: %{GREEDYDATA:message}"
  1307. },
  1308. "constraints": [
  1309. {
  1310. "type": "server-version",
  1311. "version": ">=4.0.5+d95b909"
  1312. }
  1313. ]
  1314. },
  1315. {
  1316. "v": "1",
  1317. "type": {
  1318. "name": "grok_pattern",
  1319. "version": "1"
  1320. },
  1321. "id": "73ed17b1-3992-4783-aee0-47f31e506a00",
  1322. "data": {
  1323. "name": "POSINT",
  1324. "pattern": "\\b(?:[1-9][0-9]*)\\b"
  1325. },
  1326. "constraints": [
  1327. {
  1328. "type": "server-version",
  1329. "version": ">=4.0.5+d95b909"
  1330. }
  1331. ]
  1332. },
  1333. {
  1334. "v": "1",
  1335. "type": {
  1336. "name": "grok_pattern",
  1337. "version": "1"
  1338. },
  1339. "id": "1ba2d36b-bbff-4337-9e13-acd9e1674285",
  1340. "data": {
  1341. "name": "URIPARAM",
  1342. "pattern": "\\?[A-Za-z0-9$.+!*'|(){},~@#%&/=:;_?\\-\\[\\]<>]*"
  1343. },
  1344. "constraints": [
  1345. {
  1346. "type": "server-version",
  1347. "version": ">=4.0.5+d95b909"
  1348. }
  1349. ]
  1350. },
  1351. {
  1352. "v": "1",
  1353. "type": {
  1354. "name": "grok_pattern",
  1355. "version": "1"
  1356. },
  1357. "id": "007a7e1b-b888-4d34-870c-66a3b7f91b97",
  1358. "data": {
  1359. "name": "EMAILLOCALPART",
  1360. "pattern": "[a-zA-Z][a-zA-Z0-9_.+-=:]+"
  1361. },
  1362. "constraints": [
  1363. {
  1364. "type": "server-version",
  1365. "version": ">=4.0.5+d95b909"
  1366. }
  1367. ]
  1368. },
  1369. {
  1370. "v": "1",
  1371. "type": {
  1372. "name": "grok_pattern",
  1373. "version": "1"
  1374. },
  1375. "id": "984cce84-823c-45c9-8d53-9bbd61ff4685",
  1376. "data": {
  1377. "name": "EMAILADDRESS",
  1378. "pattern": "%{EMAILLOCALPART}@%{HOSTNAME}"
  1379. },
  1380. "constraints": [
  1381. {
  1382. "type": "server-version",
  1383. "version": ">=4.0.5+d95b909"
  1384. }
  1385. ]
  1386. },
  1387. {
  1388. "v": "1",
  1389. "type": {
  1390. "name": "grok_pattern",
  1391. "version": "1"
  1392. },
  1393. "id": "858f1b4a-4a7b-483b-bfa2-5e0bae6ec03a",
  1394. "data": {
  1395. "name": "TTY",
  1396. "pattern": "(?:/dev/(pts|tty([pq])?)(\\w+)?/?(?:[0-9]+))"
  1397. },
  1398. "constraints": [
  1399. {
  1400. "type": "server-version",
  1401. "version": ">=4.0.5+d95b909"
  1402. }
  1403. ]
  1404. },
  1405. {
  1406. "v": "1",
  1407. "type": {
  1408. "name": "grok_pattern",
  1409. "version": "1"
  1410. },
  1411. "id": "67be690a-928f-48cc-93d1-c9e06b09582e",
  1412. "data": {
  1413. "name": "DATESTAMP_RFC822",
  1414. "pattern": "%{DAY} %{MONTH} %{MONTHDAY} %{YEAR} %{TIME} %{TZ}"
  1415. },
  1416. "constraints": [
  1417. {
  1418. "type": "server-version",
  1419. "version": ">=4.0.5+d95b909"
  1420. }
  1421. ]
  1422. },
  1423. {
  1424. "v": "1",
  1425. "type": {
  1426. "name": "grok_pattern",
  1427. "version": "1"
  1428. },
  1429. "id": "6faa1684-62f9-45a8-b5d1-ea4aa49d15d6",
  1430. "data": {
  1431. "name": "URIHOST",
  1432. "pattern": "%{IPORHOST}(?::%{POSINT:port})?"
  1433. },
  1434. "constraints": [
  1435. {
  1436. "type": "server-version",
  1437. "version": ">=4.0.5+d95b909"
  1438. }
  1439. ]
  1440. },
  1441. {
  1442. "v": "1",
  1443. "type": {
  1444. "name": "grok_pattern",
  1445. "version": "1"
  1446. },
  1447. "id": "1ccb050a-8430-48dc-8ec9-d2fc754c483b",
  1448. "data": {
  1449. "name": "HTTPDATE",
  1450. "pattern": "%{MONTHDAY}/%{MONTH}/%{YEAR}:%{TIME} %{INT}"
  1451. },
  1452. "constraints": [
  1453. {
  1454. "type": "server-version",
  1455. "version": ">=4.0.5+d95b909"
  1456. }
  1457. ]
  1458. },
  1459. {
  1460. "v": "1",
  1461. "type": {
  1462. "name": "grok_pattern",
  1463. "version": "1"
  1464. },
  1465. "id": "35f9f5a9-6b44-4dc1-853c-f3ffa2504c03",
  1466. "data": {
  1467. "name": "SYSLOGPROG",
  1468. "pattern": "%{PROG:program}(?:\\[%{POSINT:pid}\\])?"
  1469. },
  1470. "constraints": [
  1471. {
  1472. "type": "server-version",
  1473. "version": ">=4.0.5+d95b909"
  1474. }
  1475. ]
  1476. },
  1477. {
  1478. "v": "1",
  1479. "type": {
  1480. "name": "grok_pattern",
  1481. "version": "1"
  1482. },
  1483. "id": "22ccfac1-ba47-4c9c-9349-04f6fdca1748",
  1484. "data": {
  1485. "name": "WINDOWSMAC",
  1486. "pattern": "(?:(?:[A-Fa-f0-9]{2}-){5}[A-Fa-f0-9]{2})"
  1487. },
  1488. "constraints": [
  1489. {
  1490. "type": "server-version",
  1491. "version": ">=4.0.5+d95b909"
  1492. }
  1493. ]
  1494. },
  1495. {
  1496. "v": "1",
  1497. "type": {
  1498. "name": "grok_pattern",
  1499. "version": "1"
  1500. },
  1501. "id": "fdb9dee3-a9bf-4132-aa21-7c8d987481b9",
  1502. "data": {
  1503. "name": "TIMESTAMP_ISO8601",
  1504. "pattern": "%{YEAR}-%{MONTHNUM}-%{MONTHDAY}[T ]%{HOUR}:?%{MINUTE}(?::?%{SECOND})?%{ISO8601_TIMEZONE}?"
  1505. },
  1506. "constraints": [
  1507. {
  1508. "type": "server-version",
  1509. "version": ">=4.0.5+d95b909"
  1510. }
  1511. ]
  1512. },
  1513. {
  1514. "v": "1",
  1515. "type": {
  1516. "name": "sidecar_collector",
  1517. "version": "1"
  1518. },
  1519. "id": "f30d09f1-90c2-4375-9ecb-89ce13e20915",
  1520. "data": {
  1521. "name": {
  1522. "@type": "string",
  1523. "@value": "filebeat"
  1524. },
  1525. "service_type": {
  1526. "@type": "string",
  1527. "@value": "svc"
  1528. },
  1529. "node_operating_system": {
  1530. "@type": "string",
  1531. "@value": "windows"
  1532. },
  1533. "executable_path": {
  1534. "@type": "string",
  1535. "@value": "C:\\Program Files\\Graylog\\sidecar\\filebeat.exe"
  1536. },
  1537. "execute_parameters": {
  1538. "@type": "string",
  1539. "@value": "-c \"%s\""
  1540. },
  1541. "validation_parameters": {
  1542. "@type": "string",
  1543. "@value": "test config -c \"%s\""
  1544. },
  1545. "default_template": {
  1546. "@type": "string",
  1547. "@value": "# Needed for Graylog\nfields_under_root: true\nfields.collector_node_id: ${sidecar.nodeName}\nfields.gl2_source_collector: ${sidecar.nodeId}\n\noutput.logstash:\n hosts: [\"192.168.1.1:5044\"]\npath:\n data: C:\\Program Files\\Graylog\\sidecar\\cache\\filebeat\\data\n logs: C:\\Program Files\\Graylog\\sidecar\\logs\ntags:\n - windows\nfilebeat.inputs:\n- type: log\n enabled: true\n paths:\n - C:\\logs\\log.log\n"
  1548. }
  1549. },
  1550. "constraints": [
  1551. {
  1552. "type": "server-version",
  1553. "version": ">=4.0.5+d95b909"
  1554. }
  1555. ]
  1556. },
  1557. {
  1558. "v": "1",
  1559. "type": {
  1560. "name": "grok_pattern",
  1561. "version": "1"
  1562. },
  1563. "id": "320c2c19-1e1a-4c27-bc8b-547896b56e7e",
  1564. "data": {
  1565. "name": "BASE10NUM",
  1566. "pattern": "(?<![0-9.+-])(?>[+-]?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+)))"
  1567. },
  1568. "constraints": [
  1569. {
  1570. "type": "server-version",
  1571. "version": ">=4.0.5+d95b909"
  1572. }
  1573. ]
  1574. },
  1575. {
  1576. "v": "1",
  1577. "type": {
  1578. "name": "grok_pattern",
  1579. "version": "1"
  1580. },
  1581. "id": "d008f6e1-1c14-447e-bacc-8e86accde5f7",
  1582. "data": {
  1583. "name": "HTTPD20_ERRORLOG",
  1584. "pattern": "\\[%{HTTPDERROR_DATE:timestamp}\\] \\[%{LOGLEVEL:loglevel}\\] (?:\\[client %{IPORHOST:clientip}\\] ){0,1}%{GREEDYDATA:errormsg}"
  1585. },
  1586. "constraints": [
  1587. {
  1588. "type": "server-version",
  1589. "version": ">=4.0.5+d95b909"
  1590. }
  1591. ]
  1592. },
  1593. {
  1594. "v": "1",
  1595. "type": {
  1596. "name": "grok_pattern",
  1597. "version": "1"
  1598. },
  1599. "id": "dceff2d8-677f-406e-bf4f-1973aee060a5",
  1600. "data": {
  1601. "name": "COMBINEDAPACHELOG",
  1602. "pattern": "%{COMMONAPACHELOG} %{QS:referrer} %{QS:agent}"
  1603. },
  1604. "constraints": [
  1605. {
  1606. "type": "server-version",
  1607. "version": ">=4.0.5+d95b909"
  1608. }
  1609. ]
  1610. },
  1611. {
  1612. "v": "1",
  1613. "type": {
  1614. "name": "grok_pattern",
  1615. "version": "1"
  1616. },
  1617. "id": "ec726ca4-ac9d-4917-8c2a-da8e2499e85a",
  1618. "data": {
  1619. "name": "DATESTAMP_RFC2822",
  1620. "pattern": "%{DAY}, %{MONTHDAY} %{MONTH} %{YEAR} %{TIME} %{ISO8601_TIMEZONE}"
  1621. },
  1622. "constraints": [
  1623. {
  1624. "type": "server-version",
  1625. "version": ">=4.0.5+d95b909"
  1626. }
  1627. ]
  1628. },
  1629. {
  1630. "v": "1",
  1631. "type": {
  1632. "name": "grok_pattern",
  1633. "version": "1"
  1634. },
  1635. "id": "9bdc4061-bee8-4902-bde2-5eb17759c36c",
  1636. "data": {
  1637. "name": "ISO8601_TIMEZONE",
  1638. "pattern": "(?:Z|[+-]%{HOUR}(?::?%{MINUTE}))"
  1639. },
  1640. "constraints": [
  1641. {
  1642. "type": "server-version",
  1643. "version": ">=4.0.5+d95b909"
  1644. }
  1645. ]
  1646. },
  1647. {
  1648. "v": "1",
  1649. "type": {
  1650. "name": "grok_pattern",
  1651. "version": "1"
  1652. },
  1653. "id": "0be7b9d1-f719-4ef7-a8aa-32906922122f",
  1654. "data": {
  1655. "name": "UNIXPATH",
  1656. "pattern": "(/([\\w_%!$@:.,~-]+|\\\\.)*)+"
  1657. },
  1658. "constraints": [
  1659. {
  1660. "type": "server-version",
  1661. "version": ">=4.0.5+d95b909"
  1662. }
  1663. ]
  1664. },
  1665. {
  1666. "v": "1",
  1667. "type": {
  1668. "name": "grok_pattern",
  1669. "version": "1"
  1670. },
  1671. "id": "22dc7fae-412c-4026-adad-0b71bfa2cba5",
  1672. "data": {
  1673. "name": "UUID",
  1674. "pattern": "[A-Fa-f0-9]{8}-(?:[A-Fa-f0-9]{4}-){3}[A-Fa-f0-9]{12}"
  1675. },
  1676. "constraints": [
  1677. {
  1678. "type": "server-version",
  1679. "version": ">=4.0.5+d95b909"
  1680. }
  1681. ]
  1682. },
  1683. {
  1684. "v": "1",
  1685. "type": {
  1686. "name": "grok_pattern",
  1687. "version": "1"
  1688. },
  1689. "id": "14bb404e-afae-4119-9b18-96e0e1df3355",
  1690. "data": {
  1691. "name": "SPACE",
  1692. "pattern": "\\s*"
  1693. },
  1694. "constraints": [
  1695. {
  1696. "type": "server-version",
  1697. "version": ">=4.0.5+d95b909"
  1698. }
  1699. ]
  1700. },
  1701. {
  1702. "v": "1",
  1703. "type": {
  1704. "name": "grok_pattern",
  1705. "version": "1"
  1706. },
  1707. "id": "3d93cd19-e88b-4487-b542-e1bdf9075473",
  1708. "data": {
  1709. "name": "USERNAME",
  1710. "pattern": "[a-zA-Z0-9._-]+"
  1711. },
  1712. "constraints": [
  1713. {
  1714. "type": "server-version",
  1715. "version": ">=4.0.5+d95b909"
  1716. }
  1717. ]
  1718. },
  1719. {
  1720. "v": "1",
  1721. "type": {
  1722. "name": "grok_pattern",
  1723. "version": "1"
  1724. },
  1725. "id": "53b67c38-ba8a-4844-8e16-ec73be53e53f",
  1726. "data": {
  1727. "name": "BASE16FLOAT",
  1728. "pattern": "\\b(?<![0-9A-Fa-f.])(?:[+-]?(?:0x)?(?:(?:[0-9A-Fa-f]+(?:\\.[0-9A-Fa-f]*)?)|(?:\\.[0-9A-Fa-f]+)))\\b"
  1729. },
  1730. "constraints": [
  1731. {
  1732. "type": "server-version",
  1733. "version": ">=4.0.5+d95b909"
  1734. }
  1735. ]
  1736. },
  1737. {
  1738. "v": "1",
  1739. "type": {
  1740. "name": "grok_pattern",
  1741. "version": "1"
  1742. },
  1743. "id": "1c35883d-79f1-4ac5-bfbd-4de46b93b038",
  1744. "data": {
  1745. "name": "URI",
  1746. "pattern": "%{URIPROTO}://(?:%{USER}(?::[^@]*)?@)?(?:%{URIHOST})?(?:%{URIPATHPARAM})?"
  1747. },
  1748. "constraints": [
  1749. {
  1750. "type": "server-version",
  1751. "version": ">=4.0.5+d95b909"
  1752. }
  1753. ]
  1754. },
  1755. {
  1756. "v": "1",
  1757. "type": {
  1758. "name": "grok_pattern",
  1759. "version": "1"
  1760. },
  1761. "id": "037050ff-4fc7-4ab6-ae28-5992be37be17",
  1762. "data": {
  1763. "name": "URIPATH",
  1764. "pattern": "(?:/[A-Za-z0-9$.+!*'(){},~:;=@#%_\\-]*)+"
  1765. },
  1766. "constraints": [
  1767. {
  1768. "type": "server-version",
  1769. "version": ">=4.0.5+d95b909"
  1770. }
  1771. ]
  1772. },
  1773. {
  1774. "v": "1",
  1775. "type": {
  1776. "name": "grok_pattern",
  1777. "version": "1"
  1778. },
  1779. "id": "da9d35c7-6045-4f24-9ed6-db09aac6499a",
  1780. "data": {
  1781. "name": "DATESTAMP_EVENTLOG",
  1782. "pattern": "%{YEAR}%{MONTHNUM2}%{MONTHDAY}%{HOUR}%{MINUTE}%{SECOND}"
  1783. },
  1784. "constraints": [
  1785. {
  1786. "type": "server-version",
  1787. "version": ">=4.0.5+d95b909"
  1788. }
  1789. ]
  1790. },
  1791. {
  1792. "v": "1",
  1793. "type": {
  1794. "name": "grok_pattern",
  1795. "version": "1"
  1796. },
  1797. "id": "438cd268-259b-48f1-b65d-62febe312acd",
  1798. "data": {
  1799. "name": "HTTPD_ERRORLOG",
  1800. "pattern": "%{HTTPD20_ERRORLOG}|%{HTTPD24_ERRORLOG}"
  1801. },
  1802. "constraints": [
  1803. {
  1804. "type": "server-version",
  1805. "version": ">=4.0.5+d95b909"
  1806. }
  1807. ]
  1808. },
  1809. {
  1810. "v": "1",
  1811. "type": {
  1812. "name": "grok_pattern",
  1813. "version": "1"
  1814. },
  1815. "id": "0de2450e-258b-48bc-8256-5d86fa63e96d",
  1816. "data": {
  1817. "name": "SYSLOGBASE",
  1818. "pattern": "%{SYSLOGTIMESTAMP:timestamp} (?:%{SYSLOGFACILITY} )?%{SYSLOGHOST:logsource} %{SYSLOGPROG}:"
  1819. },
  1820. "constraints": [
  1821. {
  1822. "type": "server-version",
  1823. "version": ">=4.0.5+d95b909"
  1824. }
  1825. ]
  1826. },
  1827. {
  1828. "v": "1",
  1829. "type": {
  1830. "name": "grok_pattern",
  1831. "version": "1"
  1832. },
  1833. "id": "fe10b676-42be-422a-a7cf-6cd5d3710316",
  1834. "data": {
  1835. "name": "HTTPDUSER",
  1836. "pattern": "%{EMAILADDRESS}|%{USER}"
  1837. },
  1838. "constraints": [
  1839. {
  1840. "type": "server-version",
  1841. "version": ">=4.0.5+d95b909"
  1842. }
  1843. ]
  1844. },
  1845. {
  1846. "v": "1",
  1847. "type": {
  1848. "name": "grok_pattern",
  1849. "version": "1"
  1850. },
  1851. "id": "8d4d1366-010f-47ff-b456-12acbf571fb0",
  1852. "data": {
  1853. "name": "MONTHNUM2",
  1854. "pattern": "(?:0[1-9]|1[0-2])"
  1855. },
  1856. "constraints": [
  1857. {
  1858. "type": "server-version",
  1859. "version": ">=4.0.5+d95b909"
  1860. }
  1861. ]
  1862. },
  1863. {
  1864. "v": "1",
  1865. "type": {
  1866. "name": "grok_pattern",
  1867. "version": "1"
  1868. },
  1869. "id": "157039a0-0020-44d5-8560-409727f8843f",
  1870. "data": {
  1871. "name": "MONTH",
  1872. "pattern": "\\b(?:Jan(?:uary|uar)?|Feb(?:ruary|ruar)?|M(?:a|ä)?r(?:ch|z)?|Apr(?:il)?|Ma(?:y|i)?|Jun(?:e|i)?|Jul(?:y)?|Aug(?:ust)?|Sep(?:tember)?|O(?:c|k)?t(?:ober)?|Nov(?:ember)?|De(?:c|z)(?:ember)?)\\b"
  1873. },
  1874. "constraints": [
  1875. {
  1876. "type": "server-version",
  1877. "version": ">=4.0.5+d95b909"
  1878. }
  1879. ]
  1880. },
  1881. {
  1882. "v": "1",
  1883. "type": {
  1884. "name": "grok_pattern",
  1885. "version": "1"
  1886. },
  1887. "id": "b63bd64b-a2f6-427d-a375-ad69c6ab4f9f",
  1888. "data": {
  1889. "name": "YEAR",
  1890. "pattern": "(?>\\d\\d){1,2}"
  1891. },
  1892. "constraints": [
  1893. {
  1894. "type": "server-version",
  1895. "version": ">=4.0.5+d95b909"
  1896. }
  1897. ]
  1898. },
  1899. {
  1900. "v": "1",
  1901. "type": {
  1902. "name": "grok_pattern",
  1903. "version": "1"
  1904. },
  1905. "id": "cf0c76bf-4af8-4df5-9d1f-180153aac612",
  1906. "data": {
  1907. "name": "IPV6",
  1908. "pattern": "((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?"
  1909. },
  1910. "constraints": [
  1911. {
  1912. "type": "server-version",
  1913. "version": ">=4.0.5+d95b909"
  1914. }
  1915. ]
  1916. },
  1917. {
  1918. "v": "1",
  1919. "type": {
  1920. "name": "grok_pattern",
  1921. "version": "1"
  1922. },
  1923. "id": "ce76d569-9056-4612-b066-ae4a8cd5fe10",
  1924. "data": {
  1925. "name": "SYSLOGHOST",
  1926. "pattern": "%{IPORHOST}"
  1927. },
  1928. "constraints": [
  1929. {
  1930. "type": "server-version",
  1931. "version": ">=4.0.5+d95b909"
  1932. }
  1933. ]
  1934. },
  1935. {
  1936. "v": "1",
  1937. "type": {
  1938. "name": "sidecar_collector",
  1939. "version": "1"
  1940. },
  1941. "id": "30a4bf82-5c63-40ee-a947-19551aabdadd",
  1942. "data": {
  1943. "name": {
  1944. "@type": "string",
  1945. "@value": "nxlog"
  1946. },
  1947. "service_type": {
  1948. "@type": "string",
  1949. "@value": "exec"
  1950. },
  1951. "node_operating_system": {
  1952. "@type": "string",
  1953. "@value": "linux"
  1954. },
  1955. "executable_path": {
  1956. "@type": "string",
  1957. "@value": "/usr/bin/nxlog"
  1958. },
  1959. "execute_parameters": {
  1960. "@type": "string",
  1961. "@value": "-f -c %s"
  1962. },
  1963. "validation_parameters": {
  1964. "@type": "string",
  1965. "@value": "-v -c %s"
  1966. },
  1967. "default_template": {
  1968. "@type": "string",
  1969. "@value": "define ROOT /usr/bin\n\n<Extension gelfExt>\n Module xm_gelf\n # Avoid truncation of the short_message field to 64 characters.\n ShortMessageLength 65536\n</Extension>\n\n<Extension syslogExt>\n Module xm_syslog\n</Extension>\n\nUser nxlog\nGroup nxlog\n\nModuledir /usr/lib/nxlog/modules\nCacheDir /var/spool/nxlog/data\nPidFile /var/run/nxlog/nxlog.pid\nLogFile /var/log/nxlog/nxlog.log\nLogLevel INFO\n\n\n<Input file>\n\tModule im_file\n\tFile '/var/log/*.log'\n\tPollInterval 1\n\tSavePos\tTrue\n\tReadFromLast True\n\tRecursive False\n\tRenameCheck False\n\tExec $FileName = file_name(); # Send file name with each message\n</Input>\n\n#<Input syslog-udp>\n#\tModule im_udp\n#\tHost 127.0.0.1\n#\tPort 514\n#\tExec parse_syslog_bsd();\n#</Input>\n\n<Output gelf>\n\tModule om_tcp\n\tHost 192.168.1.1\n\tPort 12201\n\tOutputType GELF_TCP\n\t<Exec>\n\t # These fields are needed for Graylog\n\t $gl2_source_collector = '${sidecar.nodeId}';\n\t $collector_node_id = '${sidecar.nodeName}';\n\t</Exec>\n</Output>\n\n\n<Route route-1>\n Path file => gelf\n</Route>\n#<Route route-2>\n# Path syslog-udp => gelf\n#</Route>\n\n\n"
  1970. }
  1971. },
  1972. "constraints": [
  1973. {
  1974. "type": "server-version",
  1975. "version": ">=4.0.5+d95b909"
  1976. }
  1977. ]
  1978. },
  1979. {
  1980. "v": "1",
  1981. "type": {
  1982. "name": "grok_pattern",
  1983. "version": "1"
  1984. },
  1985. "id": "9084046b-5fdb-492b-ae8c-194dc2600739",
  1986. "data": {
  1987. "name": "DATE_EU",
  1988. "pattern": "%{MONTHDAY}[./-]%{MONTHNUM}[./-]%{YEAR}"
  1989. },
  1990. "constraints": [
  1991. {
  1992. "type": "server-version",
  1993. "version": ">=4.0.5+d95b909"
  1994. }
  1995. ]
  1996. },
  1997. {
  1998. "v": "1",
  1999. "type": {
  2000. "name": "grok_pattern",
  2001. "version": "1"
  2002. },
  2003. "id": "68ab0925-f0bb-4620-8982-7cb93c544e84",
  2004. "data": {
  2005. "name": "HOSTPORT",
  2006. "pattern": "%{IPORHOST}:%{POSINT}"
  2007. },
  2008. "constraints": [
  2009. {
  2010. "type": "server-version",
  2011. "version": ">=4.0.5+d95b909"
  2012. }
  2013. ]
  2014. },
  2015. {
  2016. "v": "1",
  2017. "type": {
  2018. "name": "grok_pattern",
  2019. "version": "1"
  2020. },
  2021. "id": "a142e740-27a9-49a0-906b-764b6807734c",
  2022. "data": {
  2023. "name": "MINUTE",
  2024. "pattern": "(?:[0-5][0-9])"
  2025. },
  2026. "constraints": [
  2027. {
  2028. "type": "server-version",
  2029. "version": ">=4.0.5+d95b909"
  2030. }
  2031. ]
  2032. },
  2033. {
  2034. "v": "1",
  2035. "type": {
  2036. "name": "grok_pattern",
  2037. "version": "1"
  2038. },
  2039. "id": "f3b69a79-7052-4aa5-83d6-64b855997034",
  2040. "data": {
  2041. "name": "SYSLOGFACILITY",
  2042. "pattern": "<%{NONNEGINT:facility}.%{NONNEGINT:priority}>"
  2043. },
  2044. "constraints": [
  2045. {
  2046. "type": "server-version",
  2047. "version": ">=4.0.5+d95b909"
  2048. }
  2049. ]
  2050. },
  2051. {
  2052. "v": "1",
  2053. "type": {
  2054. "name": "grok_pattern",
  2055. "version": "1"
  2056. },
  2057. "id": "7f128254-bc48-4047-baca-c034e257cd94",
  2058. "data": {
  2059. "name": "URIPROTO",
  2060. "pattern": "[A-Za-z]+(\\+[A-Za-z+]+)?"
  2061. },
  2062. "constraints": [
  2063. {
  2064. "type": "server-version",
  2065. "version": ">=4.0.5+d95b909"
  2066. }
  2067. ]
  2068. }
  2069. ]
  2070. }