savedsearches.conf
The following are the spec and example files for configuring background agents in savedsearches.conf. Each setting is described in alert_actions.conf.
action.lynx_ai_background_agent = <boolean>
* Whether the alert starts a Lynx AI background agent when it triggers.
action.lynx_ai_background_agent.param.prompt = <string>
* See 'param.prompt' in alert_actions.conf.spec.
action.lynx_ai_background_agent.param.model = <string>
* See 'param.model' in alert_actions.conf.spec.
action.lynx_ai_background_agent.param.reasoning = <boolean>
* See 'param.reasoning' in alert_actions.conf.spec.
action.lynx_ai_background_agent.param.connector_writes = <boolean>
* See 'param.connector_writes' in alert_actions.conf.spec.
[Overnight authentication failures]
search = index=security sourcetype=linux_secure "Failed password" | stats count by user, src
dispatch.earliest_time = -24h@h
dispatch.latest_time = now
cron_schedule = 0 6 * * *
enableSched = 1
alert_type = number of events
alert_comparator = greater than
alert_threshold = 0
alert.digest_mode = 1
actions = lynx_ai_background_agent
action.lynx_ai_background_agent = 1
action.lynx_ai_background_agent.param.prompt = Summarize the failed logins from last night. Call out any user or source that stands out, and suggest next steps.