Can anyone explain the fields in web server log data?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Can anyone tell me the fields' name in following web server log data?



85.214.57.164 - - [27/Mar/2008:22:46:36 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fwww.antwerpsupporter.be%2Fsubscribe_2_me_to-delete%2Fsm%2Fexported_files1%2Fmosupoz%2Fadusa%2Fojafujo%2Faweji%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"
85.214.57.164 - - [27/Mar/2008:22:46:36 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fwww.math.science.cmu.ac.th%2Flms%2Flib%2Fadodb%2Fpear%2Fnoxifi%2Fezogan%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"
85.214.57.164 - - [27/Mar/2008:22:46:37 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fsans-packing.ru%2Fimg%2Fjipeqap%2Fehudute%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"


Explanation -



I am aware of all other fields i.e.




client IP,
Date,
time,
time zone,
method,
URL requested,
protocol,
HTTP status,
bytes sent


But I am not getting last field about browser which is given in bracket.



Can anyone explain this?



I want specially the fields in brackets, i.e.



Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)


Any help would be appreciated.










share|improve this question

























  • Better to see the documentation of the system where this log is generated.

    – Shashidhara
    Nov 23 '18 at 4:11













  • I have seen it. I want specially bracket fields. For e.g., Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)

    – Shree
    Nov 23 '18 at 4:18











  • Usually it is called as user agent.

    – Shashidhara
    Nov 23 '18 at 4:24













  • I know it is user agent. But I want the information in bracket which is separated by semi colon.

    – Shree
    Nov 23 '18 at 4:30











  • I think this is what you are expecting. developers.whatismybrowser.com/useragents/explore/software_name/…

    – Shashidhara
    Nov 23 '18 at 4:32




















0















Can anyone tell me the fields' name in following web server log data?



85.214.57.164 - - [27/Mar/2008:22:46:36 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fwww.antwerpsupporter.be%2Fsubscribe_2_me_to-delete%2Fsm%2Fexported_files1%2Fmosupoz%2Fadusa%2Fojafujo%2Faweji%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"
85.214.57.164 - - [27/Mar/2008:22:46:36 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fwww.math.science.cmu.ac.th%2Flms%2Flib%2Fadodb%2Fpear%2Fnoxifi%2Fezogan%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"
85.214.57.164 - - [27/Mar/2008:22:46:37 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fsans-packing.ru%2Fimg%2Fjipeqap%2Fehudute%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"


Explanation -



I am aware of all other fields i.e.




client IP,
Date,
time,
time zone,
method,
URL requested,
protocol,
HTTP status,
bytes sent


But I am not getting last field about browser which is given in bracket.



Can anyone explain this?



I want specially the fields in brackets, i.e.



Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)


Any help would be appreciated.










share|improve this question

























  • Better to see the documentation of the system where this log is generated.

    – Shashidhara
    Nov 23 '18 at 4:11













  • I have seen it. I want specially bracket fields. For e.g., Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)

    – Shree
    Nov 23 '18 at 4:18











  • Usually it is called as user agent.

    – Shashidhara
    Nov 23 '18 at 4:24













  • I know it is user agent. But I want the information in bracket which is separated by semi colon.

    – Shree
    Nov 23 '18 at 4:30











  • I think this is what you are expecting. developers.whatismybrowser.com/useragents/explore/software_name/…

    – Shashidhara
    Nov 23 '18 at 4:32
















0












0








0








Can anyone tell me the fields' name in following web server log data?



85.214.57.164 - - [27/Mar/2008:22:46:36 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fwww.antwerpsupporter.be%2Fsubscribe_2_me_to-delete%2Fsm%2Fexported_files1%2Fmosupoz%2Fadusa%2Fojafujo%2Faweji%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"
85.214.57.164 - - [27/Mar/2008:22:46:36 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fwww.math.science.cmu.ac.th%2Flms%2Flib%2Fadodb%2Fpear%2Fnoxifi%2Fezogan%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"
85.214.57.164 - - [27/Mar/2008:22:46:37 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fsans-packing.ru%2Fimg%2Fjipeqap%2Fehudute%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"


Explanation -



I am aware of all other fields i.e.




client IP,
Date,
time,
time zone,
method,
URL requested,
protocol,
HTTP status,
bytes sent


But I am not getting last field about browser which is given in bracket.



Can anyone explain this?



I want specially the fields in brackets, i.e.



Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)


Any help would be appreciated.










share|improve this question
















Can anyone tell me the fields' name in following web server log data?



85.214.57.164 - - [27/Mar/2008:22:46:36 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fwww.antwerpsupporter.be%2Fsubscribe_2_me_to-delete%2Fsm%2Fexported_files1%2Fmosupoz%2Fadusa%2Fojafujo%2Faweji%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"
85.214.57.164 - - [27/Mar/2008:22:46:36 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fwww.math.science.cmu.ac.th%2Flms%2Flib%2Fadodb%2Fpear%2Fnoxifi%2Fezogan%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"
85.214.57.164 - - [27/Mar/2008:22:46:37 -0400] "GET /LongDistance/ServicesAgreement.html?logo=http%3A%2F%2Fsans-packing.ru%2Fimg%2Fjipeqap%2Fehudute%2F HTTP/1.0" 404 374 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)"


Explanation -



I am aware of all other fields i.e.




client IP,
Date,
time,
time zone,
method,
URL requested,
protocol,
HTTP status,
bytes sent


But I am not getting last field about browser which is given in bracket.



Can anyone explain this?



I want specially the fields in brackets, i.e.



Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)


Any help would be appreciated.







field weblog






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 2 at 11:37







Shree

















asked Nov 23 '18 at 4:07









ShreeShree

74222




74222













  • Better to see the documentation of the system where this log is generated.

    – Shashidhara
    Nov 23 '18 at 4:11













  • I have seen it. I want specially bracket fields. For e.g., Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)

    – Shree
    Nov 23 '18 at 4:18











  • Usually it is called as user agent.

    – Shashidhara
    Nov 23 '18 at 4:24













  • I know it is user agent. But I want the information in bracket which is separated by semi colon.

    – Shree
    Nov 23 '18 at 4:30











  • I think this is what you are expecting. developers.whatismybrowser.com/useragents/explore/software_name/…

    – Shashidhara
    Nov 23 '18 at 4:32





















  • Better to see the documentation of the system where this log is generated.

    – Shashidhara
    Nov 23 '18 at 4:11













  • I have seen it. I want specially bracket fields. For e.g., Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)

    – Shree
    Nov 23 '18 at 4:18











  • Usually it is called as user agent.

    – Shashidhara
    Nov 23 '18 at 4:24













  • I know it is user agent. But I want the information in bracket which is separated by semi colon.

    – Shree
    Nov 23 '18 at 4:30











  • I think this is what you are expecting. developers.whatismybrowser.com/useragents/explore/software_name/…

    – Shashidhara
    Nov 23 '18 at 4:32



















Better to see the documentation of the system where this log is generated.

– Shashidhara
Nov 23 '18 at 4:11







Better to see the documentation of the system where this log is generated.

– Shashidhara
Nov 23 '18 at 4:11















I have seen it. I want specially bracket fields. For e.g., Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)

– Shree
Nov 23 '18 at 4:18





I have seen it. I want specially bracket fields. For e.g., Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)

