Getting Data In

How to forwarded logs from Splunk to MCAS

rayar
Contributor

Hi

What will be the best way to implement the below request ?

We need to configure the some logs to be forwarded from Splunk to MCAS Server (Server in the same network like Splunk server )
Logs should be forwarded in Syslog or FTP and based on a specific query

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

See the docs at https://docs.splunk.com/Documentation/Splunk/8.0.3/Forwarding/Forwarddatatothird-partysystemsd . While some filtering is possible, you cannot forward the results of a query.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

See the docs at https://docs.splunk.com/Documentation/Splunk/8.0.3/Forwarding/Forwarddatatothird-partysystemsd . While some filtering is possible, you cannot forward the results of a query.

---
If this reply helps you, Karma would be appreciated.
0 Karma

rayar
Contributor

Hi
I am getting "Hi! This page does not exist, or has been removed from the Documentation."
so is there another way to send search results to external system ?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Splunk didn't like the period at the end of the sentence. Try the revised answer.

---
If this reply helps you, Karma would be appreciated.
0 Karma

rayar
Contributor

thanks , I was able to open the doc

so there is no way to sent the results of such query to external system ?

index=websense AND act="Permitted"
| fields _time, suser, src, dst, act, request, in, out
| convert timeformat="%Y-%m-%d %H:%M:%S" ctime(_time) as Time
| table Time, suser, src, dst, act, request, in, out

0 Karma

richgalloway
SplunkTrust
SplunkTrust

No straightforward way. You could schedule a report that saves query results in a CSV file and use a cron job to ship that file to another system.

---
If this reply helps you, Karma would be appreciated.
0 Karma

rayar
Contributor

and if I want to send in CEF format to the MCAS server
where I define the target server ?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Your cron job could invoke a Python script that does the conversion. The target server could be in the script or an external configurable.

---
If this reply helps you, Karma would be appreciated.
0 Karma

rayar
Contributor

Thanks a lot

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...