Hi all,
I'm revisiting our firehose config, as it looks like originally we had logs going from each Fleet client into Splunk. We're trying to reconfigure so that logs go to Fleet, which then go to Splunk, but it looks like nothing is coming through. I'm not seeing any errors in the Fleet logs - this worked once upon a time, but it has been reconfigured enough where I think something got tweaked that caused it to stop working. (To clarify we're going for query results, from what I recall audit log data is not available in the free version) Here's my config:
Agent options:
config:
options:
pack_delimiter: /
distributed_plugin: tls
disable_distributed: false
logger_tls_endpoint: /api/v1/osquery/log
distributed_interval: 30
distributed_tls_max_attempts: 3
decorators:
load:
- SELECT uuid AS host_uuid FROM system_info;
- SELECT hostname AS hostname FROM system_info;
command_line_flags:
verbose: true
config_plugin: tls
disable_audit: false
logger_plugin: tls
config_refresh: 300
disable_events: false
enable_file_events: true
watchdog_memory_limit: 1024
audit_allow_process_events: true
enable_ntfs_event_publisher: true
enable_windows_events_publisher: true
enable_windows_events_subscriber: true
----------
fleet.yaml
..snip..
logging:
json: 'true'
debug: 'false'
live_query_rest_period: 90s
activity:
enable_audit_log: 'true'
audit_log_plugin: 'firehose'
osquery:
osquery_status_log_plugin: firehose
osquery_result_log_plugin: firehose
firehose:
region: <REDACT>
access_key_id: <REDACT>
secret_access_key: <REDACT>
status_stream: osquery_status
result_stream: osquery_result
audit_stream: fleet_audit