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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...