Getting Data In

How to forward events from Splunk Indexer to CyberArk PTA?

potnuru
Path Finder

Q: Need to forward the data from all the indexes (Windows, Linux, etc...) to CyberArk PTA via Syslog or any other from the Splunk Indexer as we don't have HF in our Environment.

I have followed the documentation given by CyberArk on PTA Splunk Integration, but it is not working (logs are not forwarding to PTA server) for me. 

Link: https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/11.2/en/Content/PTA/Configuring-Splunk-Forward-...

Configuration on Indexer:

In the SPLUNK_HOME/etc/system/local 

-->outputs.conf

[syslog:pta_syslog]
server = <PTA Server IP>:<port>
indexAndForward=true
type=tcp
timestampformat = %s

syslogSourceType=sourcetype:: linux:messages

---->props.conf

[source::WinEventLog:Security]
TRANSFORMS-pta = pta_syslog_filter

----->transforms.conf

[pta_syslog_filter]
REGEX = .*EventCode=4624|4720|4723|4724|4732.*
DEST_KEY = _SYSLOG_ROUTING
FORMAT = pta_syslog

 

Labels (4)
0 Karma

richgalloway
SplunkTrust
SplunkTrust
Since we don't have the documentation given by Cyberark, please elaborate on the steps you took to forward data from Splunk Cyberark. What part is failing? What error messages do you get?
---
If this reply helps you, Karma would be appreciated.
0 Karma

potnuru
Path Finder

Hi @richgalloway  I have updated the question with complete details, could you check and help me in finding the resolution.

Basically PTA server is listening (Syslog) on some port let's say 514.

We need to forward all the logs in/coming to Splunk Indexer to PTA Syslog server on some port (514) .

0 Karma

richgalloway
SplunkTrust
SplunkTrust
I suspect the REGEX line in transforms.conf is to blame. The leading and trailing ".*" are not needed. Have you verified the remainder matches what you want to forward? It won't match Linux logs.
---
If this reply helps you, Karma would be appreciated.
0 Karma

potnuru
Path Finder

Hi @richgalloway The Regex is working fine and it is applied to only Windows Events Source Type but not other Source Types.

0 Karma

suresh301086
New Member

Windows logs are properly parsing where Linu/Unix logs are not parsing to PTA from Splunk

0 Karma

potnuru
Path Finder

@suresh301086 By default PTA won't support Linux Events. We need to develop custom plugin on PTA to understand Linux Events.

0 Karma

suresh301086
New Member

Is it working for you ?

0 Karma

potnuru
Path Finder

@suresh301086 For me PTA functionality is working for Windows Events and not for Linux Events. Currently we are working on developing custom plugin for Linux Events.

Could you please share your forwarding configuration that you defined on Splunk Indexer/HF? 

0 Karma

Atavius
New Member

@potnuru  Could you please explain how did you got those Windows Events to work?

I am having exactly the same problem as you described in your first post - everything is configured per PTA documentation, but Splunk is unable to send messages to PTA.

0 Karma

potnuru
Path Finder

Hi @Atavius 

I have followed the CyberArk documentation and it worked for me for Windows Events. Please check the below configuration for your reference.

#outputs.conf

[syslog]

defaultGroup = noforward

 

[syslog:pta_syslog]

server = PTA-IP:514

type = tcp

timestampformat = %s

syslogSourceType = sourcetype::linux:messages

 

#props.conf

[source::WinEventLog:Security]

TRANSFORMS-win = pta_syslog_win

 

#transforms.conf

[pta_syslog_win]

REGEX = .*<your filter>*

DEST_KEY = _SYSLOG_ROUTING

FORMAT = pta_syslog

0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...