– Shree
Nov 23 '18 at 4:18













Usually it is called as user agent.

– Shashidhara
Nov 23 '18 at 4:24







Usually it is called as user agent.

– Shashidhara
Nov 23 '18 at 4:24















I know it is user agent. But I want the information in bracket which is separated by semi colon.

– Shree
Nov 23 '18 at 4:30





I know it is user agent. But I want the information in bracket which is separated by semi colon.

– Shree
Nov 23 '18 at 4:30













I think this is what you are expecting. developers.whatismybrowser.com/useragents/explore/software_name/…

– Shashidhara
Nov 23 '18 at 4:32







I think this is what you are expecting. developers.whatismybrowser.com/useragents/explore/software_name/…

– Shashidhara
Nov 23 '18 at 4:32














1 Answer
1






active

oldest

votes


















1














The last field you're interested in looks very much like the user agent (UA) information that web browsers and other HTTP clients send in the User-Agent HTTP request header (see e.g. MDN, Wikipedia, or the HTTP 1.1 specification).




Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)




You asked about the portion of the user agent string inside parentheses. That is basically just a comment about the platform/system that the user agent is running on.



In general, I don't think that this string is required to be in any particular format (even though it might look similar for most common user agents) so be careful when attempting to parse this field.



From the HTTP 1.1 specification, RFC 7231 section 5.5.3:




