Getting Data In

If I have a thousand hosts logging under CST timezone, how do I override this in props.conf for a couple boxes to log in Eastern time?

abhib89
Explorer

I have hosts (*.xyz.com) set to log under CST. Now i have couple of boxes out of thousand (ABC.xyz.com and ABC1.xyz.com) to log under Eastern time zone. How can i override this in Props ?

Existing Config -

[host::*.xyz.com]
TZ = US/Central

I know I can put a stanza with source and that will take priority over [host] , but I unfortunately cannot do that because that will contain some common files which all hosts have.

There is some priority parameter as well in documentation. Has some one used that, and can that be used here. I don't want other hosts to start logging in Eastern time too.

New Config ?

[host::*.xyz.com]
TZ = US/Central
priority=5

[host::ABC*.xyz.com]
TZ = US/Eastern
priority=10

Any help will be appreciated.

0 Karma

jkat54
SplunkTrust
SplunkTrust

You're very close. Can you give this section of the documents a read and let me know if it answers your question?

http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/HowSplunkextractstimestamps

Not just this page im linking to, but if you look on the left side there are several more sections covered under the "Configure Timestamps" section. Others like this gem in the rough:

http://docs.splunk.com/Documentation/Splunk/6.2.0/Data/Applytimezoneoffsetstotimestamps

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...