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

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...