User-Agent = product *( RWS ( product / comment ) )


The User-Agent field-value consists of one or more product identifiers, each followed by zero or more comments (Section 3.2 of [RFC7230]), which together identify the user agent software and its significant subproducts. By convention, the product identifiers are listed in decreasing order of their significance for identifying the user agent software. Each product identifier consists of a name and optional version.




Regarding comments, see RFC 7230 section 3.2.6:




Comments can be included in some HTTP header fields by surrounding the comment text with parentheses. Comments are only allowed in fields containing "comment" as part of their field value definition.




More specifically, UserAgentString.com keeps a detailed list of user agent strings and what they mean, see e.g. here for ones similar to the one you're interested in. Here's a short example:





  • Mozilla/4.0 (product & product version outside parentheses): "Claims to be a Mozilla based user agent, which is only true for Gecko browsers like Firefox and Netscape. For all other user agents it means 'Mozilla-compatible'."



    (In case you're asking yourself why browsers self-identify as Mozilla even when they're something else, see e.g. this other SO question.)




  • compatible: as above


  • MSIE 7.0: the actual user agent (Internet Explorer 7)


  • Windows NT 5.1: operating system version (Windows XP)


  • .NET CLR 2.0.50727: .NET Framework 2 is installed on the client OS


  • .NET CLR 1.1.4322: .NET Framework 1.1 is installed on the client OS






share|improve this answer


























  • Re: "the bracket fields are running on client's computer??" The user agent string is generated by a client, and transmitted to your web server as part (header) of a client's HTTP request. And the user agent string tells you something about that client.

    – stakx
    Nov 23 '18 at 13:03













  • Re: "and how request is generated from two OS version i.e. 2.0 and 1.1" The .NET Framework (1.1, 2.0, etc.) is not an operating system. .NET Framework is a separate Windows subsystem, of which you can install several major versions (1.x, 2.x, 4.x) side-by-side. If you need more info specifically about what the .NET Framework is, I suggest you ask it as a separate question.

    – stakx
    Nov 23 '18 at 13:06











  • (sorry, by mistake called .NET as OS. I know about .NET.

    – Shree
    Nov 23 '18 at 13:09













  • I mean, particular request may be generated from one version of .NET. So asked. Here in bracket two .NET versions mentioned. So which shall we consider? (Yes, I might have asked the different question but as this subject talk is going on. so asking)

    – Shree
    Nov 23 '18 at 13:09













  • Whether you consider one, both, or none of these .NET CLR versions obviously depends on what you're trying to find out with your log analysis. I suggest you ask a new question about that, it's really quite a different matter from the question you originally asked. Answering a bunch of follow-up questions in the small print (comment section) isn't good practice here on SO, as it makes potentially valuable information harder to find for everyone else.

    – stakx
    Nov 24 '18 at 7:50














Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53440540%2fcan-anyone-explain-the-fields-in-web-server-log-data%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














The last field you're interested in looks very much like the user agent (UA) information that web browsers and other HTTP clients send in the User-Agent HTTP request header (see e.g. MDN, Wikipedia, or the HTTP 1.1 specification).




Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)




You asked about the portion of the user agent string inside parentheses. That is basically just a comment about the platform/system that the user agent is running on.



