Advertisement
Guest User

props.conf

a guest
Jan 11th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.15 KB | None | 0 0
  1. # Version 6.5.1
  2. # DO NOT EDIT THIS FILE!
  3. # Changes to default files will be lost on update and are difficult to
  4. # manage and support.
  5. #
  6. # Please make any changes to system defaults by overriding them in
  7. # apps or $SPLUNK_HOME/etc/system/local
  8. # (See "Configuration file precedence" in the web documentation).
  9. #
  10. # To override a specific setting, copy the name of the stanza and
  11. # setting to the file where you wish to override it.
  12. #
  13. # This file contains possible attribute/value pairs for configuring
  14. # Splunk's processing properties.
  15. #
  16.  
  17. [default]
  18. CHARSET = UTF-8
  19. LINE_BREAKER_LOOKBEHIND = 100
  20. TRUNCATE = 10000
  21. DATETIME_CONFIG = /etc/datetime.xml
  22. ANNOTATE_PUNCT = True
  23. HEADER_MODE =
  24. MAX_DAYS_HENCE=2
  25. MAX_DAYS_AGO=2000
  26. MAX_DIFF_SECS_AGO=3600
  27. MAX_DIFF_SECS_HENCE=604800
  28. MAX_TIMESTAMP_LOOKAHEAD = 128
  29. SHOULD_LINEMERGE = True
  30. BREAK_ONLY_BEFORE =
  31. BREAK_ONLY_BEFORE_DATE = True
  32. MAX_EVENTS = 256
  33. MUST_BREAK_AFTER =
  34. MUST_NOT_BREAK_AFTER =
  35. MUST_NOT_BREAK_BEFORE =
  36. TRANSFORMS =
  37. SEGMENTATION = indexing
  38. SEGMENTATION-all = full
  39. SEGMENTATION-inner = inner
  40. SEGMENTATION-outer = outer
  41. SEGMENTATION-raw = none
  42. SEGMENTATION-standard = standard
  43. LEARN_SOURCETYPE = true
  44. LEARN_MODEL = true
  45. maxDist = 100
  46. AUTO_KV_JSON = true
  47. detect_trailing_nulls = false
  48. sourcetype =
  49. priority =
  50.  
  51.  
  52. ########## APPLICATION SERVERS ##########
  53.  
  54. [log4j]
  55. BREAK_ONLY_BEFORE = \d\d?:\d\d:\d\d
  56. pulldown_type = true
  57. maxDist = 75
  58. category = Application
  59. description = Output produced by any Java 2 Enterprise Edition (J2EE) application server using log4j
  60.  
  61. [log4php]
  62. pulldown_type = true
  63. BREAK_ONLY_BEFORE = ^\w{3} \w{3}
  64. category = Application
  65. description = Output produced by a machine that runs the log4php logging utility
  66.  
  67. [weblogic_stdout]
  68. pulldown_type = true
  69. maxDist = 60
  70. MAX_TIMESTAMP_LOOKAHEAD = 32
  71. MAX_EVENTS = 2048
  72. REPORT-st = weblogic-code
  73. category = Application
  74. description = Output produced by the Oracle WebLogic Java EE application server
  75.  
  76. [websphere_activity]
  77. pulldown_type = true
  78. BREAK_ONLY_BEFORE = ^-----
  79. MAX_TIMESTAMP_LOOKAHEAD = 500
  80. REPORT-st = colon-line
  81. category = Application
  82. description = Activity logs produced by the Oracle WebLogic Java EE application server
  83.  
  84. [websphere_core]
  85. pulldown_type = true
  86. maxDist = 70
  87. BREAK_ONLY_BEFORE = ^NULL\s
  88. category = Application
  89. description = Output produced by the IBM WebSphere application server
  90.  
  91. [websphere_trlog]
  92. pulldown_type = true
  93. REPORT-st = was-trlog-code
  94. category = Application
  95. description = Trace output produced by the IBM WebSphere application server
  96.  
  97. [log4net_xml]
  98. maxDist = 75
  99. NO_BINARY_CHECK = 1
  100. SHOULD_LINEMERGE = true
  101. BREAK_ONLY_BEFORE = <log4net:event
  102. TIME_PREFIX = timestamp="
  103. MAX_EVENTS = 1000
  104. pulldown_type = 1
  105. category = Application
  106. description = An XML-formatted output of the Apache log4j framework to the Microsoft .NET runtime
  107.  
  108. [catalina]
  109. BREAK_ONLY_BEFORE_DATE = true
  110. SHOULD_LINEMERGE=true
  111. MAX_TIMESTAMP_LOOKAHEAD=30
  112. TIME_PREFIX = ^
  113. pulldown_type = 1
  114. category = Application
  115. description = Output produced by Apache Tomcat Catalina (System.out and System.err)
  116.  
  117. [ruby_on_rails]
  118. TIME_PREFIX = (for [\d\.]+ at\s)
  119. TIME_FORMAT = %Y-%m-%d %H:%M:%S %Z
  120. BREAK_ONLY_BEFORE = Processing
  121. pulldown_type = 1
  122. category = Application
  123. description = Output produced by a Ruby On Rails Web application framework
  124.  
  125. ########## ARCHIVES ##########
  126.  
  127. [preprocess-bzip]
  128. invalid_cause = archive
  129. is_valid = False
  130. LEARN_MODEL = false
  131.  
  132. [preprocess-Z]
  133. invalid_cause = archive
  134. is_valid = False
  135. LEARN_MODEL = false
  136.  
  137. [preprocess-gzip]
  138. invalid_cause = archive
  139. is_valid = False
  140. LEARN_MODEL = false
  141.  
  142. [preprocess-tar]
  143. invalid_cause = archive
  144. is_valid = False
  145. LEARN_MODEL = false
  146.  
  147. [preprocess-zip]
  148. invalid_cause = archive
  149. is_valid = False
  150. LEARN_MODEL = false
  151.  
  152. [preprocess-targz]
  153. invalid_cause = archive
  154. is_valid = False
  155. LEARN_MODEL = false
  156.  
  157. ########## DATABASES ##########
  158.  
  159. [db2_diag]
  160. pulldown_type = 1
  161. maxDist = 90
  162. REPORT-st = db2
  163. category = Database
  164. description = Diagnostic output produced by the IBM DB2 database server
  165.  
  166. [mysqld]
  167. pulldown_type = 1
  168. maxDist = 20
  169. BREAK_ONLY_BEFORE = ^\d{6}\s
  170. TIME_FORMAT = %y%m%d %k:%M:%S
  171. category = Database
  172. description = Output produced by the MySQL database server
  173.  
  174. [mysqld_error]
  175. pulldown_type = 1
  176. maxDist = 50
  177. MAX_EVENTS = 1024
  178. BREAK_ONLY_BEFORE = ^\d{6}\s
  179. category = Database
  180. description = Errors produced by the MySQL database server
  181.  
  182. [mysqld_bin]
  183. pulldown_type = 1
  184. maxDist = 20
  185. BREAK_ONLY_BEFORE = ^#\d{6}
  186. category = Database
  187. description = Binary log output produced by the MySQL database server
  188.  
  189. [mysql_slow]
  190. SHOULD_LINEMERGE = true
  191. TIME_FORMAT = Time: %y%m%d %k:%M:%S %Z
  192. BREAK_ONLY_BEFORE = #\sTime:\s\d{6}\s[\s\d]\d:\d\d:\d\d
  193. MAX_EVENTS = 512
  194. pulldown_type = 1
  195. category = Database
  196. description = Slow query log output produced by the MySQL database server
  197.  
  198. ########## EMAIL ##########
  199.  
  200. [exim_main]
  201. SHOULD_LINEMERGE = False
  202.  
  203. [exim_reject]
  204. SHOULD_LINEMERGE = False
  205.  
  206. [postfix_syslog]
  207. pulldown_type = 1
  208. MAX_TIMESTAMP_LOOKAHEAD = 32
  209. TIME_FORMAT = %b %d %H:%M:%S
  210. TRANSFORMS-host = syslog-host
  211. REPORT-syslog = syslog-extractions
  212. SHOULD_LINEMERGE = False
  213. category = Email
  214. description = Output produced by the Postfix email server
  215.  
  216. [sendmail_syslog]
  217. pulldown_type = 1
  218. MAX_TIMESTAMP_LOOKAHEAD = 32
  219. SHOULD_LINEMERGE = False
  220. TIME_FORMAT = %b %d %H:%M:%S
  221. TRANSFORMS = syslog-host
  222. REPORT-syslog = sendmail-extractions
  223. category = Email
  224. description = Output produced by the Sendmail email server
  225.  
  226. [procmail]
  227. pulldown_type = 1
  228. BREAK_ONLY_BEFORE = procmail: \[\d+\]
  229. MAX_TIMESTAMP_LOOKAHEAD = 64
  230. category = Email
  231. description = Output produced by the Procmail email server
  232.  
  233. ########## OSs ##########
  234.  
  235. [linux_messages_syslog]
  236. pulldown_type = 1
  237. MAX_TIMESTAMP_LOOKAHEAD = 32
  238. TIME_FORMAT = %b %d %H:%M:%S
  239. TRANSFORMS = syslog-host
  240. REPORT-syslog = syslog-extractions
  241. SHOULD_LINEMERGE = False
  242. category = Operating System
  243. description = Format found within the Linux log file /var/log/messages
  244.  
  245. [linux_secure]
  246. pulldown_type = 1
  247. REPORT-syslog = syslog-extractions
  248. SHOULD_LINEMERGE = False
  249. category = Operating System
  250. description = Format for the /var/log/secure file containing all security related messages on a Linux machine
  251.  
  252. [linux_audit]
  253. pulldown_type = 1
  254. BREAK_ONLY_BEFORE_DATE = False
  255. category = Operating System
  256. description = Output produced by the auditd system daemon used to track changes on a Linux machine
  257.  
  258. [linux_bootlog]
  259. BREAK_ONLY_BEFORE_DATE = False
  260.  
  261. [anaconda]
  262. BREAK_ONLY_BEFORE = ^\*
  263.  
  264. [anaconda_syslog]
  265. REPORT-syslog = syslog-extractions
  266. SHOULD_LINEMERGE = False
  267. TIME_FORMAT = %b %d %H:%M:%S
  268.  
  269. [osx_asl]
  270. BREAK_ONLY_BEFORE_DATE = False
  271. REPORT-asl = bracket-space
  272.  
  273. [osx_crashreporter]
  274. BREAK_ONLY_BEFORE_DATE = False
  275.  
  276. [osx_crash_log]
  277. BREAK_ONLY_BEFORE = gooblygook
  278. MAX_EVENTS = 200000
  279.  
  280. [osx_install]
  281. BREAK_ONLY_BEFORE_DATE = False
  282.  
  283. [osx_secure]
  284. BREAK_ONLY_BEFORE_DATE = False
  285.  
  286. [osx_daily]
  287. BREAK_ONLY_BEFORE = ^(Sun|Mon|Tue|Wed|Thu|Fri|Sat)
  288.  
  289. [osx_weekly]
  290. BREAK_ONLY_BEFORE = ^(Sun|Mon|Tue|Wed|Thu|Fri|Sat)
  291.  
  292. [osx_monthly]
  293. BREAK_ONLY_BEFORE = ^(Sun|Mon|Tue|Wed|Thu|Fri|Sat)
  294.  
  295. [osx_window_server]
  296. SHOULD_LINEMERGE = False
  297.  
  298. [windows_snare_syslog]
  299. pulldown_type = 1
  300. MAX_TIMESTAMP_LOOKAHEAD = 32
  301. TRANSFORMS = syslog-host
  302. REPORT-syslog = syslog-extractions
  303. SHOULD_LINEMERGE = False
  304. TIME_FORMAT = %b %d %H:%M:%S
  305. category = Operating System
  306. description = Output produced by the Snare syslog server on Windows
  307.  
  308. [dmesg]
  309. pulldown_type = 1
  310. BREAK_ONLY_BEFORE = ^\S
  311. DATETIME_CONFIG = NONE
  312. category = Operating System
  313. description = Output produced by the "dmesg" *nix command, printing the *nix kernel ring buffer
  314.  
  315. [ftp]
  316. pulldown_type = 0
  317. BREAK_ONLY_BEFORE_DATE = False
  318.  
  319. [ssl_error]
  320. pulldown_type = 0
  321. BREAK_ONLY_BEFORE_DATE = False
  322.  
  323. [syslog]
  324. pulldown_type = true
  325. maxDist = 3
  326. TIME_FORMAT = %b %d %H:%M:%S
  327. MAX_TIMESTAMP_LOOKAHEAD = 32
  328. TRANSFORMS = syslog-host
  329. REPORT-syslog = syslog-extractions
  330. SHOULD_LINEMERGE = False
  331. category = Operating System
  332. description = Output produced by many syslog daemons, as described in RFC3164 by the IETF
  333.  
  334. [sar]
  335. ; break on blanklines, clock-resets, or common headers attributes (/s, %, or alpha-)
  336. BREAK_ONLY_BEFORE = (?:^\s*$)|00:00:0|/s|%|[a-z]-
  337. MAX_EVENTS = 1000
  338.  
  339. [rpmpkgs]
  340. BREAK_ONLY_BEFORE_DATE = False
  341. LEARN_MODEL = false
  342.  
  343. ########## NETWORK ##########
  344.  
  345. [novell_groupwise]
  346. SHOULD_LINEMERGE = False
  347. MAX_TIMESTAMP_LOOKAHEAD = 9
  348. TRANSFORMS-nov = novell-groupwise-arrival,novell-groupwise-queue,novell-groupwise-transfer
  349.  
  350. [tcp]
  351. BREAK_ONLY_BEFORE = (=\+)+
  352. KV_MODE = none
  353. REPORT-tcp = tcpdump-endpoints, colon-kv
  354.  
  355. ########## PRINTERS ##########
  356.  
  357. [cups_access]
  358. BREAK_ONLY_BEFORE_DATE = False
  359.  
  360. [cups_error]
  361. BREAK_ONLY_BEFORE_DATE = False
  362.  
  363. [spooler]
  364. BREAK_ONLY_BEFORE_DATE = False
  365.  
  366. ########## ROUTERS AND FIREWALLS ##########
  367.  
  368. [cisco_cdr]
  369. maxDist = 1
  370. SHOULD_LINEMERGE = False
  371.  
  372. [cisco_syslog]
  373. pulldown_type = 0
  374. MAX_TIMESTAMP_LOOKAHEAD = 32
  375. SHOULD_LINEMERGE = False
  376. TIME_FORMAT = %b %d %H:%M:%S
  377. TRANSFORMS = syslog-host
  378. REPORT-syslog = syslog-extractions
  379.  
  380. [cisco:asa]
  381. SHOULD_LINEMERGE = false
  382. pulldown_type = 1
  383. category = Network & Security
  384. description = Output produced by the Cisco Adaptive Security Appliance (ASA) Firewall
  385.  
  386. [clavister]
  387. SHOULD_LINEMERGE = False
  388.  
  389. ########## VoIP ##########
  390.  
  391.  
  392. [asterisk_cdr]
  393. MAX_TIMESTAMP_LOOKAHEAD = 256
  394. SHOULD_LINEMERGE = False
  395.  
  396. [asterisk_event]
  397. maxDist = 3
  398. SHOULD_LINEMERGE = False
  399.  
  400. [asterisk_messages]
  401. SHOULD_LINEMERGE = False
  402.  
  403. [asterisk_queue]
  404. SHOULD_LINEMERGE = False
  405.  
  406. ########## WEBSERVERS ##########
  407.  
  408. [access_combined]
  409. pulldown_type = true
  410. maxDist = 28
  411. MAX_TIMESTAMP_LOOKAHEAD = 128
  412. REPORT-access = access-extractions
  413. SHOULD_LINEMERGE = False
  414. TIME_PREFIX = \[
  415. category = Web
  416. description = National Center for Supercomputing Applications (NCSA) combined format HTTP web server logs (can be generated by apache or other web servers)
  417.  
  418. [access_combined_wcookie]
  419. MAX_TIMESTAMP_LOOKAHEAD = 128
  420. REPORT-access = access-extractions
  421. SHOULD_LINEMERGE = False
  422. TIME_PREFIX = \[
  423.  
  424. [access_common]
  425. MAX_TIMESTAMP_LOOKAHEAD = 128
  426. REPORT-access = access-extractions
  427. SHOULD_LINEMERGE = False
  428. TIME_PREFIX = \[
  429.  
  430. [apache_error]
  431. pulldown_type = true
  432. maxDist = 50
  433. MAX_TIMESTAMP_LOOKAHEAD = 128
  434. BREAK_ONLY_BEFORE = ^\[
  435. TIME_FORMAT = [%A %B %d %T %Y]
  436. category = Web
  437. description = Error log format produced by the Apache web server (typically error_log on *nix systems)
  438.  
  439. [iis]
  440. pulldown_type = true
  441. MAX_TIMESTAMP_LOOKAHEAD = 32
  442. SHOULD_LINEMERGE = False
  443. INDEXED_EXTRACTIONS = w3c
  444. detect_trailing_nulls = auto
  445. category = Web
  446. description = W3C Extended log format produced by the Microsoft Internet Information Services (IIS) web server
  447.  
  448.  
  449. ########## MISC ##########
  450.  
  451. [snort]
  452. pulldown_type = true
  453. BREAK_ONLY_BEFORE = (=\+)+
  454. KV_MODE = none
  455. REPORT-tcp = tcpdump-endpoints, colon-kv
  456. category = Network & Security
  457. description = Output produced by the Snort network intrusion detection/prevention application
  458.  
  459. ########## SPLUNK ##########
  460.  
  461. [splunk_com_php_error]
  462. maxDist = 70
  463. MAX_TIMESTAMP_LOOKAHEAD = 40
  464.  
  465. [splunkd]
  466. MAX_TIMESTAMP_LOOKAHEAD = 40
  467. # splunkd TIME_FORMAT should be kept in synch with
  468. # - etc/log.cfg
  469. # - src/framework/SplunkdTimestamp.cpp
  470. # This format won't, of course, match all older forwarders, but regex fallback
  471. # will handle those cases
  472. TIME_FORMAT = %m-%d-%Y %H:%M:%S.%l %z
  473. # logs from old forwarders (4.1 and prior) will not match the TIME_FORMAT, due to a lack of timezone.
  474. # This will cause some events to be merged.
  475. # Disable multiline support to get these case right.
  476. # Splunkd data prior to 5.0 can have multiline events, but it is quite rare
  477. # (debug output and bugs mostly), and 5.0+ explicitly disallows generating such
  478. SHOULD_LINEMERGE = false
  479.  
  480. [splunkd_crash_log]
  481. SHOULD_LINEMERGE = True
  482. MUST_BREAK_AFTER = ^(?i)terminating\.\.\.
  483. MAX_TIMESTAMP_LOOKAHEAD = 1
  484. DATETIME_CONFIG = NONE
  485. MAX_EVENTS = 2048
  486.  
  487. [splunkd_misc]
  488. SHOULD_LINEMERGE = False
  489. MAX_TIMESTAMP_LOOKAHEAD = 1
  490.  
  491. [splunkd_stderr]
  492. TIME_FORMAT = %m-%d-%Y %T.%Q %z
  493. SHOULD_LINEMERGE = False
  494. MAX_TIMESTAMP_LOOKAHEAD = 40
  495.  
  496. [splunk-blocksignature]
  497. SEGMENTATION = whitespace-only
  498. MAX_TIMESTAMP_LOOKAHEAD = 40
  499.  
  500. [splunk_directory_monitor]
  501. MAX_TIMESTAMP_LOOKAHEAD = 40
  502.  
  503. [splunk_directory_monitor_misc]
  504. MAX_TIMESTAMP_LOOKAHEAD = 40
  505.  
  506. [splunk_search_history]
  507. BREAK_ONLY_BEFORE = ^\d
  508. MAX_TIMESTAMP_LOOKAHEAD = 40
  509.  
  510. [splunkd_remote_searches]
  511. MAX_TIMESTAMP_LOOKAHEAD = 40
  512. TIME_FORMAT = %m-%d-%Y %H:%M:%S.%l %z
  513. SHOULD_LINEMERGE = false
  514.  
  515. [splunkd_access]
  516. maxDist = 28
  517. MAX_TIMESTAMP_LOOKAHEAD = 128
  518. REPORT-access = access-extractions, extract_spent
  519. SHOULD_LINEMERGE = False
  520. TIME_PREFIX = \[
  521.  
  522. [splunkd_ui_access]
  523. maxDist = 28
  524. MAX_TIMESTAMP_LOOKAHEAD = 128
  525. REPORT-access = access-extractions, extract_spent
  526. SHOULD_LINEMERGE = False
  527. TIME_PREFIX = \[
  528.  
  529. [splunk_web_access]
  530. maxDist = 28
  531. MAX_TIMESTAMP_LOOKAHEAD = 128
  532. REPORT-access = access-extractions
  533. SHOULD_LINEMERGE = False
  534. TIME_PREFIX = \[
  535. EXTRACT-extract_spent = \s(?<spent>\d+(\.\d+)?)ms$
  536.  
  537. [splunk_web_service]
  538. MAX_TIMESTAMP_LOOKAHEAD = 40
  539. REPORT-fields = splunk-service-extractions
  540.  
  541. [splunkd_conf]
  542. SHOULD_LINEMERGE = false
  543. TIMESTAMP_FIELDS = datetime
  544. TIME_FORMAT = %m-%d-%Y %H:%M:%S.%l %z
  545. INDEXED_EXTRACTIONS = json
  546. KV_MODE = none
  547.  
  548. [django_access]
  549. maxDist = 28
  550. MAX_TIMESTAMP_LOOKAHEAD = 128
  551. REPORT-access = access-extractions
  552. SHOULD_LINEMERGE = False
  553. TIME_PREFIX = \[
  554. EXTRACT-extract_spent = \s(?<spent>\d+(\.\d+)?)ms$
  555.  
  556. [django_service]
  557. MAX_TIMESTAMP_LOOKAHEAD = 40
  558. TRUNCATE=100000
  559.  
  560. [django_error]
  561. MAX_TIMESTAMP_LOOKAHEAD = 40
  562. TRUNCATE=100000
  563.  
  564. [splunk_help]
  565. BREAK_ONLY_BEFORE = gooblygook
  566. MAX_EVENTS = 200000
  567. TRANSFORMS-help = splunk_help
  568.  
  569. [mongod]
  570. TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N%Z
  571. SHOULD_LINEMERGE = False
  572. MAX_TIMESTAMP_LOOKAHEAD = 40
  573.  
  574. [source::.../var/log/splunk/searchhistory.log(.\d+)?]
  575. TRANSFORMS = splunk_index_history
  576. sourcetype = splunk_search_history
  577.  
  578. [source::.../var/log/splunk/(web|report)_access(-\d+)?.log(.\d+)?]
  579. sourcetype = splunk_web_access
  580.  
  581. [source::.../var/log/splunk/(web|report)_service(-\d+)?.log(.\d+)?]
  582. sourcetype = splunk_web_service
  583.  
  584. [source::.../var/log/splunk/metrics.log(.\d+)?]
  585. sourcetype = splunkd
  586.  
  587. [source::.../var/log/splunk/license_usage(|_summary).log(.\d+)?]
  588. sourcetype = splunkd
  589.  
  590. [source::.../var/log/splunk/django_access.log(.\d+)?]
  591. sourcetype = django_access
  592.  
  593. [source::.../var/log/splunk/django_service.log(.\d+)?]
  594. sourcetype = django_service
  595.  
  596. [source::.../var/log/splunk/django_error.log(.\d+)?]
  597. sourcetype = django_error
  598.  
  599. [source::.../splunkd.log(.\d+)?]
  600. sourcetype = splunkd
  601.  
  602. [source::.../var/log/splunk/splunkd-utility.log(.\d+)?]
  603. sourcetype = splunkd
  604.  
  605. [source::.../var/log/splunk/scheduler.log(.\d+)?]
  606. sourcetype = scheduler
  607.  
  608. [source::.../var/log/splunk/audit.log(.\d+)?]
  609. TRANSFORMS = send_to_nullqueue
  610. sourcetype = splunk_audit
  611.  
  612. [source::.../var/log/splunk/btool.log(.\d+)?]
  613. sourcetype = splunk_btool
  614.  
  615. [source::.../var/log/splunk/intentions.log(.\d+)?]
  616. sourcetype = splunk_intentions
  617.  
  618. [source::.../var/log/splunk/python.log(.\d+)?]
  619. sourcetype = splunk_python
  620.  
  621. [source::.../var/log/splunk/searches.log]
  622. sourcetype = searches
  623.  
  624. [source::.../var/log/splunk/splunk_stdout.log]
  625. sourcetype = splunkd_stdout
  626.  
  627. [source::.../var/log/splunk/splunkd_stderr.log]
  628. sourcetype = splunkd_stderr
  629.  
  630. [source::.../var/log/splunk/*crash-*.log]
  631. sourcetype = splunkd_crash_log
  632.  
  633. [source::.../var/log/splunk/migration.log.*]
  634. sourcetype = splunk_migration
  635.  
  636. [source::.../var/log/splunk/remote_searches.log(.\d+)?]
  637. sourcetype = splunkd_remote_searches
  638.  
  639. [source::.../splunkd_access.log(.\d+)?]
  640. sourcetype = splunkd_access
  641.  
  642. [source::.../splunkd_ui_access.log(.\d+)?]
  643. sourcetype = splunkd_ui_access
  644.  
  645. [source::.../var/log/splunk/conf.log(.\d+)?]
  646. sourcetype = splunkd_conf
  647.  
  648. [source::.../var/log/splunk/mongod.log(.\d+)?]
  649. sourcetype = mongod
  650.  
  651. ########## SPECIAL ##########
  652.  
  653. [__singleline]
  654. SHOULD_LINEMERGE = False
  655.  
  656. [too_small]
  657. maxDist = 9999
  658. BREAK_ONLY_BEFORE_DATE = True
  659. PREFIX_SOURCETYPE = True
  660.  
  661. ; same as too_small but for larger text that has special characters
  662. [breakable_text]
  663. BREAK_ONLY_BEFORE = (^(?:---|===|\*\*\*|___|=+=))|^\s*$
  664. LEARN_MODEL = false
  665.  
  666. [lastlog]
  667. invalid_cause = binary
  668. LEARN_MODEL = false
  669.  
  670. [wtmp]
  671. invalid_cause = binary
  672. LEARN_MODEL = false
  673.  
  674. [known_binary]
  675. is_valid = False
  676. invalid_cause = binary
  677. LEARN_MODEL = false
  678.  
  679. [ignored_type]
  680. is_valid = False
  681. invalid_cause = ignored_type
  682. LEARN_MODEL = false
  683.  
  684. [stash]
  685. TRUNCATE = 0
  686. # only look for ***SPLUNK*** on the first line
  687. HEADER_MODE = firstline
  688. # we can summary index past data, but rarely future data
  689. MAX_DAYS_HENCE = 2
  690. MAX_DAYS_AGO = 10000
  691. # 5 years difference between two events
  692. MAX_DIFF_SECS_AGO = 155520000
  693. MAX_DIFF_SECS_HENCE = 155520000
  694. MAX_TIMESTAMP_LOOKAHEAD = 64
  695. LEARN_MODEL = false
  696. # search time extractions
  697. KV_MODE = none
  698. REPORT-1 = stash_extract
  699.  
  700. [stash_new]
  701. TRUNCATE = 0
  702. # only look for ***SPLUNK*** on the first line
  703. HEADER_MODE = firstline
  704. # we can summary index past data, but rarely future data
  705. MAX_DAYS_HENCE = 2
  706. MAX_DAYS_AGO = 10000
  707. # 5 years difference between two events
  708. MAX_DIFF_SECS_AGO = 155520000
  709. MAX_DIFF_SECS_HENCE = 155520000
  710. MAX_TIMESTAMP_LOOKAHEAD = 64
  711. LEARN_MODEL = false
  712. # break .stash_new custom format into events
  713. SHOULD_LINEMERGE = false
  714. BREAK_ONLY_BEFORE_DATE = false
  715. LINE_BREAKER = (\r?\n==##~~##~~ 1E8N3D4E6V5E7N2T9 ~~##~~##==\r?\n)
  716. # change sourcetype to stash before indexing/forwarding this data (these events
  717. # are feed to the stashparsing pipeline)
  718. TRANSFORMS-sourcetype = set_sourcetype_to_stash
  719.  
  720.  
  721.  
  722. ########## NON-LOG FILES ##########
  723.  
  724. # settings copied from zip
  725. [source_archive]
  726. invalid_cause = needs_preprocess
  727. is_valid = False
  728. LEARN_MODEL = false
  729.  
  730. [web]
  731. BREAK_ONLY_BEFORE=goblygook
  732. MAX_EVENTS=200000
  733. DATETIME_CONFIG = NONE
  734. CHECK_METHOD = modtime
  735. LEARN_MODEL = false
  736.  
  737. [backup_file]
  738. BREAK_ONLY_BEFORE=goblygook
  739. MAX_EVENTS=10000
  740. LEARN_MODEL = false
  741.  
  742. [manpage]
  743. BREAK_ONLY_BEFORE = gooblygook
  744. MAX_EVENTS = 200000
  745. DATETIME_CONFIG = NONE
  746. CHECK_METHOD = modtime
  747. LEARN_MODEL = false
  748.  
  749. [misc_text]
  750. BREAK_ONLY_BEFORE=goblygook
  751. MAX_EVENTS=200000
  752. DATETIME_CONFIG = NONE
  753. CHECK_METHOD = modtime
  754. pulldown_type = false
  755. LEARN_MODEL = false
  756.  
  757. [csv]
  758. SHOULD_LINEMERGE = False
  759. pulldown_type = true
  760. INDEXED_EXTRACTIONS = csv
  761. KV_MODE = none
  762. category = Structured
  763. description = Comma-separated value format. Set header and other settings in "Delimited Settings"
  764.  
  765. [psv]
  766. SHOULD_LINEMERGE = False
  767. pulldown_type = true
  768. INDEXED_EXTRACTIONS = psv
  769. FIELD_DELIMITER=|
  770. HEADER_FIELD_DELIMITER=|
  771. KV_MODE = none
  772. category = Structured
  773. description = Pipe-separated value format. Set header and other settings in "Delimited Settings"
  774.  
  775. [tsv]
  776. SHOULD_LINEMERGE = False
  777. pulldown_type = true
  778. INDEXED_EXTRACTIONS = tsv
  779. FIELD_DELIMITER=tab
  780. HEADER_FIELD_DELIMITER=tab
  781. KV_MODE = none
  782. category = Structured
  783. description = Tab-separated value format. Set header and other settings in "Delimited Settings"
  784.  
  785. [_json]
  786. pulldown_type = true
  787. INDEXED_EXTRACTIONS = json
  788. KV_MODE = none
  789. category = Structured
  790. description = JavaScript Object Notation format. For more information, visit http://json.org/
  791.  
  792. [json_no_timestamp]
  793. BREAK_ONLY_BEFORE = ^{
  794. DATETIME_CONFIG = CURRENT
  795. MAX_TIMESTAMP_LOOKAHEAD = 800
  796. pulldown_type = 1
  797. category = Structured
  798. description = A variant of the JSON source type, with support for nonexistent timestamps
  799.  
  800. [fs_notification]
  801. SHOULD_LINEMERGE=false
  802.  
  803. [exchange]
  804. INDEXED_EXTRACTIONS = w3c
  805. KV_MODE = none
  806.  
  807. [generic_single_line]
  808. TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N %Z
  809. SHOULD_LINEMERGE = false
  810. pulldown_type = 1
  811. category = Miscellaneous
  812. description = A common log format with a predefined timestamp. Customize timestamp in "Timestamp" options
  813.  
  814.  
  815.  
  816. ########## RULE BASED CONDITIONS ##########
  817.  
  818. [rule::snort]
  819. sourcetype = snort
  820. # IF MORE THAN 5% OF LINES MATCH REGEX, MUST BE THIS TYPE
  821. MORE_THAN_1 = (=\+)+
  822. MORE_THAN_10 = (?:[0-9A-F]{2} ){16}
  823.  
  824. [rule::exim_main]
  825. sourcetype = exim_main
  826. # MORE THAN 2% HAVE <=, =>, 'queue'
  827. MORE_THANA_2 = <=
  828. MORE_THANB_2 = =>
  829. MORE_THANC_2 = queue
  830.  
  831. [rule::postfix_syslog]
  832. sourcetype = postfix_syslog
  833. # IF 75% OF LINES MATCH REGEX, MUST BE THIS TYPE
  834. MORE_THAN_75 = ^\w{3} +\d+ \d\d:\d\d:\d\d .* postfix(/\w+)?\[\d+\]:
  835.  
  836. [rule::sendmail_syslog]
  837. sourcetype = sendmail_syslog
  838. # IF 75% OF LINES MATCH REGEX, MUST BE THIS TYPE
  839. MORE_THAN_75 = ^\w{3} +\d+ \d\d:\d\d:\d\d .* (sendmail|imapd|ipop3d)\[\d+\]:
  840.  
  841. [rule::access_common]
  842. sourcetype = access_common
  843. MORE_THAN_75 = ^\S+ \S+ \S+ \[[^\]]+\] "[^"]+" \S+ \S+$
  844.  
  845. [rule::access_combined]
  846. sourcetype = access_combined
  847. MORE_THAN_75 = ^\S+ \S+ \S+ \S* ?\[[^\]]+\] "[^"]*" \S+ \S+ \S+ "[^"]*"$
  848.  
  849. [rule::access_combined_wcookie]
  850. sourcetype = access_combined_wcookie
  851. # more restrictive version = ^\S+ \S+ \S+ \S* ?\[[^\]]+\] "[^"]*" \S+ \S+ \S+ "[^"]*" "[^"]*"$
  852. MORE_THAN_75 = ^\S+ \S+ \S+ \S* ?\[[^\]]+\] "[^"]*" \S+ \S+(?: \S+)? "[^"]*" "[^"]*"
  853.  
  854. ### DELAYED RULE BASED CONDITIONS. RUN AS LAST DITCH EFFORT BEFORE MAKING A NEW SOURCETYPE ###
  855.  
  856. # break text on ascii art and blanklines if more than 10% of lines
  857. # have ascii art or blanklines, and less than 10% have timestamps
  858. [delayedrule::breakable_text]
  859. MORE_THAN_10 = (^(?:---|===|\*\*\*|___|=+=))|^\s*$
  860. LESS_THAN_10 = [: ][012]?[0-9]:[0-5][0-9]
  861. sourcetype = breakable_text
  862.  
  863. [delayedrule::syslog]
  864. sourcetype = syslog
  865. # IF MORE THAN 80% OF LINES MATCH REGEX, MUST BE THIS TYPE
  866. MORE_THAN_80 = ^\w{3} +\d+ \d\d:\d\d:\d\d (?!AM|PM)[\w\-.]+ [\w\-/.]+(\[\d+\])?:
  867.  
  868. ########## FILE MATCH CONDITIONS ##########
  869.  
  870. [source::.../var/log/anaconda.syslog(.\d+)?]
  871. sourcetype = anaconda_syslog
  872.  
  873. [source::.../var/log/anaconda.log(.\d+)?]
  874. sourcetype = anaconda
  875.  
  876. [source::.../var/log/httpd/error_log(.\d+)?]
  877. sourcetype = apache_error
  878.  
  879. [source::.../var/log/cups/access_log(.\d+)?]
  880. sourcetype = cups_access
  881.  
  882. [source::.../var/log/cups/error_log(.\d+)?]
  883. sourcetype = cups_error
  884.  
  885. [source::.../var/log/dmesg(.\d+)?]
  886. sourcetype = dmesg
  887.  
  888. [source::.../var/log/ftp.log(.\d+)?]
  889. sourcetype = ftp
  890.  
  891. [source::.../(u_|)ex(tend|\d{4,8})*?.log]
  892. sourcetype = iis
  893.  
  894. [source::.../var/log/lastlog(.\d+)?]
  895. sourcetype = lastlog
  896.  
  897. [source::.../var/log/audit/audit.log(.\d+)?]
  898. sourcetype = linux_audit
  899.  
  900. [source::.../var/log/boot.log(.\d+)?]
  901. sourcetype = linux_bootlog
  902.  
  903. [source::.../var/log/secure(.\d+)?]
  904. sourcetype = linux_secure
  905.  
  906. [source::.../man/man\d+/*.\d+]
  907. sourcetype = manpage
  908.  
  909. [source::.../var/log/asl.log(.\d+)?]
  910. sourcetype = osx_asl
  911.  
  912. [source::.../var/log/crashreporter.log(.\d+)?]
  913. sourcetype = osx_crashreporter
  914.  
  915. [source::....crash.log(.\d+)?]
  916. sourcetype = osx_crash_log
  917.  
  918. [source::.../var/log/install.log(.\d+)?]
  919. sourcetype = osx_install
  920.  
  921. [source::.../var/log/secure.log(.\d+)?]
  922. sourcetype = osx_secure
  923.  
  924. [source::.../var/log/daily.out(.\d+)?]
  925. sourcetype = osx_daily
  926.  
  927. [source::.../var/log/weekly.out(.\d+)?]
  928. sourcetype = osx_weekly
  929.  
  930. [source::.../var/log/monthly.out(.\d+)?]
  931. sourcetype = osx_monthly
  932.  
  933. [source::.../private/var/log/windowserver.log(.\d+)?]
  934. sourcetype = osx_window_server
  935.  
  936. [source::....Z(.\d+)?]
  937. unarchive_cmd = gzip -cd -
  938. sourcetype = preprocess-Z
  939. NO_BINARY_CHECK = true
  940.  
  941. [source::....(tbz|tbz2)(.\d+)?]
  942. unarchive_cmd = _auto
  943. sourcetype = preprocess-bzip
  944. NO_BINARY_CHECK = true
  945.  
  946. [source::....bz2?(.\d+)?]
  947. unarchive_cmd = bzip2 -cd -
  948. sourcetype = preprocess-bzip
  949. NO_BINARY_CHECK = true
  950.  
  951. [source::....(?<!tar.)gz(.\d+)?]
  952. unarchive_cmd = gzip -cd -
  953. sourcetype = preprocess-gzip
  954. NO_BINARY_CHECK = true
  955.  
  956. [source::....(tar.gz|tgz)(.\d+)?]
  957. unarchive_cmd = _auto
  958. sourcetype = preprocess-targz
  959. NO_BINARY_CHECK = true
  960.  
  961. [source::....tar(.\d+)?]
  962. unarchive_cmd = _auto
  963. sourcetype = preprocess-tar
  964. NO_BINARY_CHECK = true
  965.  
  966. [(?i)source::....zip(.\d+)?]
  967. unarchive_cmd = _auto
  968. sourcetype = preprocess-zip
  969. NO_BINARY_CHECK = true
  970.  
  971. [source::.../var/log/rpmpkgs(.\d+)?]
  972. sourcetype = rpmpkgs
  973.  
  974. [source::.../var/log/sa/sar\d+]
  975. sourcetype = sar
  976.  
  977. [source::.../var/log/spooler(.\d+)?]
  978. sourcetype = spooler
  979.  
  980. [source::.../var/log/httpd/httpd/ssl_error_log(.\d+)?]
  981. sourcetype = ssl_error
  982.  
  983. [source::.../messages(.\d+)?]
  984. sourcetype = syslog
  985.  
  986. [source::.../syslog(.\d+)?]
  987. sourcetype = syslog
  988.  
  989. #[source::.../(www|apache|httpd).../access*]
  990. #sourcetype = access_common
  991.  
  992. [source::.../(apache|httpd).../error*]
  993. sourcetype = apache_error
  994.  
  995. [source::.../private/var/log/system.log(.\d+)?]
  996. sourcetype = syslog
  997.  
  998. [source::.../private/var/log/mail.log(.\d+)?]
  999. sourcetype = syslog
  1000.  
  1001. [source::.../var/log/wtmp(.\d+)?]
  1002. sourcetype = wtmp
  1003.  
  1004. [source::.../procmail(_|.)log]
  1005. sourcetype = procmail
  1006.  
  1007. [source::.../mysql.log(.\d+)?]
  1008. sourcetype = mysqld
  1009.  
  1010. [source::...stash]
  1011. sourcetype = stash
  1012.  
  1013. [source::...stash_new]
  1014. sourcetype = stash_new
  1015.  
  1016.  
  1017. ####### NON-LOG FILES
  1018.  
  1019. [source::....(jar)(.\d+)?]
  1020. sourcetype = source_archive
  1021.  
  1022. [source::....(css|htm|html|sgml|shtml|template)]
  1023. sourcetype = web
  1024.  
  1025. [source::....csv]
  1026. sourcetype = csv
  1027.  
  1028. [source::...((.(bak|old))|,v|~|#)]
  1029. sourcetype = ignored_type
  1030.  
  1031.  
  1032. [source::.../(readme|README)...]
  1033. sourcetype=misc_text
  1034.  
  1035. [source::....(0t|a|ali|asa|au|bmp|cg|cgi|class|d|dat|deb|del|dot|dvi|dylib|elc|eps|exe|ftn|gif|hlp|hqx|hs|icns|ico|inc|iso|jame|jin|jpeg|jpg|kml|la|lhs|lib|lo|lock|mcp|mid|mp3|mpg|msf|nib|o|obj|odt|ogg|ook|opt|os|pal|pbm|pdf|pem|pgm|plo|png|po|pod|pp|ppd|ppm|ppt|prc|ps|psd|psym|pyc|pyd|rast|rb|rde|rdf|rdr|rgb|ro|rpm|rsrc|so|ss|stg|strings|tdt|tif|tiff|tk|uue|vhd|xbm|xlb|xls|xlw)]
  1036. sourcetype = known_binary
  1037.  
  1038. [source::....(cache|class|cxx|dylib|jar|lo|xslt|md5|rpm|deb|iso|vim)]
  1039. sourcetype = ignored_type
  1040.  
  1041.  
  1042. # internal sourcetype used in the fish bucket
  1043. [fileTrackerCrcLog]
  1044. SEGMENTATION = meta-tokenizer
  1045. KV_MODE = none
  1046. EXTRACT-1 = (?<_KEY_1>\S+)::(?<_VAL_1>\S+)
  1047.  
  1048. # MySQL example.
  1049. # See the Splunker's Guide for Splunk.com
  1050. # for the myunbinit script and sample MySQL setup
  1051. # This example is commented out.
  1052. #
  1053. # [mysql]
  1054. # match_filename1 = *.bin
  1055. # invalid_cause = needs_preprocess
  1056. # is_valid = False
  1057. #
  1058.  
  1059. # Dealing with all windows type data, even when we're a unix
  1060. # platform, incase these types of data is forwarded by a windows
  1061. # light weight forwarder
  1062. [ActiveDirectory]
  1063. SHOULD_LINEMERGE = false
  1064. LINE_BREAKER = ([\r\n]+---splunk-admon-end-of-event---\r\n[\r\n]*)
  1065. EXTRACT-GUID = (?i)(?!=\w)(?:objectguid|guid)\s*=\s*(?<guid_lookup>[\w\-]+)
  1066. EXTRACT-SID = objectSid\s*=\s*(?<sid_lookup>\S+)
  1067. REPORT-MESSAGE = ad-kv
  1068. # some schema AD events may be very long
  1069. MAX_EVENTS = 10000
  1070. TRUNCATE = 100000
  1071.  
  1072. [WinRegistry]
  1073. DATETIME_CONFIG=NONE
  1074. LINE_BREAKER = ([\r\n]+---splunk-regmon-end-of-event---\r\n[\r\n]*)
  1075.  
  1076. [WinWinHostMon]
  1077. DATETIME_CONFIG=NONE
  1078. SHOULD_LINEMERGE = false
  1079.  
  1080. [WinPrintMon]
  1081. DATETIME_CONFIG=NONE
  1082. SHOULD_LINEMERGE = false
  1083.  
  1084. [wmi]
  1085. SHOULD_LINEMERGE = false
  1086. LINE_BREAKER = ([\r\n]+---splunk-wmi-end-of-event---\r\n[\r\n]*)
  1087. CHARSET = UTF-8
  1088.  
  1089. [source::WMI...]
  1090. REPORT-MESSAGE = wel-message, wel-eq-kv, wel-col-kv
  1091. TRANSFORMS-FIELDS = wmi-host, wmi-override-host
  1092. SHOULD_LINEMERGE = false
  1093.  
  1094. [source::WinEventLog...]
  1095. REPORT-MESSAGE = wel-message, wel-eq-kv, wel-col-kv
  1096. KV_MODE=none
  1097. # Note the below settings are effectively legacy, in place here to handle
  1098. # data coming from much much older forwarders (3.x & 4.x)
  1099. SHOULD_LINEMERGE = false
  1100. MAX_TIMESTAMP_LOOKAHEAD=30
  1101. LINE_BREAKER = ([\r\n](?=\d{2}/\d{2}/\d{2,4} \d{2}:\d{2}:\d{2} [aApPmM]{2}))
  1102. TRANSFORMS-FIELDS = strip-winevt-linebreaker
  1103.  
  1104. [PerformanceMonitor]
  1105. SHOULD_LINEMERGE = false
  1106. LINE_BREAKER = ([\r\n]+---splunk-perfmon-end-of-event---\r\n[\r\n]*)
  1107. REPORT-MESSAGE = perfmon-kv
  1108.  
  1109.  
  1110. [source::PerfmonMk...]
  1111. EXTRACT-collection,category,object = collection=\"?(?P<collection>[^\"\n]+)\"?\ncategory=\"?(?P<category>[^\"\n]+)\"?\nobject=\"?(?P<object>[^\"\n]+)\"?\n
  1112. KV_MODE = multi_PerfmonMk
  1113. NO_BINARY_CHECK = 1
  1114. pulldown_type = 1
  1115.  
  1116. [WinNetMonMk]
  1117. KV_MODE = multi_WinNetMonMk
  1118. NO_BINARY_CHECK = 1
  1119. pulldown_type = 0
  1120.  
  1121. [source::.../disk_objects.log(.\d+)?]
  1122. sourcetype = splunk_disk_objects
  1123.  
  1124. [source::.../resource_usage.log(.\d+)?]
  1125. sourcetype = splunk_resource_usage
  1126.  
  1127. [source::.../kvstore.log(.\d+)?]
  1128. sourcetype = kvstore
  1129.  
  1130. [source::.../token_input_metrics.log(.\d+)?]
  1131. sourcetype = token_endpoint_metrics
  1132.  
  1133. [source::.../http_event_collector_metrics.log(.\d+)?]
  1134. sourcetype = http_event_collector_metrics
  1135.  
  1136. [splunk_disk_objects]
  1137. SHOULD_LINEMERGE = false
  1138. TIMESTAMP_FIELDS = datetime
  1139. TIME_FORMAT = %m-%d-%Y %H:%M:%S.%l %z
  1140. INDEXED_EXTRACTIONS = json
  1141. KV_MODE = none
  1142. JSON_TRIM_BRACES_IN_ARRAY_NAMES = true
  1143.  
  1144. [splunk_resource_usage]
  1145. SHOULD_LINEMERGE = false
  1146. TIMESTAMP_FIELDS = datetime
  1147. TIME_FORMAT = %m-%d-%Y %H:%M:%S.%l %z
  1148. INDEXED_EXTRACTIONS = json
  1149. KV_MODE = none
  1150. JSON_TRIM_BRACES_IN_ARRAY_NAMES = true
  1151.  
  1152. [kvstore]
  1153. SHOULD_LINEMERGE = false
  1154. TIMESTAMP_FIELDS = datetime
  1155. TIME_FORMAT = %m-%d-%Y %H:%M:%S.%l %z
  1156. INDEXED_EXTRACTIONS = json
  1157. KV_MODE = none
  1158. TRUNCATE = 1000000
  1159. JSON_TRIM_BRACES_IN_ARRAY_NAMES = true
  1160.  
  1161. [token_input_metrics]
  1162. SHOULD_LINEMERGE = false
  1163. TIMESTAMP_FIELDS = datetime
  1164. TIME_FORMAT = %m-%d-%Y %H:%M:%S.%l %z
  1165. INDEXED_EXTRACTIONS = json
  1166. KV_MODE = none
  1167. JSON_TRIM_BRACES_IN_ARRAY_NAMES = true
  1168.  
  1169. [http_event_collector_metrics]
  1170. SHOULD_LINEMERGE = false
  1171. TIMESTAMP_FIELDS = datetime
  1172. TIME_FORMAT = %m-%d-%Y %H:%M:%S.%l %z
  1173. INDEXED_EXTRACTIONS = json
  1174. KV_MODE = none
  1175. JSON_TRIM_BRACES_IN_ARRAY_NAMES = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement