# Referrer Inconsistencies

**URL:** <https://discuss.elastic.co/t/referrer-inconsistencies/66149>\
**Category:** Logstash\
**Created:** [November 15, 2016, 6:32pm UTC](https://discuss.elastic.co/t/referrer-inconsistencies/66149 "2016-11-15T18:32:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjs6891](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@cjs6891](https://discuss.elastic.co/u/cjs6891)\
**Post date:** [November 15, 2016, 6:32pm UTC](https://discuss.elastic.co/t/referrer-inconsistencies/66149/1 "2016-11-15T18:32:04Z")

</div>

I'm using logstash to ingest nginx logs and have found inconsistencies with the referrer field. For example, a google referrer is correct while other referrers aren't

 ![](https://us1.discourse-cdn.com/elastic/original/2X/3/32e6b79ac7ec6b04f68fff92fbcea415fa48dbe6.png)

NGINX Log Format:  
log\_format main\_ext '$remote\_addr - $remote\_user [$time\_local] "$request" '  
'$status $body\_bytes\_sent "$http\_referer" '  
'"$http\_user\_agent" "$http\_x\_forwarded\_for" '  
'rt=$request\_time ua="$upstream\_addr" '  
'us="$upstream\_status" ut="$upstream\_response\_time" '  
'ul="$upstream\_response\_length" '  
'cs=$upstream\_cache\_status' ;

any help, suggestions, or direction would be appreciated

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 15, 2016, 7:34pm UTC](https://discuss.elastic.co/t/referrer-inconsistencies/66149/2 "2016-11-15T19:34:52Z")

</div>

I think you have to explain in greater detail what is wrong. What does an event currently look like? What did you expect it to look like? Et cetera.

---

<div class="post-metadata">

**Author:** ![cjs6891](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@cjs6891](https://discuss.elastic.co/u/cjs6891)\
**Post date:** [November 15, 2016, 9:55pm UTC](https://discuss.elastic.co/t/referrer-inconsistencies/66149/3 "2016-11-15T21:55:32Z")

</div>

@magnusbaeck it was a searching error on my part, thx for responding

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 13, 2016, 9:56pm UTC](https://discuss.elastic.co/t/referrer-inconsistencies/66149/4 "2016-12-13T21:56:10Z")

</div>

Closed on December 13, 2016, 9:56pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