In general, I don't think that this string is required to be in any particular format (even though it might look similar for most common user agents) so be careful when attempting to parse this field.



From the HTTP 1.1 specification, RFC 7231 section 5.5.3:




User-Agent = product *( RWS ( product / comment ) )


The User-Agent field-value consists of one or more product identifiers, each followed by zero or more comments (Section 3.2 of [RFC7230]), which together identify the user agent software and its significant subproducts. By convention, the product identifiers are listed in decreasing order of their significance for identifying the user agent software. Each product identifier consists of a name and optional version.




Regarding comments, see RFC 7230 section 3.2.6:




Comments can be included in some HTTP header fields by surrounding the comment text with parentheses. Comments are only allowed in fields containing "comment" as part of their field value definition.




More specifically, UserAgentString.com keeps a detailed list of user agent strings and what they mean, see e.g. here for ones similar to the one you're interested in. Here's a short example:





  • Mozilla/4.0 (product & product version outside parentheses): "Claims to be a Mozilla based user agent, which is only true for Gecko browsers like Firefox and Netscape. For all other user agents it means 'Mozilla-compatible'."



    (In case you're asking yourself why browsers self-identify as Mozilla even when they're something else, see e.g. this other SO question.)




  • compatible: as above


  • MSIE 7.0: the actual user agent (Internet Explorer 7)


  • Windows NT 5.1: operating system version (Windows XP)


  • .NET CLR 2.0.50727: .NET Framework 2 is installed on the client OS


  • .NET CLR 1.1.4322: .NET Framework 1.1 is installed on the client OS






share|improve this answer


























  • Re: "the bracket fields are running on client's computer??" The user agent string is generated by a client, and transmitted to your web server as part (header) of a client's HTTP request. And the user agent string tells you something about that client.

    – stakx
    Nov 23 '18 at 13:03













  • Re: "and how request is generated from two OS version i.e. 2.0 and 1.1" The .NET Framework (1.1, 2.0, etc.) is not an operating system. .NET Framework is a separate Windows subsystem, of which you can install several major versions (1.x, 2.x, 4.x) side-by-side. If you need more info specifically about what the .NET Framework is, I suggest you ask it as a separate question.

    – stakx
    Nov 23 '18 at 13:06











  • (sorry, by mistake called .NET as OS. I know about .NET.

    – Shree
    Nov 23 '18 at 13:09













  • I mean, particular request may be generated from one version of .NET. So asked. Here in bracket two .NET versions mentioned. So which shall we consider? (Yes, I might have asked the different question but as this subject talk is going on. so asking)

    – Shree
    Nov 23 '18 at 13:09













  • Whether you consider one, both, or none of these .NET CLR versions obviously depends on what you're trying to find out with your log analysis. I suggest you ask a new question about that, it's really quite a different matter from the question you originally asked. Answering a bunch of follow-up questions in the small print (comment section) isn't good practice here on SO, as it makes potentially valuable information harder to find for everyone else.

    – stakx
    Nov 24 '18 at 7:50


















1














The last field you're interested in looks very much like the user agent (UA) information that web browsers and other HTTP clients send in the User-Agent HTTP request header (see e.g. MDN, Wikipedia, or the HTTP 1.1 specification).




Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)




You asked about the portion of the user agent string inside parentheses. That is basically just a comment about the platform/system that the user agent is running on.



In general, I don't think that this string is required to be in any particular format (even though it might look similar for most common user agents) so be careful when attempting to parse this field.



From the HTTP 1.1 specification, RFC 7231 section 5.5.3:




User-Agent = product *( RWS ( product / comment ) )


The User-Agent field-value consists of one or more product identifiers, each followed by zero or more comments (Section 3.2 of [RFC7230]), which together identify the user agent software and its significant subproducts. By convention, the product identifiers are listed in decreasing order of their significance for identifying the user agent software. Each product identifier consists of a name and optional version.




Regarding comments, see RFC 7230 section 3.2.6:




