Deployment Architecture

Which location/path is stored the splunk data using universal forwarder?

05500
New Member

If we forward data using universal forwarder from each servers to splunk server,

Q1, Which location/path is stored the forwarded data (original event log data / not indexed data)?
Q2, Which location/path is stored the indexed data?

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

For your questions..

On the UF, data is stored in $splunk_home$/var/run/* until its forwarded to the indexer layer.

On the Indexer, this is typically stored in $splunk_home$/var/lib/splunk/. However, that is configurable and can be placed anywhere on the file system that you choose.

05500
New Member

Once the forwarded data is moved/indexed from $splunk_home$/var/run/* to $splunk_home$/var/lib/splunk/,
This move is automatically?

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

Forwarders forward data to indexers. If you're running an all in one instance, then there is no UF involved. You are ingested the data and its being written to the indexes in $splunk_home$/var/lib/splunk/*.

For UFs, they delete the queued data after it is forwarded.

0 Karma

05500
New Member

On the UF, data is stored in $splunk_home$/var/run/* until its forwarded to the indexer layer.

-> If it forwarded to the indexer layer, does data delete on $splunk_home$/var/run/* ?

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

Once a forwarder ingests and forwards the data, nothing is stored locallly on the UF in Splunk.

If you are ingesting syslog or other files, those will still be on the filesystem, but thats outside of Splunk.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...