- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We want to read the database logs from a linux server, and the logs are stored in specific path “</path>/log/” as example . The logs are archived at the end of every day in same directory of real time log file. The real time info writes into “vertica.log” file, so we don’t want to read logs from the file “vertica.log”
How can we reed this archived files in splunk.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create monitoring stanza like below:
[monitor:///<path>/log/vertica.log-*]
disabled = 0
crcSalt = <SOURCE>
index = <IndexName>
If you still see the vertica.log is reading, trying adding below line in above Stanza
blacklist = vertica.log
That would be like below:
[monitor:///<path>/log/vertica.log-*]
disabled = 0
crcSalt = <SOURCE>
index = <IndexName>
blacklist = vertica.log
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create monitoring stanza like below:
[monitor:///<path>/log/vertica.log-*]
disabled = 0
crcSalt = <SOURCE>
index = <IndexName>
If you still see the vertica.log is reading, trying adding below line in above Stanza
blacklist = vertica.log
That would be like below:
[monitor:///<path>/log/vertica.log-*]
disabled = 0
crcSalt = <SOURCE>
index = <IndexName>
blacklist = vertica.log
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks a lot for your kindly reply.
we tried this solution and we start receiving logs now.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@islam If the solution helps you, then an upvote would be appreciated.