Comments can be included in some HTTP header fields by surrounding the comment text with parentheses. Comments are only allowed in fields containing "comment" as part of their field value definition.




More specifically, UserAgentString.com keeps a detailed list of user agent strings and what they mean, see e.g. here for ones similar to the one you're interested in. Here's a short example:





  • Mozilla/4.0 (product & product version outside parentheses): "Claims to be a Mozilla based user agent, which is only true for Gecko browsers like Firefox and Netscape. For all other user agents it means 'Mozilla-compatible'."



    (In case you're asking yourself why browsers self-identify as Mozilla even when they're something else, see e.g. this other SO question.)




  • compatible: as above


  • MSIE 7.0: the actual user agent (Internet Explorer 7)


  • Windows NT 5.1: operating system version (Windows XP)


  • .NET CLR 2.0.50727: .NET Framework 2 is installed on the client OS


  • .NET CLR 1.1.4322: .NET Framework 1.1 is installed on the client OS






share|improve this answer


























  • Re: "the bracket fields are running on client's computer??" The user agent string is generated by a client, and transmitted to your web server as part (header) of a client's HTTP request. And the user agent string tells you something about that client.

    – stakx
    Nov 23 '18 at 13:03













  • Re: "and how request is generated from two OS version i.e. 2.0 and 1.1" The .NET Framework (1.1, 2.0, etc.) is not an operating system. .NET Framework is a separate Windows subsystem, of which you can install several major versions (1.x, 2.x, 4.x) side-by-side. If you need more info specifically about what the .NET Framework is, I suggest you ask it as a separate question.

    – stakx
    Nov 23 '18 at 13:06











  • (sorry, by mistake called .NET as OS. I know about .NET.

    – Shree
    Nov 23 '18 at 13:09













  • I mean, particular request may be generated from one version of .NET. So asked. Here in bracket two .NET versions mentioned. So which shall we consider? (Yes, I might have asked the different question but as this subject talk is going on. so asking)

    – Shree
    Nov 23 '18 at 13:09













  • Whether you consider one, both, or none of these .NET CLR versions obviously depends on what you're trying to find out with your log analysis. I suggest you ask a new question about that, it's really quite a different matter from the question you originally asked. Answering a bunch of follow-up questions in the small print (comment section) isn't good practice here on SO, as it makes potentially valuable information harder to find for everyone else.

    – stakx
    Nov 24 '18 at 7:50
















1












1








1







The last field you're interested in looks very much like the user agent (UA) information that web browsers and other HTTP clients send in the User-Agent HTTP request header (see e.g. MDN, Wikipedia, or the HTTP 1.1 specification).




Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)




You asked about the portion of the user agent string inside parentheses. That is basically just a comment about the platform/system that the user agent is running on.



In general, I don't think that this string is required to be in any particular format (even though it might look similar for most common user agents) so be careful when attempting to parse this field.



From the HTTP 1.1 specification, RFC 7231 section 5.5.3:




User-Agent = product *( RWS ( product / comment ) )


The User-Agent field-value consists of one or more product identifiers, each followed by zero or more comments (Section 3.2 of [RFC7230]), which together identify the user agent software and its significant subproducts. By convention, the product identifiers are listed in decreasing order of their significance for identifying the user agent software. Each product identifier consists of a name and optional version.




Regarding comments, see RFC 7230 section 3.2.6:




Comments can be included in some HTTP header fields by surrounding the comment text with parentheses. Comments are only allowed in fields containing "comment" as part of their field value definition.




More specifically, UserAgentString.com keeps a detailed list of user agent strings and what they mean, see e.g. here for ones similar to the one you're interested in. Here's a short example:





  • Mozilla/4.0 (product & product version outside parentheses): "Claims to be a Mozilla based user agent, which is only true for Gecko browsers like Firefox and Netscape. For all other user agents it means 'Mozilla-compatible'."



    (In case you're asking yourself why browsers self-identify as Mozilla even when they're something else, see e.g. this other SO question.)




  • compatible: as above


  • MSIE 7.0: the actual user agent (Internet Explorer 7)


  • Windows NT 5.1: operating system version (Windows XP)


  • .NET CLR 2.0.50727: .NET Framework 2 is installed on the client OS


  • .NET CLR 1.1.4322: .NET Framework 1.1 is installed on the client OS






