All Apps and Add-ons

How to keep Firepower Estreamer logs for 1 year?

hrt2000
Observer

Hi
I have Firepower . and sends my logs with estreamer to Splunk.
my problem :
Splunk keeps logs for 70 days, and before 70 days I don't have any logs on Splunk.


How do I keep my logs for 1 year on Splunk?


I read some notes about maxTotalDataSizeMB and frozenTimePeriodInSecs , that I must change the value in indexs.conf, but I dont know where I change them (GUI or CLI)?


I have many indexes.conf file whenever I search for it.
I changed maxTotalDataSizeMB value of 500gig to 800gig in index.conf in path opt/splunk/etc/system/local
but I don't find any parameter of frozenTimePeriodInSecs in that.


Whenever I use df -h command in cli, it shows, used 498gig of 840gig disk .and this parameter change between 488 and 498 gig .

 

Can anyone help me?

 


edit indexer splunk -4.PNGfind many indexer in splunk-2.PNGsplunk-screen1.PNGcli splunk -3.PNG

0 Karma

richgalloway
SplunkTrust
SplunkTrust

By default, indexes retain data for 7 years so if your index is only keeping data for 70 days then there must be a setting for it already.  Use btool to find it.

splunk btool --debug indexes list estreamer | grep frozenTimePeriodInSecs

Replace "estreamer" with the name of your index.  The output will contain the name of the indexes.conf file for the estreamer index.  Edit that file and set the desired retention period.  Then restart Splunk.

In a distributed environment, the indexes.conf changes must be made on all indexers.  If you have an indexer cluster then indexes.conf should be in an app on the Cluster Manager and pushed to all indexers.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...