This is our old Q&A Site. Please post any new questions and answers at

I have a hosts file with several IP addresses mapped to strings like VCG, VS, and VSTG (which are my server names). I have many display filter macros with these same IP addresses hard-coded into the macros.

Is there a way to use the same strings from my hosts file in my display filter macros? Thus eliminating the need for the hard-coding of the IP addresses?


asked 24 Mar '16, 19:49

rbw006's gravatar image

accept rate: 0%

edited 25 Mar '16, 03:53

grahamb's gravatar image

grahamb ♦

Try contains "VCG" or contains "VS"

and see if this satisfies your needs

Regards Matthias

permanent link

answered 24 Mar '16, 22:12

mrEEde's gravatar image

accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 24 Mar '16, 19:49

question was seen: 1,123 times

last updated: 25 Mar '16, 03:53

p​o​w​e​r​e​d by O​S​Q​A