share|improve this answer















The last field you're interested in looks very much like the user agent (UA) information that web browsers and other HTTP clients send in the User-Agent HTTP request header (see e.g. MDN, Wikipedia, or the HTTP 1.1 specification).




Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)




You asked about the portion of the user agent string inside parentheses. That is basically just a comment about the platform/system that the user agent is running on.



In general, I don't think that this string is required to be in any particular format (even though it might look similar for most common user agents) so be careful when attempting to parse this field.



From the HTTP 1.1 specification, RFC 7231 section 5.5.3:




User-Agent = product *( RWS ( product / comment ) )


The User-Agent field-value consists of one or more product identifiers, each followed by zero or more comments (Section 3.2 of [RFC7230]), which together identify the user agent software and its significant subproducts. By convention, the product identifiers are listed in decreasing order of their significance for identifying the user agent software. Each product identifier consists of a name and optional version.




Regarding comments, see RFC 7230 section 3.2.6:




Comments can be included in some HTTP header fields by surrounding the comment text with parentheses. Comments are only allowed in fields containing "comment" as part of their field value definition.




More specifically, UserAgentString.com keeps a detailed list of user agent strings and what they mean, see e.g. here for ones similar to the one you're interested in. Here's a short example:





  • Mozilla/4.0 (product & product version outside parentheses): "Claims to be a Mozilla based user agent, which is only true for Gecko browsers like Firefox and Netscape. For all other user agents it means 'Mozilla-compatible'."



    (In case you're asking yourself why browsers self-identify as Mozilla even when they're something else, see e.g. this other SO question.)




  • compatible: as above


  • MSIE 7.0: the actual user agent (Internet Explorer 7)


  • Windows NT 5.1: operating system version (Windows XP)


  • .NET CLR 2.0.50727: .NET Framework 2 is installed on the client OS


  • .NET CLR 1.1.4322: .NET Framework 1.1 is installed on the client OS







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 23 '18 at 5:02

























answered Nov 23 '18 at 4:29









stakxstakx

64.6k16139225




