- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to execute a linux query and fetch the results of it in the Splunk search board?
Andreww
New Member
01-04-2023
11:57 AM
Hi,
Is there any way to execute a linux query and fetch the results of it in the Splunk search board?
Following this I have written a condition to send an alert based on the command output.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
01-04-2023
01:49 PM
Yes, it can be done. Use a scripted input to execute the Linux command and the results will be indexed automatically. Have a look at the Splunk Add-on for Unix and Linux (Splunk_TA_nix) at https://splunkbase.splunk.com/app/833 for examples. It collects data the way you describe. Once the data is collected and indexed then you can write an alert for it.
---
If this reply helps you, Karma would be appreciated.
If this reply helps you, Karma would be appreciated.
