Splunk Search

Encrypted Log Files For SPLUNK Agent

ajaykumarsuri
New Member

Hi All,

Can the SPLUNK agent monitor encrypted text log files?
Can you please refer me to any documentation suggesting what sort of encryption it can deal with and how?

Regards,

Ajay Suri

Tags (1)
0 Karma
1 Solution

Ayn
Legend

No, not out of the box. But, you can pretty easily make it able to.

There are two approaches you could take: either use a scripted input (http://docs.splunk.com/Documentation/Splunk/5.0.3/AdvancedDev/ScriptedInputsIntro ) where you write your own script that takes care of extracting the encrypted data into plain text before passing it along to Splunk, or setup a regular file/directory monitor input and tell Splunk how it should extract the proper contents via the unarchive_cmd setting in props.conf (http://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf ). More information on this for a similar scenario is available at the end of this blog post: http://blogs.splunk.com/2011/07/19/the-naughty-bits-how-to-splunk-binary-logfiles/

View solution in original post

0 Karma

Ayn
Legend

No, not out of the box. But, you can pretty easily make it able to.

There are two approaches you could take: either use a scripted input (http://docs.splunk.com/Documentation/Splunk/5.0.3/AdvancedDev/ScriptedInputsIntro ) where you write your own script that takes care of extracting the encrypted data into plain text before passing it along to Splunk, or setup a regular file/directory monitor input and tell Splunk how it should extract the proper contents via the unarchive_cmd setting in props.conf (http://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf ). More information on this for a similar scenario is available at the end of this blog post: http://blogs.splunk.com/2011/07/19/the-naughty-bits-how-to-splunk-binary-logfiles/

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...