64.6k16139225













  • Re: "the bracket fields are running on client's computer??" The user agent string is generated by a client, and transmitted to your web server as part (header) of a client's HTTP request. And the user agent string tells you something about that client.

    – stakx
    Nov 23 '18 at 13:03













  • Re: "and how request is generated from two OS version i.e. 2.0 and 1.1" The .NET Framework (1.1, 2.0, etc.) is not an operating system. .NET Framework is a separate Windows subsystem, of which you can install several major versions (1.x, 2.x, 4.x) side-by-side. If you need more info specifically about what the .NET Framework is, I suggest you ask it as a separate question.

    – stakx
    Nov 23 '18 at 13:06











  • (sorry, by mistake called .NET as OS. I know about .NET.

    – Shree
    Nov 23 '18 at 13:09













  • I mean, particular request may be generated from one version of .NET. So asked. Here in bracket two .NET versions mentioned. So which shall we consider? (Yes, I might have asked the different question but as this subject talk is going on. so asking)

    – Shree
    Nov 23 '18 at 13:09













  • Whether you consider one, both, or none of these .NET CLR versions obviously depends on what you're trying to find out with your log analysis. I suggest you ask a new question about that, it's really quite a different matter from the question you originally asked. Answering a bunch of follow-up questions in the small print (comment section) isn't good practice here on SO, as it makes potentially valuable information harder to find for everyone else.

    – stakx
    Nov 24 '18 at 7:50





















  • Re: "the bracket fields are running on client's computer??" The user agent string is generated by a client, and transmitted to your web server as part (header) of a client's HTTP request. And the user agent string tells you something about that client.

    – stakx
    Nov 23 '18 at 13:03













  • Re: "and how request is generated from two OS version i.e. 2.0 and 1.1" The .NET Framework (1.1, 2.0, etc.) is not an operating system. .NET Framework is a separate Windows subsystem, of which you can install several major versions (1.x, 2.x, 4.x) side-by-side. If you need more info specifically about what the .NET Framework is, I suggest you ask it as a separate question.

    – stakx
    Nov 23 '18 at 13:06











  • (sorry, by mistake called .NET as OS. I know about .NET.

    – Shree
    Nov 23 '18 at 13:09













  • I mean, particular request may be generated from one version of .NET. So asked. Here in bracket two .NET versions mentioned. So which shall we consider? (Yes, I might have asked the different question but as this subject talk is going on. so asking)

    – Shree
    Nov 23 '18 at 13:09













  • Whether you consider one, both, or none of these .NET CLR versions obviously depends on what you're trying to find out with your log analysis. I suggest you ask a new question about that, it's really quite a different matter from the question you originally asked. Answering a bunch of follow-up questions in the small print (comment section) isn't good practice here on SO, as it makes potentially valuable information harder to find for everyone else.

    – stakx
    Nov 24 '18 at 7:50



















Re: "the bracket fields are running on client's computer??" The user agent string is generated by a client, and transmitted to your web server as part (header) of a client's HTTP request. And the user agent string tells you something about that client.

– stakx
Nov 23 '18 at 13:03







Re: "the bracket fields are running on client's computer??" The user agent string is generated by a client, and transmitted to your web server as part (header) of a client's HTTP request. And the user agent string tells you something about that client.

– stakx
Nov 23 '18 at 13:03















Re: "and how request is generated from two OS version i.e. 2.0 and 1.1" The .NET Framework (1.1, 2.0, etc.) is not an operating system. .NET Framework is a separate Windows subsystem, of which you can install several major versions (1.x, 2.x, 4.x) side-by-side. If you need more info specifically about what the .NET Framework is, I suggest you ask it as a separate question.

– stakx
Nov 23 '18 at 13:06





Re: "and how request is generated from two OS version i.e. 2.0 and 1.1" The .NET Framework (1.1, 2.0, etc.) is not an operating system. .NET Framework is a separate Windows subsystem, of which you can install several major versions (1.x, 2.x, 4.x) side-by-side. If you need more info specifically about what the .NET Framework is, I suggest you ask it as a separate question.

– stakx
Nov 23 '18 at 13:06













(sorry, by mistake called .NET as OS. I know about .NET.

– Shree
Nov 23 '18 at 13:09







(sorry, by mistake called .NET as OS. I know about .NET.

– Shree
Nov 23 '18 at 13:09















I mean, particular request may be generated from one version of .NET. So asked. Here in bracket two .NET versions mentioned. So which shall we consider? (Yes, I might have asked the different question but as this subject talk is going on. so asking)

– Shree
Nov 23 '18 at 13:09







I mean, particular request may be generated from one version of .NET. So asked. Here in bracket two .NET versions mentioned. So which shall we consider? (Yes, I might have asked the different question but as this subject talk is going on. so asking)

– Shree
Nov 23 '18 at 13:09















Whether you consider one, both, or none of these .NET CLR versions obviously depends on what you're trying to find out with your log analysis. I suggest you ask a new question about that, it's really quite a different matter from the question you originally asked. Answering a bunch of follow-up questions in the small print (comment section) isn't good practice here on SO, as it makes potentially valuable information harder to find for everyone else.

– stakx
Nov 24 '18 at 7:50







Whether you consider one, both, or none of these .NET CLR versions obviously depends on what you're trying to find out with your log analysis. I suggest you ask a new question about that, it's really quite a different matter from the question you originally asked. Answering a bunch of follow-up questions in the small print (comment section) isn't good practice here on SO, as it makes potentially valuable information harder to find for everyone else.

– stakx
Nov 24 '18 at 7:50






















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53440540%2fcan-anyone-explain-the-fields-in-web-server-log-data%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?