This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
5
inputs.conf - capture host ip address
Post Flair (click to view more posts with a particular flair)
Post Body
What is an elegant way to capture the host ip address of a log file when multiple logs are in 1 directory.
My thoughts currently:
- split the logs into multiple sub directories, and staticially assign it to each source. But requires multiple [monitor://] stanza's as I'd statically assign each host to each source log. I personally don't like this option.
Appreciate the help.
Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
34,354
Link Karma
3,056
Comment Karma
31,185
Profile updated: 4 days ago
Posts updated: 1 year ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Splunk/comm...