Getting Data In

Combining files

Jananee_iNautix
Path Finder

I have different log files .I want to combine these log files into a single file .Is this possible in splunk and if so how to do?
Can anyone give me some idea on it

Tags (1)
0 Karma

yannK
Splunk Employee
Splunk Employee

Why would you do such a thing : Is your intention to export all the events as a single file ?

If you have indexed 2 files /path/to/file1 and /path/to/file2
why not searching on source=/path/to/file1 OR source=/path/to/file2
and have all the events displayed together.

0 Karma

Jananee_iNautix
Path Finder

No my intention is to combine the files together into single file before indexing

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Index them into the same index and/or using the same sourcetype, then filter based on index and/or sourcetype and ignore the source altogether.

0 Karma

Jananee_iNautix
Path Finder

Can you suggest some documentation where i could see the process you said in detail.

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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...