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
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...