Splunk Enterprise

Log files from Unix

JP1998
New Member

I've deployed a honeypot on my Raspberry PI with Ubuntu utilising Cowrie and I now have some log files I would like to send over to Splunk Enterprise.

I'm having some problems in successfully receiving and accessing the logs on the Splunk Enterprise web interface.

Currently my inputs.conf and outputs.conf files look like this and I'm unsure to as if I'm missing any stanzas or fields required.

inputs:conf

[monitor:///home/ubuntu/cowrie/var/lib/cowrie/tty]

disabled = 0

ouputs.conf

[tcpout]

defaultGroup=my_indexers

# new stanza

[tcpout:my_indexers]

server='my ip':9997

 

Am I missing any host fields and how do I go about looking for the logs on the Splunk Enterprise section, I am accessing the Splunk Enterprise web interface by entering 'localhost:8000.....'

I'm under the impression I might of missed a step somehow, I downloaded and extracted the Universal Forwarder then made a splunk user account, started splunk, edited the conf files... is that all that is required or do I need to edit settings on the enterprise side?

All I'm seeing when I enter 'index=main' in the search field is only 1 log file when multiple exist in the directory, is my syntax in the .conf file incorrect?

 

 

 

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @JP1998,

If you see one file in your search it proves that config are ok. Your problem maybe the identical files. If the first 256 bytes of the files are the same, Splunk thinks it already indexed that. You can try adding below in your inputs.conf;

[monitor:///home/ubuntu/cowrie/var/lib/cowrie/tty]
disabled = 0
crcSalt = <SOURCE>

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...