Guest User

Untitled

a guest
Apr 30th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.81 KB | None | 0 0
  1. ###############################################################################
  2. ############################# Winlogbeat ######################################
  3. winlogbeat:
  4. # The registry file is where Winlogbeat persists its state so that the beat
  5. # can resume after shutdown or an outage. The default is .winlogbeat.yml
  6. # in the directory in which it was started.
  7. registry_file: C:/ProgramData/Winlogbeat/.winlogbeat.yml
  8.  
  9. # List of event logs to monitor.
  10. #
  11. # Optionally, ignore_older may be specified to filter events that are older
  12. # then the specified amount of time. If omitted then no filtering will
  13. # occur. Valid time units are "ns", "us" (or "ยตs"), "ms", "s", "m", "h"
  14. event_logs:
  15. ignore_older: 72h
  16. - name: Security
  17. - name: System11:51 PM 4/30/2016
  18. #- name: Security
  19. #- name: System
  20.  
  21. # Diagnostic metrics that can retrieved through a web interface if a
  22. # bindaddress value (host:port) is specified. The web address will be
  23. # http://<bindaddress>/debug/vars
  24. #metrics:
  25. # bindaddress: 'localhost:8123'
  26.  
  27. ###############################################################################
  28. ############################# Libbeat Config ##################################
  29. # Base config file used by all other beats for using libbeat features
  30.  
  31. ############################# Output ##########################################
  32.  
  33. # Configure what outputs to use when sending the data collected by the beat.
  34. # Multiple outputs may be used.
  35. output:
  36.  
  37. ### Elasticsearch as output
  38. #elasticsearch:
  39. # Array of hosts to connect to.
  40. # Scheme and port can be left out and will be set to the default (http and 9200)
  41. # In case you specify and additional path, the scheme is required: http://localhost:9200/path
  42. # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200
  43. #hosts: ["localhost:9200"]
  44.  
  45. # Optional protocol and basic auth credentials.
  46. #protocol: "https"
  47. #username: "admin"
  48. #password: "s3cr3t"
  49.  
  50. # Number of workers per Elasticsearch host.
  51. #worker: 1
  52.  
  53. # Optional index name. The default is "winlogbeat" and generates
  54. # [winlogbeat-]YYYY.MM.DD keys.
  55. #index: "winlogbeat"
  56.  
  57. # A template is used to set the mapping in Elasticsearch
  58. # By default template loading is disabled and no template is loaded.
  59. # These settings can be adjusted to load your own template or overwrite existing ones
  60. #template:
  61.  
  62. # Template name. By default the template name is winlogbeat.
  63. #name: "winlogbeat"
  64.  
  65. # Path to template file
  66. #path: "winlogbeat.template.json"
  67.  
  68. # Overwrite existing template
  69. #overwrite: false
  70.  
  71. # Optional HTTP Path
  72. #path: "/elasticsearch"
  73.  
  74. # Proxy server url
  75. #proxy_url: http://proxy:3128
  76.  
  77. # The number of times a particular Elasticsearch index operation is attempted. If
  78. # the indexing operation doesn't succeed after this many retries, the events are
  79. # dropped. The default is 3.
  80. #max_retries: 3
  81.  
  82. # The maximum number of events to bulk in a single Elasticsearch bulk API index request.
  83. # The default is 50.
  84. #bulk_max_size: 50
  85.  
  86. # Configure http request timeout before failing an request to Elasticsearch.
  87. #timeout: 90
  88.  
  89. # The number of seconds to wait for new events between two bulk API index requests.
  90. # If `bulk_max_size` is reached before this interval expires, addition bulk index
  91. # requests are made.
  92. #flush_interval: 1
  93.  
  94. # Boolean that sets if the topology is kept in Elasticsearch. The default is
  95. # false. This option makes sense only for Packetbeat.
  96. #save_topology: false
  97.  
  98. # The time to live in seconds for the topology information that is stored in
  99. # Elasticsearch. The default is 15 seconds.
  100. #topology_expire: 15
  101.  
  102. # tls configuration. By default is off.
  103. #tls:
  104. # List of root certificates for HTTPS server verifications
  105. #certificate_authorities: ["/etc/pki/root/ca.pem"]
  106.  
  107. # Certificate for TLS client authentication
  108. #certificate: "/etc/pki/client/cert.pem"
  109.  
  110. # Client Certificate Key
  111. #certificate_key: "/etc/pki/client/cert.key"
  112.  
  113. # Controls whether the client verifies server certificates and host name.
  114. # If insecure is set to true, all server host names and certificates will be
  115. # accepted. In this mode TLS based connections are susceptible to
  116. # man-in-the-middle attacks. Use only for testing.
  117. #insecure: true
  118.  
  119. # Configure cipher suites to be used for TLS connections
  120. #cipher_suites: []
  121.  
  122. # Configure curve types for ECDHE based cipher suites
  123. #curve_types: []
  124.  
  125. # Configure minimum TLS version allowed for connection to logstash
  126. #min_version: 1.0
  127.  
  128. # Configure maximum TLS version allowed for connection to logstash
  129. #max_version: 1.2
  130.  
  131.  
  132. ### Logstash as output
  133. logstash:
  134. # The Logstash hosts
  135. hosts: ["localhost:5044"]
  136.  
  137. # Number of workers per Logstash host.
  138. #worker: 1
  139.  
  140. # Set gzip compression level.
  141. #compression_level: info
  142.  
  143. # Optional load balance the events between the Logstash hosts
  144. #loadbalance: true
  145.  
  146. # Optional index name. The default index name depends on the each beat.
  147. # For Packetbeat, the default is set to packetbeat, for Topbeat
  148. # top topbeat and for Filebeat to filebeat.
  149. index: winlogbeat
  150.  
  151. # Optional TLS. By default is off.
  152. #tls:
  153. # List of root certificates for HTTPS server verifications
  154. #certificate_authorities: ["/etc/pki/root/ca.pem"]
  155.  
  156. # Certificate for TLS client authentication
  157. #certificate: "/etc/pki/client/cert.pem"
  158.  
  159. # Client Certificate Key
  160. #certificate_key: "/etc/pki/client/cert.key"
  161.  
  162. # Controls whether the client verifies server certificates and host name.
  163. # If insecure is set to true, all server host names and certificates will be
  164. # accepted. In this mode TLS based connections are susceptible to
  165. # man-in-the-middle attacks. Use only for testing.
  166. #insecure: true
  167.  
  168. # Configure cipher suites to be used for TLS connections
  169. #cipher_suites: []
  170.  
  171. # Configure curve types for ECDHE based cipher suites
  172. #curve_types: []
  173.  
  174.  
  175. ### File as output
  176. #file:
  177. # Path to the directory where to save the generated files. The option is mandatory.
  178. #path: "/tmp/winlogbeat"
  179.  
  180. # Name of the generated files. The default is `winlogbeat` and it generates files: `winlogbeat`, `winlogbeat.1`, `winlogbeat.2`, etc.
  181. #filename: winlogbeat
  182.  
  183. # Maximum size in kilobytes of each file. When this size is reached, the files are
  184. # rotated. The default value is 10 MB.
  185. #rotate_every_kb: 10000
  186.  
  187. # Maximum number of files under path. When this number of files is reached, the
  188. # oldest file is deleted and the rest are shifted from last to first. The default
  189. # is 7 files.
  190. #number_of_files: 7
  191.  
  192.  
  193. ### Console output
  194. # console:
  195. # Pretty print json event
  196. #pretty: false
  197.  
  198.  
  199. ############################# Shipper #########################################
  200.  
  201. shipper:
  202. # The name of the shipper that publishes the network data. It can be used to group
  203. # all the transactions sent by a single shipper in the web interface.
  204. # If this options is not defined, the hostname is used.
  205. #name:
  206.  
  207. # The tags of the shipper are included in their own field with each
  208. # transaction published. Tags make it easy to group servers by different
  209. # logical properties.
  210. tags: ["winlogbeat"]
  211.  
  212. # Uncomment the following if you want to ignore transactions created
  213. # by the server on which the shipper is installed. This option is useful
  214. # to remove duplicates if shippers are installed on multiple servers.
  215. #ignore_outgoing: true
  216.  
  217. # How often (in seconds) shippers are publishing their IPs to the topology map.
  218. # The default is 10 seconds.
  219. #refresh_topology_freq: 10
  220.  
  221. # Expiration time (in seconds) of the IPs published by a shipper to the topology map.
  222. # All the IPs will be deleted afterwards. Note, that the value must be higher than
  223. # refresh_topology_freq. The default is 15 seconds.
  224. #topology_expire: 15
  225.  
  226. # Internal queue size for single events in processing pipeline
  227. #queue_size: 1000
  228.  
  229. # Configure local GeoIP database support.
  230. # If no paths are not configured geoip is disabled.
  231. #geoip:
  232. #paths:
  233. # - "/usr/share/GeoIP/GeoLiteCity.dat"
  234. # - "/usr/local/var/GeoIP/GeoLiteCity.dat"
  235.  
  236.  
  237. ############################# Logging #########################################
  238.  
  239. # There are three options for the log ouput: syslog, file, stderr.
  240. # Under Windos systems, the log files are per default sent to the file output,
  241. # under all other system per default to syslog.
  242. logging:
  243.  
  244. # Send all logging output to syslog. On Windows default is false, otherwise
  245. # default is true.
  246. #to_syslog: true
  247.  
  248. # Write all logging output to files. Beats automatically rotate files if rotateeverybytes
  249. # limit is reached.
  250. to_files: true
  251.  
  252. # To enable logging to files, to_files option has to be set to true
  253. files:
  254. # The directory where the log files will written to.
  255. path: C:/ProgramData/winlogbeat/Logs
  256.  
  257. # The name of the files where the logs are written to.
  258. name: winlogbeat.log
  259.  
  260. # Configure log file size limit. If limit is reached, log file will be
  261. # automatically rotated
  262. rotateeverybytes: 10485760 # = 10MB
  263.  
  264. # Number of rotated log files to keep. Oldest files will be deleted first.
  265. keepfiles: 7
  266.  
  267. # Enable debug output for selected components. To enable all selectors use ["*"]
  268. # Other available selectors are beat, publish, service
  269. # Multiple selectors can be chained.
  270. #selectors: [ ]
  271.  
  272. # Sets log level. The default log level is error.
  273. # Available log levels are: critical, error, warning, info, debug
  274. level: error
Add Comment
Please, Sign In to add comment